javascript-commitment

0.1.14 • Public • Published

javascript-commitment Build Status NPM version more fixes

Pay me Sponsor me

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.

Sponsor 💟

Support my work on this piece of open-source software via GitHub Sponsors (recurring) or PayPal (one-time).

GitHub Stats

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

Package Sidebar

Install

npm i javascript-commitment

Weekly Downloads

3

Version

0.1.14

License

MIT

Unpacked Size

49.5 kB

Total Files

7

Last publish

Collaborators

  • janraasch