fetch-improve
v1.0.5
Published
get html or text from url
Readme
install
yarn add fetch-htmlusage
import fetch form 'fetch-html';
(async () => {
// two arg
// url
// type text | html
const result = await fetch('https://www.baidu.com', 'text');
})();