furzeface / dammit

Returns a random curse phrase.
2 stars 0 forks source link

dammit

NPM

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

Examples

var dammit = require('dammit');

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

Contributing Build Status Stories in Ready

dependency Status devDependency Status

To contribute

$ git clone https://github.com/furzeface/dammit && cd dammit
$ git checkout develop

Development

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

Tips

Release History

Release with grunt-bump.

License

Copyright (c) 2014 Daniel Furze. Licensed under the MIT license: http://danielfurze.mit-license.org