random-advice
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

random-advice

API Wrapper for https://api.adviceslip.com

NPM version NPM downloads Dependencies

NPM info

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

  1. Fork it!
  2. Create your feature branch: git checkout -b my-new-feature
  3. Commit your changes: git commit -am 'Add some feature'
  4. Push to the branch: git push origin my-new-feature
  5. Submit a pull request :D

Author

random-advice © 1chiSensei, Released under the Apache-2.0 License.
Authored and maintained by 1chiSensei.

GitHub @1chiSensei

Package Sidebar

Install

npm i random-advice

Weekly Downloads

0

Version

1.0.0

License

Apache-2.0

Unpacked Size

18.8 kB

Total Files

9

Last publish

Collaborators

  • 1chi