1.0.12 • Published 2 years ago
crab-fetch v1.0.12
crab-fetch polyfill
fetch()
函数用于请求接口,其中包含fetch.get()/fetch.post()/fetch.push()/fetch.del()。
Installation
npm install crab-fetch --save
const fetch = require('crab-fetch');
Usage
For a more comprehesive API reference that this polyfill supports, refer to https://github.com/shirley-cat/crab-fetch
Importing
Importion will automatically polyfill window.fetch
and related APIs:
import 'ms-fetch';