https://github.com/maxhoffmann/fuchs-template
minimum templating engine by thomas fuchs
https://github.com/maxhoffmann/fuchs-template
Last synced: about 1 year ago
JSON representation
minimum templating engine by thomas fuchs
- Host: GitHub
- URL: https://github.com/maxhoffmann/fuchs-template
- Owner: maxhoffmann
- License: mit
- Created: 2015-01-16T08:52:37.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2015-01-17T13:31:50.000Z (about 11 years ago)
- Last Synced: 2025-02-23T23:34:50.516Z (about 1 year ago)
- Language: JavaScript
- Homepage: http://mir.aculo.us/2011/03/09/little-helpers-a-tweet-sized-javascript-templating-engine/
- Size: 148 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# fuchs-template [![version][1]][2]
minimum templating engine by thomas fuchs
further information: http://mir.aculo.us/2011/03/09/little-helpers-a-tweet-sized-javascript-templating-engine/
## Installation
```bash
npm install fuchs-template
```
## Usage
```js
var t = require('fuchs-template');
t('Hello {name}, how are you?', { name: 'Max'});
// "Hello Max, how are you?"
t('{thing} {thing} {thing}!', { thing: 'Developers' });
// Developers Developers Developers!
```
## LICENSE
MIT License (2015) Maximilian Hoffmann
[1]: http://img.shields.io/npm/v/fuchs-template.svg?style=flat
[2]: https://www.npmjs.org/package/fuchs-template