Skip to content

Latest commit

 

History

History
43 lines (32 loc) · 1.57 KB

README.md

File metadata and controls

43 lines (32 loc) · 1.57 KB

WFH-excuses

Greenkeeper badge

Working from Home excuses generator

Funny excuses generator to use when you have to Work From Home (#WFH).

NPM

npm version Build Status Coverage Status

#WFH

Usage

const wfh = require('wfh-excuses')()
console.log(wfh.pick());     // random excuse in default language (en)
console.log(wfh.pick('pt')); // random excuse in custom language (pt)

Initialize with custom language

const wfh = require('wfh-excuses')('pt') // Set default to 'pt'
console.log(wfh.pick());     // random excuse in default language (pt)
console.log(wfh.pick('en')); // random excuse in custom language (en)

License

ISC License © Leandro Nunes

Support: if you find any problems, open issue