Update a key on JSON file


001.0.04 years ago4 years agoMinified + gzip package size for @foxythemes/jsonkey-update-cli in KB



This is a JSON key-update CLI, useful when you need update a key in a JSON file, getting it of other JSON file.

Getting Started

  • Install with npm: npm install @foxythemes/jsonkey-update-cli -D
  • Run it with keyupdate


keyupdate -s src-path-giver/ -f file-giver.json -S src-path-receiver/ -F file-receiver.json -k keyToUpdate

Basic options

-s, --srcGiver       Source path of JSON file giver
-f, --fileGiver      Name of JSON file from where key will be get
-S, --srcReceiver    Source path of JSON file receiver
-F, --fileReceiver   Name of JSON file where key will be set
-k, --key            Key that will be updated on JSON file receiver


Copyright (c) FoxyThemes Licensed under the MIT license.

If you find any bugs or have a feature request, please open an issue on github!

The npm package download data comes from npm's download counts api and package details come from npms.io.