nunjucks-inspect
v0.1.6
Published
An `inspect` tag for Nunjucks, to browse an object's properties.
Downloads
9
Maintainers
Readme
nunjucks-inspect
An inspect
tag for Nunjucks, to browse an object's properties.
Installation
$ npm install nunjucks-inspect
Setup
const nunjucks = require('nunjucks');
const NunjucksInspect = require('nunjucks-inspect');
var env = new nunjucks.Environment();
env.addExtension('inspect', new NunjucksInspect());
Usage
{% inspect obj %}