Skip to content

Latest commit

 

History

History
50 lines (34 loc) · 1.8 KB

README.md

File metadata and controls

50 lines (34 loc) · 1.8 KB

get-random-excuse

package version package downloads standard-readme compliant package license make a pull request

Get a random excuse. Based on excuse-generator

Table of Contents

Install

This project uses node and npm.

$ npm install get-random-excuse
$ # OR
$ yarn add get-random-excuse

Usage

const getRandomExcuse = require('get-random-excuse')

console.log(getRandomExcuse()) // This sounds unbeleivable but Sherlock Holmes tried to seduce me
console.log(getRandomExcuse()) // You won't beleive this: Red Foreman set my house on fire
console.log(getRandomExcuse()) // This sounds crazy, but Godzilla stole my identity
console.log(getRandomExcuse({leads: "I'm working remotely today,"})) // I'm working remotely today, a frag grenade kidnapped my lizard

Contribute

  1. Fork it and create your feature branch: git checkout -b my-new-feature
  2. Commit your changes: git commit -am 'Add some feature'
  3. Push to the branch: git push origin my-new-feature
  4. Submit a pull request

License

MIT