strip-debug-cli

4.0.0 • Public • Published

strip-debug-cli

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

/strip-debug-cli/

    Package Sidebar

    Install

    npm i strip-debug-cli

    Weekly Downloads

    17

    Version

    4.0.0

    License

    MIT

    Unpacked Size

    3.52 kB

    Total Files

    4

    Last publish

    Collaborators

    • sindresorhus