How to use the diffhtml/dist/cjs.Internals.parse function in diffhtml

To help you get started, we’ve selected a few diffhtml examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github mAAdhaTTah / brookjs / packages / brookjs-silt / int / run.js View on Github external
const handlebars = context => {
                        const func = hbs.compile(contents);
                        const text = func(context);
                        return Internals.parse(text);
                    };
                    const silt = generate(parse(contents));