The data templating language

JavaScript Implementation

The C++ implementation can be compiled with emscripten to produce a JavaScript implementation of Jsonnet. This is how we implement our Jsonnet demo. It is not the fastest possible JavaScript implementation of Jsonnet, but it is easy to build, and is sufficient for many purposes.

To compile it, first install emscripten and ensure em++ and emcc are in your path. Then make libjsonnet.js.

An unofficial nodejs package of Jsonnet is also available.