{"name":"@puppeteer/browsers","version":"2.8.0","description":"Download and launch browsers","scripts":{"build:docs":"wireit","build":"wireit","build:test":"wireit","clean":"../../tools/clean.mjs","test":"wireit"},"type":"commonjs","bin":{"browsers":"lib/cjs/main-cli.js"},"main":"./lib/cjs/main.js","exports":{"import":"./lib/esm/main.js","require":"./lib/cjs/main.js"},"wireit":{"build":{"command":"tsc -b && node --experimental-strip-types ../../tools/chmod.ts 755 lib/cjs/main-cli.js lib/esm/main-cli.js","files":["src/**/*.ts","tsconfig.json"],"clean":"if-file-deleted","output":["lib/**","!lib/esm/package.json"],"dependencies":["generate:package-json"]},"generate:package-json":{"command":"node --experimental-strip-types ../../tools/generate_module_package_json.ts lib/esm/package.json","files":["../../tools/generate_module_package_json.ts"],"output":["lib/esm/package.json"]},"build:docs":{"command":"api-extractor run --local --config \"./api-extractor.docs.json\"","files":["api-extractor.docs.json","lib/esm/main.d.ts","tsconfig.json"],"dependencies":["build"]},"build:test":{"command":"tsc -b test/src/tsconfig.json","files":["test/**/*.ts","test/src/tsconfig.json"],"output":["test/build/**"],"dependencies":["build","../testserver:build"]},"test":{"command":"node tools/downloadTestBrowsers.mjs && mocha","files":[".mocharc.cjs"],"dependencies":["build:test"]}},"keywords":["puppeteer","browsers"],"repository":{"type":"git","url":"git+https://github.com/puppeteer/puppeteer.git#main"},"author":{"name":"The Chromium Authors"},"license":"Apache-2.0","engines":{"node":">=18"},"dependencies":{"debug":"^4.4.0","extract-zip":"^2.0.1","progress":"^2.0.3","proxy-agent":"^6.5.0","tar-fs":"^3.0.8","yargs":"^17.7.2","semver":"^7.7.1"},"devDependencies":{"@types/debug":"4.1.12","@types/progress":"2.0.7","@types/tar-fs":"2.0.4","@types/yargs":"17.0.33"},"_id":"@puppeteer/browsers@2.8.0","gitHead":"842075f7dafd8853d73552436dcf9130845d80ca","types":"./lib/cjs/main.d.ts","bugs":{"url":"https://github.com/puppeteer/puppeteer/issues"},"homepage":"https://github.com/puppeteer/puppeteer/tree/main#readme","_nodeVersion":"22.14.0","_npmVersion":"10.9.2","dist":{"integrity":"sha512-yTwt2KWRmCQAfhvbCRjebaSX8pV1//I0Y3g+A7f/eS7gf0l4eRJoUCvcYdVtboeU4CTOZQuqYbZNS8aBYb8ROQ==","shasum":"9d592933cbefc66c37823770844b8cbac52607dd","tarball":"http://registry-npm.ywwl.com/@puppeteer/browsers/download/@puppeteer/browsers-2.8.0.tgz","fileCount":158,"unpackedSize":528300,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQDhDeWwllcBnZo947IhFGbqqiHwohxRpXs4Cjqqua9+pQIgPkvl4V90NBYOVYtVxRHBuEWdMsKZOm5Y+lNaf5CrQSs="}],"size":77759,"noattachment":false,"key":"/@puppeteer/browsers/-/@puppeteer/browsers-2.8.0.tgz"},"_npmUser":{"name":"google-wombot","email":"node-team-npm+wombot@google.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/browsers_2.8.0_1741250089682_0.4892592951882109"},"_hasShrinkwrap":false,"readme":"# @puppeteer/browsers\n\nManage and launch browsers/drivers from a CLI or programmatically.\n\n## System requirements\n\n- A compatible Node version (see `engines` in `package.json`).\n- For Firefox downloads:\n  - Linux builds: `xz` and `bzip2` utilities are required to unpack `.tar.gz` and `.tar.bz2` archives.\n  - MacOS builds: `hdiutil` is required to unpack `.dmg` archives.\n\n## CLI\n\nUse `npx` to run the CLI:\n\n```bash\n# This will install and run the @puppeteer/browsers package.\n# If it is already installed in the current directory, the installed\n# version will be used.\nnpx @puppeteer/browsers --help\n```\n\nBuilt-in per-command `help` will provide all documentation you need to use the CLI.\n\n```bash\nnpx @puppeteer/browsers --help # help for all commands\nnpx @puppeteer/browsers install --help # help for the install command\nnpx @puppeteer/browsers launch --help # help for the launch command\nnpx @puppeteer/browsers clear --help # help for the clear command\nnpx @puppeteer/browsers list --help # help for the list command\n```\n\nYou can specify the version of the `@puppeteer/browsers` when using\n`npx`:\n\n```bash\n# Always install and use the latest version from the registry.\nnpx @puppeteer/browsers@latest --help\n# Always use a specifc version.\nnpx @puppeteer/browsers@2.4.1 --help\n# Always install the latest version and automatically confirm the installation.\nnpx --yes @puppeteer/browsers@latest --help\n```\n\nTo clear all installed browsers, use the `clear` command:\n\n```bash\nnpx @puppeteer/browsers clear\n```\n\nTo list all installed browsers, use the `list` command:\n\n```bash\nnpx @puppeteer/browsers list\n```\n\nSome example to give an idea of what the CLI looks like (use the `--help` command for more examples):\n\n```sh\n# Download the latest available Chrome for Testing binary corresponding to the Stable channel.\nnpx @puppeteer/browsers install chrome@stable\n\n# Download a specific Chrome for Testing version.\nnpx @puppeteer/browsers install chrome@116.0.5793.0\n\n# Download the latest Chrome for Testing version for the given milestone.\nnpx @puppeteer/browsers install chrome@117\n\n# Download the latest available ChromeDriver version corresponding to the Canary channel.\nnpx @puppeteer/browsers install chromedriver@canary\n\n# Download a specific ChromeDriver version.\nnpx @puppeteer/browsers install chromedriver@116.0.5793.0\n\n# On Ubuntu/Debian and only for Chrome, install the browser and required system dependencies.\n# If the browser version has already been installed, the command\n# will still attempt to install system dependencies.\n# Requires root privileges.\nnpx puppeteer browsers install chrome --install-deps\n```\n\n## Known limitations\n\n1. Launching the system browsers is only possible for Chrome/Chromium.\n\n## API\n\nThe programmatic API allows installing and launching browsers from your code. See the `test` folder for examples on how to use the `install`, `canInstall`, `launch`, `computeExecutablePath`, `computeSystemExecutablePath` and other methods.\n","publish_time":1741250089868,"maintainers":[{"name":"mathias","email":"mathias@qiwi.be"},{"name":"google-wombot","email":"node-team-npm+wombot@google.com"}],"_cnpm_publish_time":1741250089868,"dist-tags":{"latest":"3.2.6"}}