🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more

puppeteerwweb

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install
Package was removed
Sorry, it seems this package was removed from the registry
p

puppeteerwweb

puppeteer-web bundle created using browserify

0.0.3
unpublished
latest
40

Supply Chain Security

100

Vulnerability

83

Quality

76

Maintenance

100

License

Repository has been archived by the owner.

Known malware

Supply chain risk

This package is malware. We have asked the package registry to remove it.

Found 2 instances in 1 package

Shell access

Supply chain risk

This module accesses the system shell. Accessing the system shell increases the risk of executing arbitrary code.

Found 1 instance in 1 package

AI-detected possible typosquat

Supply chain risk

There is a package with a similar name that is downloaded much more often.

Did you mean

puppeteer

Install scripts

Supply chain risk

Install scripts are run when the package is installed. The majority of malware in npm is hidden in install scripts.

Found 1 instance in 1 package

Dependencies have 7 high alerts.

Socket optimized override available

Version published
Weekly downloads
0
Maintainers
0
Weekly downloads
 
Created
Issues
17

puppeteer-web bundle created using browserify

Why?

  • The bundlers fails to bundle puppeteer, and downloading puppeteer repo just to build puppeteer-web version seems like a hassle for quick development.
  • Puppeteer team removed puppeteer-web from their repo in this PR
  • The previous puppeteer could be found here on this commit, but it's a pain to build that as well.
  • Lots of questions in stackoverflow like this shows the demand of such library.

Usage

yarn add puppeteer-web
import puppeteer from 'puppeteer-web';

async function run(){

  const browser = await puppeteer.connect({
    browserWSEndpoint: `ws://0.0.0.0:8080`, // <-- connect to a server running somewhere
    ignoreHTTPSErrors: true
  });

  const pagesCount = (await browser.pages()).length;
  const browserWSEndpoint = await browser.wsEndpoint();
  console.log({ browserWSEndpoint, pagesCount });

}

Roadmap

  • Auto build new minorversion on new puppeteer-core release
  • Update document about pitfall
  • Add server and client example along with a explanation post

FAQs

Package last updated on 31 Oct 2024

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