0.0.1 • Published 3 years ago

injson v0.0.1

Weekly downloads
4
License
MIT
Repository
github
Last release
3 years ago

injson

Command line utility to build json using nested json files.

oclif Version Downloads/week License

Installation

$ npm install -g injson

Format

You can use !include('./path-to-json/item1.json')

Example usage:

{
  "pi": 3.141,
  "happy": true,
  "questions:": [
    "!include('./questions/item1.json')"
  ],
  "answer": {
    "everything": 42
  }
}

Command

$ injson input.json output.json -m

-m parameter is optional and will export json as minified.