2.0.0 • Published 3 years ago

batch-edit-json v2.0.0

Weekly downloads
80
License
ISC
Repository
github
Last release
3 years ago

batch-edit-json Build status npm version codecov

Batch-edit json files

This tool aims to be:

  • simple
  • convenient
  • fast (IO operations performed in parallel)

Install

npm install -g batch-edit-json

Use

Usage:
    batch-edit-json [-vd] [--remove=<key>]... [--add=<object>]... [--exclude=<exclude_path>]... <path>...
    batch-edit-json --help | --version

-r,--remove      Remove key from matching paths
-a,--add         Add object to matching paths
-e,--exclude     Paths (glob) to exclude
-v,--verbose     Be verbose when editing files, echoing filenames as they are edited
-d,--dry-run     Do not edit files, only output what edits would take place
-h,--help        Show this help message
--version        Show version number

All path fields may be expressed in globs.

Acknowledgments

2.0.0

3 years ago

1.2.0

3 years ago

1.1.5

5 years ago

1.1.4

5 years ago

1.1.3

5 years ago

1.1.2

5 years ago

1.1.1

5 years ago

1.0.4

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

0.0.1

5 years ago