derby-parsing

0.8.0 • Public • Published

derby-parsing

This module contains the HTML-based template parsing for DerbyJS. Given a template source string, it produces parsed Templates and Expressions as defined in derbyjs/derby-templates.

Installation

npm install derby-parsing

Example usage

var derbyParsing = require('derby-parsing');
 
var templateSource = '<title>{{_page.title}}</title>';
var template = derbyParsing.createTemplate(templateSource);

Tests

npm test

Readme

Keywords

Package Sidebar

Install

npm i derby-parsing

Weekly Downloads

8

Version

0.8.0

License

MIT

Unpacked Size

111 kB

Total Files

12

Last publish

Collaborators

  • craigbeck
  • nateps
  • josephg
  • ishbu
  • pypmannetjies
  • ericyhwang