1.0.8 • Published 1 year ago

console-remover v1.0.8

Weekly downloads
-
License
ISC
Repository
-
Last release
1 year ago

Console Remover

Console Remover is a command-line tool that removes all console statements from JavaScript and TypeScript files in a specified directory and its subdirectories.

Installation

You can install Console Remover globally using npm:

npm install -g console-remover

Or locally in your project:

npm install console-remover

Usage

Global Installation

If installed globally, you can run:

console-remover /path/to/your/directory

Local Installation

If installed locally, add the following script to your package.json:

"scripts": {
  "remove-console": "console-remover ./src"
}

Then run:

npm run remove-console

Examples

Remove console statements from a specific project:

console-remover /Users/yourusername/project

Remove console statements from the current directory:

console-remover .

Features

  • Removes all console statement types (log, error, warn, etc.)
  • Supports .js, .ts, .jsx, and .tsx files
  • Recursive directory processing
  • In-place file modification
  • AST parsing for accurate removal
1.0.8

1 year ago

1.0.7

1 year ago

1.0.6

1 year ago

1.0.5

1 year ago

1.0.4

1 year ago

1.0.3

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago