npm

Join us for the upcoming webinar, "Enterprise JavaScript done right: the tools you love, the security you need."Sign up here »

javascript-commitment

0.1.13 • Public • Published

javascript-commitment Build Status NPM version more fixes

JavaScript adoption of the great Commitment project. For a quick laugh and a random commit message for the gentle programmer.

Visit http://whatthecommit.com/ for the web version.

Usage

Install via npm install javascript-commitment. Then use the module in your code:

var commitment = require('javascript-commitment');
var commit = commitment.whatThe();
 
console.log('Random commit message', commit.message);
// (\ /)
// (O.o)
// (> <) Bunny approves these changes.
 
console.log('Link to the web version', commit.permalink);
// http://whatthecommit.com/0e0c1a4060a298158f3c4ef526f03f86

API commitment.whatThe

Returns a JavaScript Object with a message String and a permalink String.

License

MIT License © Jan Raasch

install

npm i javascript-commitment

Downloadsweekly downloads

73

version

0.1.13

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability