random-advice
v1.0.0
Published
Get random advice!
Downloads
2
Maintainers
Readme
random-advice
API Wrapper for https://api.adviceslip.com
Features
- Actually maintained
- Uses async/await
Install
yarn add random-advice
Documentation
https://shukaaku.github.io/random-advice
Usage
const { Advice } = require('random-advice');
(async () => {
Advice.getAdvice(); // returns a string
Advice.getRaw(); // returns the raw response
})();
Contributing
- Fork it!
- Create your feature branch:
git checkout -b my-new-feature
- Commit your changes:
git commit -am 'Add some feature'
- Push to the branch:
git push origin my-new-feature
- Submit a pull request :D
Author
random-advice © 1chiSensei, Released under the Apache-2.0 License. Authored and maintained by 1chiSensei.
GitHub @1chiSensei