@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>");

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.0.2
    1
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.0.2
    1
  • 0.0.1
    0

Package Sidebar

Install

npm i @nathanfaucett/template

Weekly Downloads

1

Version

0.0.2

License

MIT

Last publish

Collaborators

  • nathanfaucett