Skip to content
This repository has been archived by the owner on Jul 11, 2023. It is now read-only.

ivancevich/catberry-nunjucks

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 jc.ivancevich@gmail.com

About

Catberry adapter for Nunjucks template engine

Resources

License

Stars

Watchers

Forks

Packages

No packages published