sjc

strip-json-comments-cli

Strip comments from JSON. Lets you use comments in your JSON files!

Showing:

Popularity

Downloads/wk

1.1K

GitHub Stars

45

Maintenance

Last Commit

25d ago

Contributors

1

Package

Dependencies

3

License

MIT

Type Definitions

Tree-Shakeable

No?

Categories

Readme

strip-json-comments-cli

Strip comments from JSON. Lets you use comments in your JSON files!

Install

$ npm install --global strip-json-comments-cli

Usage

$ strip-json-comments --help

  Usage
    $ strip-json-comments <input-file> > <output-file>
    $ strip-json-comments < <input-string>

  Options
    --no-whitespace  Remove comments instead of replacing them with whitespace

  Example
    $ strip-json-comments input.json > output.json

Rate & Review

Great Documentation0
Easy to Use0
Performant0
Highly Customizable0
Bleeding Edge0
Responsive Maintainers0
Poor Documentation0
Hard to Use0
Slow0
Buggy0
Abandoned0
Unwelcoming Community0
100