Introducing Socket Firewall: Free, Proactive Protection for Your Software Supply Chain.Learn More
Socket
Book a DemoInstallSign in
Socket

install-chrome-dependencies

Package Overview
Dependencies
Maintainers
4
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

install-chrome-dependencies

Install Chrome dependencies using a one liner

latest
Source
npmnpm
Version
1.1.2
Version published
Weekly downloads
339
-34.93%
Maintainers
4
Weekly downloads
 
Created
Source

Install Chrome Dependencies

Install Chrome dependencies using a one liner

This is a simple script that installs dependencies for running Chrome / Chromium. This is useful when running Chrome in a CI environment, for Example when using Puppeteer or Lighthouse.

Installation

npm install --save-dev install-chrome-dependencies

Usage

npx install-chrome-dependencies

It’s recommended to use Debian based Docker images, such as node:16-slim.

For Debian based images, all required dependencies are installed to run Chrome inside the Docker image.

For Alpine based images, chromium is installed. To use this with puppeteer, use the following environment variable.

PUPPETEER_EXECUTABLE_PATH=/usr/bin/chromium-browser

Keywords

chrome

FAQs

Package last updated on 30 Sep 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