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 %}

Dependencies (0)

    Dev Dependencies (3)

    Package Sidebar

    Install

    npm i nunjucks-do

    Weekly Downloads

    4,546

    Version

    1.0.0

    License

    Apache-2.0

    Last publish

    Collaborators

    • samypesse