node-addon-jsonnet

1.0.17 • Public • Published

node-addon-jsonnet

This lib is a jsonnet addon for node,build from jsonnet source code, is not a javascript version of jsonnet such as node-jsonnet project.

Jsonnet is a domain specific configuration language that helps you define JSON data. Jsonnet lets you compute fragments of JSON within the structure, bringing the same benefit to structured data that templating languages bring to plain text,Jsonnet

var jsonnet = require('node-addon-jsonnet');
 
jsonnet.eval('{a:1}',function(err,data){
    console.log(data);
})
 
jsonnet.evalFile('./data.json',function(err,data){
    console.log(data);
})

Installation

$ npm install node-addon-jsonnet --save

Features

  • build from c++ code
  • have good performance than javscript version

License

MIT

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
1.0.173latest

Version History

VersionDownloads (Last 7 Days)Published
1.0.173
1.0.161
1.0.151
1.0.141
1.0.131
1.0.121
1.0.114
1.0.101
1.0.91
1.0.61
1.0.51
1.0.41
1.0.21
1.0.14

Package Sidebar

Install

npm i node-addon-jsonnet

Weekly Downloads

18

Version

1.0.17

License

MIT

Last publish

Collaborators

  • hongyin163