1.0.5 • Published 6 years ago
fetch-improve v1.0.5
install
yarn add fetch-html
usage
import fetch form 'fetch-html';
(async () => {
// two arg
// url
// type text | html
const result = await fetch('https://www.baidu.com', 'text');
})();
yarn add fetch-html
import fetch form 'fetch-html';
(async () => {
// two arg
// url
// type text | html
const result = await fetch('https://www.baidu.com', 'text');
})();