@nathanfaucett/template

0.0.2 • Public • Published

Template

template creator for the browser and node.js

var template = require("@nathanfaucett/template");


var templateFn = template("<p><%= text %></p>");


templateFn({
    text: "Hello World!"
}) === "<p>Hello World!</p>");

Readme

Keywords

Package Sidebar

Install

npm i @nathanfaucett/template

Weekly Downloads

2

Version

0.0.2

License

MIT

Last publish

Collaborators

  • nathanfaucett