tiny-t

0.0.2 • Public • Published

Tiny-t

Not intended for production use

Tiny-t is a very small module that accepts a string like hello {{ name }}, what are you up to {{ day }}? and returns a function that takes an object that will map to the properties in the template string.

Example

var template = require('tiny-t')('hey {{ name }}');

console.log(template({name : 'jon'}));

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i tiny-t

      Weekly Downloads

      1

      Version

      0.0.2

      License

      none

      Last publish

      Collaborators

      • jondelamotte