JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 813
  • Score
    100M100P100Q95101F
  • License MIT

Returns a random curse phrase.

Package Exports

  • dammit

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (dammit) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

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

Examples

var dammit = require('dammit');

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

Development

Link for local development:

$ npm link

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

Contributing

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.

License

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