{"id":15045151,"url":"https://github.com/mbalabash/find-chrome-bin","last_synced_at":"2025-10-25T03:31:05.393Z","repository":{"id":41391716,"uuid":"429098994","full_name":"mbalabash/find-chrome-bin","owner":"mbalabash","description":"Finds local Chromium to use it with puppeteer-core","archived":false,"fork":false,"pushed_at":"2024-02-25T20:29:59.000Z","size":260,"stargazers_count":9,"open_issues_count":1,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-02-06T04:30:42.260Z","etag":null,"topics":["browser","chrome","chromium","headless","headless-chrome","puppeteer-core"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mbalabash.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-11-17T15:25:16.000Z","updated_at":"2024-11-16T15:15:45.000Z","dependencies_parsed_at":"2024-06-18T20:12:36.011Z","dependency_job_id":"9b8b7ad8-5202-47d4-9a83-82a1d5a85dfb","html_url":"https://github.com/mbalabash/find-chrome-bin","commit_stats":{"total_commits":70,"total_committers":2,"mean_commits":35.0,"dds":"0.014285714285714235","last_synced_commit":"fe91b9cea71fa61bf8f5a56b6b2421b764a614ff"},"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mbalabash%2Ffind-chrome-bin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mbalabash%2Ffind-chrome-bin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mbalabash%2Ffind-chrome-bin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mbalabash%2Ffind-chrome-bin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mbalabash","download_url":"https://codeload.github.com/mbalabash/find-chrome-bin/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238075239,"owners_count":19412298,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["browser","chrome","chromium","headless","headless-chrome","puppeteer-core"],"created_at":"2024-09-24T20:51:31.058Z","updated_at":"2025-10-25T03:31:05.388Z","avatar_url":"https://github.com/mbalabash.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Finds local Chromium to use it with puppeteer-core\n\n- **Cross-platform.** Works on win, mac and linux.\n\n- **Small.** Only 2.4 kB.\n\n## Usage\n\nBy default, it tries to find Chromium v85+ binary with you can then use for launching puppeteer-core for your needs.\n\nRespects `CHROMIUM_EXECUTABLE_PATH` and `PUPPETEER_EXECUTABLE_PATH` environment variables for CI purposes.\n\n```js\nimport { findChrome } from 'find-chrome-bin'\nconst chromeInfo = await findChrome()\nconsole.log(chromeInfo)\n// { browser: \"Google Chrome 96.0.4664.45\", executablePath: \"/Applications/Google Chrome.app/Contents/MacOS/Google Chrome\" }\n```\n\n### Specifying `min` and/or `max` Chromium versions\n\nYou can configure a suitable version using `min` and `max` options.\n\n```js\nimport { findChrome } from 'find-chrome-bin'\nconst chromeInfo = await findChrome({ min: 95, max: 97 })\nconsole.log(chromeInfo)\n// { browser: \"Google Chrome 96.0.4664.45\", executablePath: \"/Applications/Google Chrome.app/Contents/MacOS/Google Chrome\" }\n```\n\n### With fallback to download suitable Chromium revision\n\nIt can also download suitable Chromium revision as fallback (you have to provide puppeteer-core entity and Chromium revision to `download` option).\n\n```js\nimport { join } from 'path'\nimport puppeteer from 'puppeteer-core'\nimport { PUPPETEER_REVISIONS } from 'puppeteer-core/lib/cjs/puppeteer/revisions.js'\nimport { findChrome } from 'find-chrome-bin'\n\nlet chromeInfo = await findChrome({\n  max: 95,\n  download: {\n    puppeteer,\n    path: join('.', 'chrome'),\n    revision: PUPPETEER_REVISIONS.chromium\n  }\n})\nconsole.log(chromeInfo)\n// { browser: \"Chromium 94.0.4606.0\", executablePath: \"/Users/mbalabash/Projects/opensource/find-chrome-bin/example/chrome/mac-911515/chrome-mac/Chromium.app/Contents/MacOS/Chromium\" }\n```\n\n## Install\n\n```js\nnpm i find-chrome-bin\n```\n\nor\n\n```js\nyarn add find-chrome-bin\n```\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmbalabash%2Ffind-chrome-bin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmbalabash%2Ffind-chrome-bin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmbalabash%2Ffind-chrome-bin/lists"}