https://github.com/pranshushah/http-pro-isomorphic
http-pro library that works on both node and browser
https://github.com/pranshushah/http-pro-isomorphic
axios browser fetch http http-client javascript react-query
Last synced: about 1 year ago
JSON representation
http-pro library that works on both node and browser
- Host: GitHub
- URL: https://github.com/pranshushah/http-pro-isomorphic
- Owner: pranshushah
- Created: 2022-06-18T17:23:01.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2022-06-23T08:50:03.000Z (almost 4 years ago)
- Last Synced: 2025-03-05T02:09:19.438Z (about 1 year ago)
- Topics: axios, browser, fetch, http, http-client, javascript, react-query
- Language: JavaScript
- Homepage: https://http-pro.netlify.app/
- Size: 25.4 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# http-pro-isomorphic
- [http-pro](https://www.npmjs.com/package/http-pro) but for node and browser.
## Usage:
- SSR support.
- isomorphic code across all environment.
- built on top of [node-fetch](https://www.npmjs.com/package/node-fetch), so it is tried and tested for node environment.
## Requirements :
- Node `v>=16`
- Browser - checkout [MDN](https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API#browser_compatibility) docs.
## Installation:
```sh
npm install http-pro @http-pro/isomorphic
```
## Docs:
- https://http-pro.netlify.app/
## Note:
- If you are working with **node v18** you don't need to use this library. you can just use [http-pro](https://www.npmjs.com/package/http-pro) instead.
- before raising an issue make sure that issue is not related to [node-fetch](https://www.npmjs.com/package/node-fetch).