node-jsonnet
jsonnet is a DSL for JSON. Jsonnet is created by Google.
This module is a Jsonnet wrapper for Node.js
Jsonnet demo
before:
// Jsonnet Example
after:
If you would like to know more Jsonnet syntax, read here.
http://google.github.io/jsonnet/doc/spec.html
How to use
$ npm install jsonnet --save
var Jsonnet = ;// instance jsonnetvar jsonnet = ;var fs = ; var code = fs; // eval jsonnet to javascript objectvar result = jsonnet; console;