node package manager
It’s your turn. Help us improve JavaScript. Take the 2017 JavaScript Ecosystem Survey »


dammit Build Status Stories in Ready

Returns a random curse phrase. Use within tasks in failing scenarios. Go crazy with NSFW mode if you like.

Getting Started

Install the module with:

$ npm install dammit

Install with cli command:

$ npm install -g dammit
$ dammit --help
$ dammit --version

Use on the cli (pass in NSFW if you want):

$ dammit
$ dammit NSFW


var dammit = require('dammit');
dammit(); // 'Gosh darn it!' 
dammit({'NSFW': true}); // '**** ***' 


Link for local development:

$ npm link

Add phrases to src/curses.json or src/cursesNSFW.json if you're feeling naughty.


In lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code using Grunt.

$ grunt test

Commit messages loosely adhere to these guidelines.

Versioning adheres to Semver.

Release History

  • 2014-08-13 v0.5.0 - Added NSFW Mode.
  • 2014-08-13 v0.3.0
  • 2014-08-13 v0.2.0
  • 2014-08-11 v0.1.0 - Initial release.

Release with grunt-bump.


Copyright (c) 2014 Daniel Furze. Licensed under the MIT license: