Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bahamas10/node-templer
Insanely simple JavaScript string templating system
https://github.com/bahamas10/node-templer
Last synced: about 2 months ago
JSON representation
Insanely simple JavaScript string templating system
- Host: GitHub
- URL: https://github.com/bahamas10/node-templer
- Owner: bahamas10
- Created: 2015-10-08T01:15:57.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2015-10-08T01:16:05.000Z (about 9 years ago)
- Last Synced: 2024-10-14T04:35:51.606Z (2 months ago)
- Language: JavaScript
- Size: 79.1 KB
- Stars: 0
- Watchers: 3
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
node-templr
===========Insanely simple JavaScript string templating system
Usage
-----``` js
var templer = require('templer');var s = 'hello {{name}}, the year is {{year}}';
var data = {
name: 'dave',
year: new Date().getFullYear()
};var rendered = templer(s, data);
// => "hello dave, the year is 2015"
```Installation
------------npm install templer
License
-------MIT License