Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
A light weight async template parser.
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
lib
test
.gitignore
.travis.yml
README.md
package.json

README.md

simplate - Lightweight async template parser

build status

A super lightweight async template parser for nodejs

Installation

$ npm install simplate

Usage

File: fileToParse.txt:

Hello #{NAME}

Code:

var fileToParse = 'fileToParse.txt'
  , simplate = require('simplate');

simplate.parse(fileToParse, { NAME: 'Jim'}, function(error, content) {
  console.log(content); // Will output "Hello Jim"
});

Credits

Paul Serby follow me on twitter

Adam Duncan

Licence

Licenced under the New BSD License

Something went wrong with that request. Please try again.