An open API service indexing awesome lists of open source software.

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

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