catberry-nunjucks
v1.1.0
Published
Catberry adapter for Nunjucks template engine
Downloads
2
Maintainers
Readme
Catberry Nunjucks Adapter
It is an adapter for Nunjucks template engine that makes possible to use it from Catberry application.
Usage
You can use the adapter like this in ./browser.js or ./server.js. Actually, Catberry CLI does it for you.
var nunjucks = require('catberry-nunjucks'),
cat = catberry.create(config);
nunjucks.register(cat.locator);
Contribution
If you have found a bug, please create pull request with mocha
unit-test which reproduces it or describe all details in an issue if you can not
implement test. If you want to propose some improvements just create an issue or
a pull request but please do not forget to use npm test
to be sure that your
code is awesome.
All changes should satisfy this Code Style Guide.
Also your changes should be covered by unit tests using mocha.
JC Ivancevich [email protected]