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

console-counter-pro

v1.0.0

Published

Count and remove console statements in the current file

Readme


🚀 What is Console Counter?

Console Counter is a lightweight VS Code extension that helps you count and remove all console statements in your current file.
No more manual searching or deleting logs — just one shortcut and you're done. ⚡

NPM Version NPM Downloads License


✨ Features at a Glance

✔️ Count Console Logs – Instantly see how many console statements exist in the current file.
✔️ Remove All Console Logs – Clean your file from all console statements in one shortcut.
✔️ File-Specific Context – Results always show the file name for better clarity.
✔️ Smart Handling – If no console statements are found, you get a friendly notification.
✔️ Keyboard Shortcuts – Super quick commands for count and remove.


💻 Supported Frameworks

Frontend: React, Vue, Angular, Svelte, Next.js, Nuxt.js, Remix
Backend: Node.js, Express, NestJS, Fastify, Koa, AdonisJS
Full-Stack: Meteor, Blitz.js, Redwood.js

📦 Installation

Install globally using npm:

Using npm:

npm install -g console-counter

This will give you access to the commands ct and cr anywhere in your system.

🛠️ Usage: 1. Check Console Count

ct <filename.js>

// Example:
ct index.js

// Output::
📟 Console Count: 1 : index.js

2. Remove All Console Logs

// Basic usage
cr <filename.js>

// Example:
cr index.js

// Output:---> 🧹 index.js : All console logs removed!

// Check Again After Removal:
ct index.js

// Output:---> 📟 Console Count: 0 : index.js

// When No Consoles Exist
ct app.js

// Output:
❌ No console logs found in app.js

🖼️ Example Outputs

  • Counting consoles:
    📟 Console Count: 5 : PostPreview.jsx

  • Removing consoles:
    🧹 PostPreview.jsx : All console logs removed!

  • When no console logs exist:
    ❌ No console logs found in PostPreview.jsx


🔧 Configuration & Customization

Currently, Console Counter is zero-config — it works out of the box.
In future updates, you’ll be able to:

✅ Customize which console methods to track (log, warn, error, etc.)
✅ Change keyboard shortcuts
✅ Ignore specific files/folders


💼 Why Console Counter?

While debugging, console.log is your best friend — but in production, it’s your enemy.
This extension helps you keep your project clean with one tap instead of manual cleanup. 🧹


📖 Changelog

v0.0.1

  • Initial release 🎉
  • Added count and remove features with shortcuts.
  • Smart notification when no consoles are found.

💙 Support

Console Counter is open-source and built with ❤️ for developers.
If you enjoy using it, please ⭐ the repository and share it with your dev friends.


📧 Contact

Feel free to reach out or follow me on these platforms:

| Platform | Link | |-----------------|------| | 🌐 GitHub | github.com/codingyaari | | 📦 NPM | npmjs.com/~codingyaari | | 💬 StackOverflow | stackoverflow.com/users/31368342/codingyaari | | ▶️ YouTube | youtube.com/@codingyaari | | 👍 Facebook | facebook.com/profile.php?id=61579800007414 | | 📸 Instagram| instagram.com/codingyaari | | 🐦 X (Twitter) | x.com/codingyaari | | 📧 Gmail | [email protected] |

📜 License

Released under the MIT License.
Free to use for personal and commercial projects.

🤝 Contributing

Contributions are always welcome!

  • If you'd like to make improvements, please create a Pull Request. For any bugs or feature requests, please create an Issue.

  • GitHub: Samyy-decod


🧑‍💻 Author