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>");
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>");
npm i @nathanfaucett/template
1
0.0.2
MIT