HTTP client library for Node.js and the browser, with support for multiple backends.
$ npm install hurricane --save
hurricane depends on ES 2015 Promises. If you are using the library in an environment that doesn't support them, you must introduce a polyfill.
TBD
TBD
hurricane currently supports the following adapters:
You can also write your own adapter very easily. Follow the documentation.
PRs for adding support for new adapters will be highly appreciated! There is only one requirement - the adapter should work both in Node.js and in browser environments.
If the adapter that you want to contribute works only in Node.js or only in the browser, consider making it a plugin. We'll be happy to help!
TBD
Bug reports and pull requests are welcome on GitHub. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the Contributor Covenant code of conduct.
hurricane is heavily influenced by Faraday. If you are a Ruby engineer, we highly recommend to check it out.
When we designed the API, we wanted to make it feel as close to:
Thanks to their authors and contributors for the amazing work!
_________________
< The MIT License >
-----------------
\ ^__^
\ (oo)\_______
(__)\ )\/\
||----w |
|| ||