1.0.6 • Published 8 years ago

8ball v1.0.6

Weekly downloads
111
License
MIT
Repository
-
Last release
8 years ago

The Magic 8 Ball

The Magic 8 Ball is a toy used for fortune-telling or seeking advice.

install:

$ npm i --save 8ball

usage:

const eightball = require('8ball')()
console.log(`do you need a new lease on life? ${eightball}`)
// do you need a new lease on life? it is decidedly so

cli:

8ball or 🎱

$ npm i -g 8ball
$ 8ball 'will i be pretty?'
reply hazy, try again
$ 🎱 'will i be rich?'
concentrate and ask again

also accepts stdin:

$ echo 'will i be rich' | 🎱
please ask a question

(no ? match in stdin)

requirements:

node >=4

1.0.6

8 years ago

1.0.5

8 years ago

1.0.4

8 years ago

1.0.3

8 years ago

1.0.2

8 years ago

1.0.1

8 years ago

1.0.0

8 years ago