This package has been deprecated

Author message:

this package have been archived. please install the @all-in-js/fast-install-puppeteer instead.

fast-install-puppeteer

1.0.5 • Public • Published

a fast way to install puppeteer.

when we install puppeteer, will download a local-chromium from https://storage.googleapis.com, but most of time, we will get a timeout error, because our network can't connect to the host, unless you have a VPN, fortunately, there have some mirrors, we can use it download local-chromium successfully and fastly;

I strongly recommend that you should use 'yarn' rather than 'npm', if you have a try, I think you will fall in love with it;

  • Install

I will install a latest version by the default, if you want to a specified version, you can set a property 'puppeteer_version' in your local package.json file.

yarn add fast-install-puppeteer
// or
npm i fast-install-puppeteer
  • usage
const puppeteer = require('fast-install-puppeteer');
 
(async () => {
  const browser = await puppeteer.launch();
  // ...
})();
 

Package Sidebar

Install

npm i fast-install-puppeteer

Weekly Downloads

5

Version

1.0.5

License

MIT

Unpacked Size

7.72 kB

Total Files

6

Last publish

Collaborators

  • eryue