jbenner-radham / node-stachio

Render mustachio'd (Handlebars) templates into HTML.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

stachio

npm node license

Render mustachio'd (Handlebars) templates into a static site.

Install

npm install stachio

Usage

API

import stachio from 'stachio';

const context = { greeting: 'hello' };
const cwd = process.cwd();
const destination = 'dist';
const options = { context, cwd, destination };

stachio(options);

CLI

$ stachio --help

  Render mustachio'd (Handlebars) templates into a static site.

  Usage
      $ stachio [$SOURCE_DIRECTORY=.] [$OUTPUT_DIRECTORY=dist]

  Options
      --help, -h       Display this message.
      --version, -v    Display the application version.

Testing

npm test

See Also

License

The MIT License (Expat). See the license file for details.

About

Render mustachio'd (Handlebars) templates into HTML.

License:MIT License


Languages

Language:TypeScript 88.2%Language:JavaScript 10.8%Language:Handlebars 1.0%