1.0.6 • Published 1 year ago

shut-console v1.0.6

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

shut-console


A utility tool that removes console.* statements from a project to prevent publishing on production and exposing sensitive information.


Installation

Install shut-console with npm

  npm install -g shut-console

Usage

shut-console [options]

Options

-h, --help    Show this help message
-v, --view    View all console commands in all files of this project
-r, --remove  Remove the specified console command from all files of this project
-object       View all console commands in all files of this project in an object

Examples

To view all console commands in all files of the project:

shut-console -v

To remove all instances of the console commands from all files of the project:

shut-console -r

To view all console commands in all files of the project as an object:

shut-console -object

npm version MIT License

Feedback

If you have any feedback, please reach out to me at hi@ishaanbedi.in

License

MIT

Related

Here are some related projects

1.0.6

1 year ago

1.0.5

1 year ago

1.0.4

1 year ago

1.0.3

1 year ago