Groundkeeper removes forgotten console and debugger statements from your JavaScript files

Adam Stacoviak Adam Stacoviak

If you’re like me, you forget things. It happens.

More specifically, when working on my JavaScript skills I forget to remove console.log statements used for testing in development when pushing code to production. groundkeeper removes all those forgotten console and debugger statements from your code for you.

Here’s a simple before and after…

Before:

function helloWorld () {
  // Log out to console
  console.log("Hello world!");  
}

helloWorld();

After:

function helloWorld () {
  // Log out to console

}

helloWorld();

Check out the source for installation and usage details.

0:00 / 0:00