jstx

0.1.2 • Public • Published

jstx

Compile templates to a JST file.

Settings

{
    evaluate    : /<%([\s\S]+?)%>/g,
    interpolate : /<%=([\s\S]+?)%>/g,
    escape      : /<%-([\s\S]+?)%>/g,
    include     : /<%@([\s\S]+?)%>/g,
    variable    : 'obj',
    escaper     : '_.escape'
}

License

Copyright (c) 2015 Yuanyan Cao. Licensed under the MIT license.

Readme

Keywords

none

Package Sidebar

Install

npm i jstx

Weekly Downloads

1

Version

0.1.2

License

ISC

Last publish

Collaborators

  • yuanyan