1.0.0 • Published 5 years ago
@yaas/fortune v1.0.0
Fortune
Credit to @williamfligor on GitHub for the fortunes!
Differences:
- A CLI interface
- Easy to add custom fortunes
To use:
npm install -g github:hub-sp/fortune
OR
npm install -g @yaas/fortune
## In your ~/.bashrc
alias fortune='node-fortune'
Then you can run it!
fortune
Adding custom fortunes!
Go to the folder fortune
is installed and then navigate to the fortunes
folder. From here you can add a file with each fortune seperated by a line return and %
sign
A custom fortune!
%
Another custom fortune!
NOTE: THIS PACKAGE IS VERY LARGE, I RECOMMEND INSTALLING GLOBALLY
1.0.0
5 years ago