jstransformer-hjson
Hjson support for JSTransformers.
Installation
npm install jstransformer-hjson
API
var hjson = ; var text = ` { // comments hi: true // no commas test: this is a test // no quotes }`hjsonbody//=> '{"hi":"true","test":"this is a test"}' // `formatted` is a special option that makes the output indented hjsonbody//=> {//=> "hi": "true",//=> "test": "this is a test"//=> } // Options other than `formatted` are passed to hjson// See https://github.com/hjson/hjson-js#hjsonparsetext-options
License
MIT