stachio

0.2.0 • Public • Published

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.

Package Sidebar

Install

npm i stachio

Weekly Downloads

1

Version

0.2.0

License

MIT

Unpacked Size

27.4 kB

Total Files

33

Last publish

Collaborators

  • radioactivehamster