node package manager
Orgs are free. Discover, share, and reuse code in your team. Create a free org »

brp-hjson

brp-hjson

Lightweight JSON processing for your brp pipeline

circle-ci dependencies dev-dependencies code-climate js-standard-style


Configuration-free HJSON integration into brp.

Install

Make sure you have the latest version of Node installed first!

npm install brp-hjson --save

Then you can add brp-hjson to your build pipeline.

const hjson = require('brp-hjson')
...
brp.buildWith(new hjson())

Documentation

constructor(opts)

Option Description Default
glob the glob used to match streamed files '*.@(json|mcmeta|info)'
processUnmarked true if files not included in the pack should be processed false