Skip to content

Observable HTTP fetch API for browser and Node.js. Handle 302/303 redirect correctly on Node.js

License

Notifications You must be signed in to change notification settings

waitingsong/fetch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Node Fetch

GitHub tag License ci codecov

Note

ESM build only, requires @midwayjs >= 3.16 and set "type": "module" in packages.json

安装全局依赖

npm i -g c8 lerna madge rollup tsx zx

创建新项目

Installation

npm i @waiting/fetch
// for Midway.js
npm i @mwcp/fetch

Usage

初始化依赖

npm install


## Packages

| Package         | Version                |
| --------------- | ---------------------- |
| [`fetch`]       | [![main-svg]][main-ch] |
| [`@mwcp/fetch`] | [![mw-svg]][mw-ch]     |

## Initialize and install dependencies

run it at first time and any time
```sh
npm run repo:init

License

MIT


About

Observable HTTP fetch API for browser and Node.js. Handle 302/303 redirect correctly on Node.js

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published