xdaili-fetch
v1.0.1
Published
## Install ```bash yarn add xdaili-fetch ```
Downloads
7
Readme
xdaili-fetch
Install
yarn add xdaili-fetch
Example
const Xfetch = require('xdaili-fetch');
const fetch = Xfetch(require('node-fetch'), {
orderno: '??',
secret: '??'
});
fetch('https://www.baidu.com')
.then(d=>d.text())
.then(console.log)
.catch(console.error)