Skip to content

gnbonney/fortune

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

fortune

An expanded fortune collection for javascript. Combines fortunes from BSD Unix minus the offensive categories plus extra categories added from other sources.

To install

npm install random-fortune

To use

const fortune = require('random-fortune')

const fortune = fortune.fortune()
// or
// const maxLength = 280
// const fortune = fortune.fortune(maxLength)

======

On install fortune converts the fortunes in fortunes/ into json. You can add or remove files / folders from here and rebuild using npm

Fortune for Node.js

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published