This module contains the HTML-based template parsing for DerbyJS. Given a template source string, it produces parsed Template
s and Expression
s as defined in derbyjs/derby-templates.
npm install derby-parsing
var derbyParsing = require('derby-parsing');
var templateSource = '<title>{{_page.title}}</title>';
var template = derbyParsing.createTemplate(templateSource);
npm test