Groundkeeper removes forgotten console and debugger statements from your JavaScript files

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.

News Films

Our little film studio focuses on telling developer-centric stories that need to be seen.

Beyond Code: Season 3 / GopherCon 2015

 
0:00 / 0:00