Socket
Book a DemoInstallSign in
Socket

@all-in-js/fast-install-puppeteer

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@all-in-js/fast-install-puppeteer

a fast way to install puppeteer.

1.0.0
latest
Source
npmnpm
Version published
Maintainers
1
Created
Source

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 @all-in-js/fast-install-puppeteer
// or
npm i @all-in-js/fast-install-puppeteer
  • usage
const puppeteer = require('@all-in-js/fast-install-puppeteer');

(async () => {
  const browser = await puppeteer.launch();
  // ...
})();

Keywords

puppeteer

FAQs

Package last updated on 25 Feb 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.