{"name":"@puppeteer/browsers","version":"2.6.1","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 && tsx ../../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":"tsx ../../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.6","unbzip2-stream":"^1.4.3","yargs":"^17.7.2","semver":"^7.6.3"},"devDependencies":{"@types/debug":"4.1.12","@types/progress":"2.0.7","@types/tar-fs":"2.0.4","@types/unbzip2-stream":"1.4.3","@types/yargs":"17.0.33"},"_id":"@puppeteer/browsers@2.6.1","gitHead":"193fffd891af063b9a4a6dc61c0872d452c4407b","types":"./lib/cjs/main.d.ts","bugs":{"url":"https://github.com/puppeteer/puppeteer/issues"},"homepage":"https://github.com/puppeteer/puppeteer/tree/main#readme","_nodeVersion":"18.20.5","_npmVersion":"10.8.2","dist":{"integrity":"sha512-aBSREisdsGH890S2rQqK82qmQYU3uFpSH8wcZWHgHzl3LfzsxAKbLNiAG9mO8v1Y0UICBeClICxPJvyr0rcuxg==","shasum":"d75aec5010cae377c5e4742bf5e4f62a79c21315","tarball":"http://registry-npm.ywwl.com/@puppeteer/browsers/download/@puppeteer/browsers-2.6.1.tgz","fileCount":158,"unpackedSize":516513,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDPT4Igj47RryiZDNTAs6UCfU+zAiwFbBxEEytRwyLwngIgb8yKha/597vJsc0I9wbWWhM/Ksh+ll3ZLoRaeUlzIPo="}],"size":75774,"noattachment":false,"key":"/@puppeteer/browsers/-/@puppeteer/browsers-2.6.1.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.6.1_1733856641438_0.3607481309057803"},"_hasShrinkwrap":false,"readme":"# @puppeteer/browsers\n\nManage and launch browsers/drivers from a CLI or programmatically.\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\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":1733856641670,"maintainers":[{"name":"mathias","email":"mathias@qiwi.be"},{"name":"google-wombot","email":"node-team-npm+wombot@google.com"}],"_cnpm_publish_time":1733856641670,"dist-tags":{"latest":"3.2.6"}}