handlebars-template-parser
v1.0.0
Published
get paths and others from handlebars-template.
Downloads
9
Readme
handlebars-template-parser
Usage
const Handlebars = require('Handlebars');
const parser = require('handlebars-template-parser');
const templateSpec = Handlebars.precompile(templateContent);
const paths = parser.getPaths(templateSpec);
console.log(paths);