console-log-rm
v1.0.2
Published
`console-log-rm` is a simple library for automatically removing all `console.log` statements from your JavaScript and TypeScript project files. It helps maintain code cleanliness by eliminating unnecessary logs before release.
Downloads
3
Readme
console-log-rm
console-log-rm
is a simple library for automatically removing all console.log
statements from your JavaScript and TypeScript project files. It helps maintain code cleanliness by eliminating unnecessary logs before release.
Installation
You can install the library via npm or Yarn. Just run one of the following commands:
Using npm:
npm install console-log-rm
Using yarn:
yarn add console-log-rm
Usage
After installation, the library will automatically add the clear-console command to your package.json. If the command is not added automatically, you will need to add it manually. To clear all console.log statements in your project, run:
Using npm:
npm run clear-console
Using yarn:
yarn clear-console
Supported File Types
.js .jsx .ts .tsx