tmpl
JavaScript micro templates.
Last updated 3 years ago by daaku .
BSD-3-Clause · Repository · Bugs · Original npm · Tarball · package.json
$ gnpm install tmpl 
SYNC missed versions from official npm registry.

tmpl Build Status

Simple string formatting using {}.

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

Current Tags

  • 1.0.5                                ...           latest (3 years ago)

5 Versions

  • 1.0.5                                ...           3 years ago
  • 1.0.4                                ...           10 years ago
  • 1.0.3                                ...           10 years ago
  • 1.0.1                                ...           13 years ago
  • 1.0.0                                ...           13 years ago
Maintainers (2)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (0)
None
Dev Dependencies (1)
Dependents (1)

Copyright 2013 - present © cnpmjs.org | Home |