Changelog

JavaScript Icon changelog.com

Groundkeeper removes forgotten console and debugger statements from your JavaScript files

logged by @logbot 2013-04-09T16:42:58Z permalink #javascript

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