Gathering detailed insights and metrics for puppeteer-extra-plugin
Gathering detailed insights and metrics for puppeteer-extra-plugin
Gathering detailed insights and metrics for puppeteer-extra-plugin
Gathering detailed insights and metrics for puppeteer-extra-plugin
puppeteer-extra-plugin-adblocker
A puppeteer-extra plugin to block ads and trackers.
puppeteer-extra-plugin-recaptcha
A puppeteer-extra plugin to solve reCAPTCHAs and hCaptchas automatically.
puppeteer-extra-plugin-timezone
A puppeteer-extra plugin to automatically emulate the appropriate timezones using IP reflection services.
puppeteer-extra-plugin-proxy
A puppeteer-extra plugin to add convenient proxy support to puppeteer
💯 Teach puppeteer new tricks through plugins.
npm install puppeteer-extra-plugin
Module System
Min. Node Version
Typescript Support
Node Version
NPM Version
6,525 Stars
604 Commits
744 Forks
114 Watching
5 Branches
49 Contributors
Updated on 27 Nov 2024
Minified
Minified + Gzipped
JavaScript (59.86%)
TypeScript (39.86%)
HTML (0.19%)
Shell (0.09%)
Cumulative downloads
Total Downloads
Last day
8.4%
51,566
Compared to previous day
Last week
12%
299,913
Compared to previous week
Last month
6.2%
1,182,610
Compared to previous month
Last year
54.4%
18,062,426
Compared to previous year
3
2
This is the monorepo for puppeteer-extra
, a modular plugin framework for puppeteer
. :-)
🌟 For the main documentation, please head over to the puppeteer-extra
package.
We've also recently introduced support for Playwright, if you're interested in that head over to playwright-extra
.
PRs and new plugins are welcome! The plugin API for puppeteer-extra
is clean and fun to use. Have a look the PuppeteerExtraPlugin
base class documentation to get going and check out the existing plugins (minimal example is the anonymize-ua plugin) for reference.
We use a monorepo powered by Lerna (and yarn workspaces), ava for testing, the standard style for linting and JSDoc heavily to auto-generate markdown documentation based on code. :-)
This monorepo is powered by Lerna and yarn workspaces.
1# Install deps 2yarn 3 4# Bootstrap the packages in the current Lerna repo. 5# Installs all of their dependencies and links any cross-dependencies. 6yarn bootstrap 7 8# Build all TypeScript sources 9yarn build
1# Install debug in all packages 2yarn lerna add debug 3 4# Install fs-extra to puppeteer-extra-plugin-user-data-dir 5yarn lerna add fs-extra --scope=puppeteer-extra-plugin-user-data-dir 6 7# Remove dependency 8# https://github.com/lerna/lerna/issues/833 9yarn lerna exec --concurrency 1 'yarn remove fs-extra; echo 0' 10 11# Run test in all packages 12yarn test 13 14# Update JSDoc based documentation in markdown files 15yarn docs 16 17# Upgrade project wide deps like puppeteer 18# (We keep the devDependency version blurry) 19rm -rf node_modules 20rm -rf yarn.lock 21yarn 22yarn lerna bootstrap 23 24# Update deps within packages (interactive) 25yarn lernaupdate 26 27# If in doubt :-( 28yarn lerna exec "rm -f yarn.lock; rm -rf node_modules; echo 0" 29rm -f yarn.lock && rm -rf node_modules && yarn cache clean 30 31# Run tests of specific package 32cd packages/puppeteer-extra-plugin-stealth 33yarn test 34 35# Run tests of specific stealth evasion 36cd packages/puppeteer-extra-plugin-stealth 37yarn ava -v ./evasions/user-agent-override/index.test.js 38 39# Test a local monorepo package in an outside folder as it would've been installed from the registry 40# Change PACKAGE_DIR to the path of this monorepo and PACKAGE to the package you wish to install 41PACKAGE=puppeteer-extra PACKAGE_DIR=/Users/foo/puppeteer-extra/packages && yarn remove $(echo $PACKAGE); true && rm -f $(pwd)/$(echo $PACKAGE)-latest.tgz && yarn --cwd $(echo $PACKAGE_DIR)/$(echo $PACKAGE) pack --filename $(pwd)/$(echo $PACKAGE)-latest.tgz && YARN_CACHE_FOLDER=/tmp/yarn yarn add file:$(pwd)/$(echo $PACKAGE)-latest.tgz && rm -rf /tmp/yarn
1# make sure you're signed into npm before publishing 2# yarn publishing is broken so lerna uses npm 3npm whoami 4 5# ensure everything is up2date and peachy 6yarn 7yarn bootstrap 8yarn lerna link 9yarn build 10yarn test 11 12# Phew, let's publish these packages! 13# - Will publish all changed packages 14# - Will ask for new pkg version per package 15# - Will updated inter-package dependency versions automatically 16yarn lerna publish 17 18# Fix new dependency version symlinks 19yarn bootstrap && yarn lerna link
No vulnerabilities found.
Reason
no dangerous workflow patterns detected
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
Found 7/30 approved changesets -- score normalized to 2
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
Reason
dependency not pinned by hash detected -- score normalized to 0
Details
Reason
project is not fuzzed
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Reason
54 existing vulnerabilities detected
Details
Score
Last Scanned on 2024-11-25
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More