pptr-html
Get html by puppeteer.
installation
npm install -S @feizheng/pptr-html
usage
import pptrHtml from '@feizheng/pptr-html';
pptrHtml('https://github.com/afeiship').then(res => {
console.log(res);
});
options
{ headless: true, closeable: true, userAgent: nx.randomUa(), selector: null };
license
Code released under the MIT license.