injson
TypeScript icon, indicating that this package has built-in type declarations

0.0.1 • Public • Published

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.

Readme

Keywords

Package Sidebar

Install

npm i injson

Weekly Downloads

0

Version

0.0.1

License

MIT

Unpacked Size

5.3 kB

Total Files

6

Last publish

Collaborators

  • divyeshmakwana96