nunjucks-do

1.0.0 • Public • Published

nunjucks-do

Build Status NPM version

Nunjucks extension that brings a "do" tag

How to install it?

$ npm install nunjucks-do --save

How to use it?

var DoExtension = require("nunjucks-do")(nunjucks);
 
env.addExtension('DoExtension', new DoExtension());
{% do %}
test = { hello: 'world' }
{% enddo %}

Readme

Keywords

Package Sidebar

Install

npm i nunjucks-do

Weekly Downloads

3,787

Version

1.0.0

License

Apache-2.0

Last publish

Collaborators

  • samypesse