← All tools

json-append

Popularity 65 Updated Development & Build

command line tool that append item to array of json file.

npmauto-collected

Installation

npm
npm install -g json-append

Install with npm.

json-append

Append-only CLI that append item to JSON.

Installation

npm install json-append -g

Usage

$ printf 1 | json-append output.json && printf 2 | json-append output.json

output.json

[
  "1",
  "2"
]

Tests

npm test

Contributing

  • Fork it!
  • Create your feature branch: git checkout -b my-new-feature
  • Commit your changes: git commit -am 'Add some feature'
  • Push to the branch: git push origin my-new-feature
  • Submit a pull request :D

License

MIT