Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

strip-debug-cli

2.0.0 • Public • Published

strip-debug-cli Build Status

Strip console, alert, and debugger statements from JavaScript code

Useful for making sure you didn't leave any logging in production code.

Install

$ npm install --global strip-debug-cli

Usage

$ strip-debug --help

  Usage
    $ strip-debug <input-file> > <output-file>
    $ cat <input-file> | strip-debug > <output-file>

  Examples
    $ strip-debug src/app.js > dist/app.js
    $ cat src/app.js | strip-debug > dist/app.js

Related

License

MIT © Sindre Sorhus

install

npm i strip-debug-cli

Downloadsweekly downloads

2

version

2.0.0

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability