0.2.0 • Published 1 year ago

stachio v0.2.0

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

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.