shut-console
v1.0.6
Published
A utility tool that removes console.* statements from a project to prevent publishing on production and exposing sensitive information.
Downloads
8
Readme
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
Feedback
If you have any feedback, please reach out to me at [email protected]
License
Related
Here are some related projects