strip-json-comments-cli
Strip comments from JSON. Lets you use comments in your JSON files!
Last updated 5 years ago by sindresorhus .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install strip-json-comments-cli 
SYNC missed versions from official npm registry.

strip-json-comments-cli Build Status

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

Install

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

Usage

$ strip-json-comments-cli --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

Related

License

MIT © Sindre Sorhus

Current Tags

  • 1.0.1                                ...           latest (5 years ago)

2 Versions

  • 1.0.1                                ...           5 years ago
  • 1.0.0                                ...           5 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 13
Last Day 0
Last Week 2
Last Month 11
Dependencies (3)
Dev Dependencies (3)

Copyright 2014 - 2016 © taobao.org |