New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

puppeteer-chromium-resolver

Package Overview
Dependencies
Maintainers
1
Versions
44
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

puppeteer-chromium-resolver

Download chromium from mirror host and save to global user folder, returns puppeteer and executablePath

  • 1.0.7
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
0
decreased by-100%
Maintainers
1
Weekly downloads
 
Created
Source

Puppeteer Chromium Resolver

  • A tool to customize puppeteer
  • Able to download chromium from custom/mirror host.
  • Save chromium to global user/temp folder, saving disk space and do not download again if exists
  • Returns puppeteer and executablePath

Install

npm install puppeteer-chromium-resolver --save

Usage

require("puppeteer-chromium-resolver")({
    //savePath: "./",
    //hosts: ["https://storage.googleapis.com", "https://npm.taobao.org/mirrors"]
}).then(function (revisionInfo) {
    console.log("Chromium revision installed and launchable is " + revisionInfo.launchable);
    revisionInfo.puppeteer.launch({
        headless: true,
        args: ['--no-sandbox'],
        executablePath: revisionInfo.executablePath
    });
});

FAQs

Package last updated on 19 Oct 2018

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

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc