Returns a random curse phrase. Use within tasks in failing scenarios. Go crazy with NSFW mode if you like.
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}); // '**** ***'
###To contribute
$ git clone https://github.com/furzeface/dammit && cd dammit
$ git checkout develop
Link for local development:
$ npm link
Add phrases to src/curses.json
or src/cursesNSFW.json
if you're feeling naughty.
Then check the Waffle board or GitHub issues and work away!
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
- Install editorconfig-sublime for Sublime Text to help with consistent code formatting.
- Commit messages loosely adhere to these guidelines.
- Versioning adheres to Semver.
- 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: http://danielfurze.mit-license.org