node package manager
Loosely couple your services. Use Orgs to version and reuse your code. Create a free org »




This module uses groundskeeper during builds to sanitize your JavaScript code, removing things like console logs or more specific blocks of code.

For more information regarding Mimosa, see


Add "groundskeeper" to your list of modules. That's all! Mimosa will install the module for you when you start up.


During mimosa build, when mimosa-groundskeeper encounters a JavaScript file, it cleans it! By default groundskeeper removes all console, debugger, and pragmas that it finds. The options specific what you may want to keep.

Default Config

  log: true,
  • log: Whether or not to log if any files get cleansed. If a file does not having anything to be cleaned, nothing is logged, but if a file has something removed, a notification is logged to the console.
  • options: All options are pass through to groundskeeper. Check out its usage for details.