Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

@onepunch/get-page

wangzuo22MIT0.3.2

url -> html

http, request, page, scrapping, charset

readme

get-page

url -> html

Installation

npm install @onepunch/get-page

Usage

const getPage = require('@onepunch/get-page');
const page = await getPage('https://www.google.com');

getPage('https://www.google.com').then(page => console.log(page.html):

License

MIT