https://github.com/jbenner-radham/node-stachio
Render mustachio'd (Handlebars) templates into HTML.
https://github.com/jbenner-radham/node-stachio
handlebars html
Last synced: 7 months ago
JSON representation
Render mustachio'd (Handlebars) templates into HTML.
- Host: GitHub
- URL: https://github.com/jbenner-radham/node-stachio
- Owner: jbenner-radham
- License: mit
- Created: 2020-06-29T22:37:59.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2023-03-05T20:38:57.000Z (over 2 years ago)
- Last Synced: 2025-01-22T18:12:08.849Z (9 months ago)
- Topics: handlebars, html
- Language: TypeScript
- Homepage:
- Size: 1.83 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 9
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
stachio
=======
[](https://www.npmjs.com/package/stachio)
[](https://nodejs.org/)
[](LICENSE)Render mustachio'd (Handlebars) templates into a static site.
Install
-------
```sh-session
npm install stachio
```Usage
-----### API
```js
import stachio from 'stachio';const context = { greeting: 'hello' };
const cwd = process.cwd();
const destination = 'dist';
const options = { context, cwd, destination };stachio(options);
```### CLI
```sh-session
$ stachio --helpRender 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
-------
```sh-session
npm test
```See Also
--------
- [handlebars](https://handlebarsjs.com/)
- [readme-md-cli](https://www.npmjs.com/package/readme-md-cli)License
-------
The MIT License (Expat). See the [license file](LICENSE) for details.