1.0.0 • Published 3 years ago

random-advice v1.0.0

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
3 years ago

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

  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