npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

smart-console-cleaner

v0.0.2

Published

Quickly detect and remove console.log, console.warn, and console.error statements from your code.

Readme

🧹 Smart Console Cleaner

A Visual Studio Code Extension to instantly remove console.log statements from your code.

Version VS Code Node.js License npm

Clean debugging logs before pushing to production — in just one command.


📖 Overview

Smart Console Cleaner helps developers quickly remove all console.log statements from their JavaScript and TypeScript projects. No more manually hunting through files before committing your code!


✨ Features

| Feature | Description | |---|---| | ⚡ Instant Removal | Removes all console.log statements in one click | | 🎯 Command Palette | Accessible via Ctrl + Shift + P | | 🪶 Lightweight | Minimal footprint, maximum speed | | 🔧 JS / TS Support | Works seamlessly with JavaScript & TypeScript |


📦 Install from npm

npm install smart-console-cleaner

🔗 NPM Package: https://www.npmjs.com/package/smart-console-cleaner


🚀 Installation & Usage

⚠️ Note: This extension is not yet published on the VS Code Marketplace. You need to run it locally in Extension Development Mode.

Step 1 — Clone the Repository

git clone <your-repository-url>
cd smart-console-cleaner

Step 2 — Install Dependencies

npm install

Step 3 — Launch the Extension

  1. Open the project folder in Visual Studio Code
  2. Press F5
  3. A new Extension Development Host window will open automatically

Step 4 — Run the Command

  1. Open any JavaScript or TypeScript file
  2. Open the Command Palette:
Ctrl + Shift + P
  1. Type and search for:
Smart Console Cleaner
  1. Press Enter or click the command

✅ All console.log statements will be automatically removed from your file!


💡 Example

🔴 Before Cleaning

console.log("User data:", user);

function test() {
  console.log("Testing...");
}

🟢 After Cleaning

function test() {

}

🛠️ Requirements

  • Visual Studio Code v1.110.0 or higher
  • Node.js installed on your machine

⚠️ Known Issues

The current version supports removal of only the following statement:

console.log()

The following console methods are not yet supported in v0.0.1:

console.error()
console.warn()
console.debug()

🔔 Support for additional console methods is planned for a future release.


📋 Release Notes

v0.0.1 — Initial Release

  • ✅ Remove all console.log statements via Command Palette

👤 Author

Sakabda Das Frontend Developer


Made with ❤️ to keep your code clean and production-ready.