Skip to content

daaku/nodejs-tmpl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tmpl Build Status

Simple string formatting using {}.

assert.equal(
  tmpl('the answer is {answer}', { answer: 42 }),
  'the answer is 42')