{"id":23263743,"url":"https://github.com/danielbayley/domain-bundle-id","last_synced_at":"2026-05-02T23:37:16.376Z","repository":{"id":64822470,"uuid":"578383646","full_name":"danielbayley/domain-bundle-id","owner":"danielbayley","description":"Get a macOS bundle identifier from a domain.","archived":false,"fork":false,"pushed_at":"2022-12-22T12:51:27.000Z","size":10,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-09T03:03:09.165Z","etag":null,"topics":["bundle","bundle-identifier","bundleid","domain","macos","npm","npm-module","npm-package","osx","plist","property-list","propertylist","uri","url"],"latest_commit_sha":null,"homepage":"https://developer.apple.com/documentation/bundleresources/information_property_list/cfbundleidentifier","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/danielbayley.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null},"funding":{"github":"danielbayley","custom":["https://paypal.me/danieljbayley","BTC 37rdZq4muDVNJh6jCr4XDXf8X2EFKjL3QQ","ETH 0x6248B4349e633969376dA20F9C8577530062BE64"]}},"created_at":"2022-12-14T23:31:06.000Z","updated_at":"2025-10-08T01:02:26.000Z","dependencies_parsed_at":"2023-01-30T09:16:33.166Z","dependency_job_id":null,"html_url":"https://github.com/danielbayley/domain-bundle-id","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/danielbayley/domain-bundle-id","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danielbayley%2Fdomain-bundle-id","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danielbayley%2Fdomain-bundle-id/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danielbayley%2Fdomain-bundle-id/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danielbayley%2Fdomain-bundle-id/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/danielbayley","download_url":"https://codeload.github.com/danielbayley/domain-bundle-id/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danielbayley%2Fdomain-bundle-id/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32553688,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-02T22:28:24.418Z","status":"ssl_error","status_checked_at":"2026-05-02T22:28:14.225Z","response_time":132,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["bundle","bundle-identifier","bundleid","domain","macos","npm","npm-module","npm-package","osx","plist","property-list","propertylist","uri","url"],"created_at":"2024-12-19T14:20:07.548Z","updated_at":"2026-05-02T23:37:16.333Z","avatar_url":"https://github.com/danielbayley.png","language":"JavaScript","funding_links":["https://github.com/sponsors/danielbayley","https://paypal.me/danieljbayley","BTC 37rdZq4muDVNJh6jCr4XDXf8X2EFKjL3QQ","ETH 0x6248B4349e633969376dA20F9C8577530062BE64"],"categories":[],"sub_categories":[],"readme":"Domain ⮂ _[Bundle ID]_\n=======================\nGenerate a macOS _[bundle identifier][bundle id]_ from a [URL]/[domain].\n\nUsage\n-----\n~~~ js\nimport {genBundleId, getDomain} from '@danielbayley/domain-bundle-id'\n\nconst domain = 'https://domain.com/App?q=uery#anchor'\n\ngenBundleId(domain) // com.domain.App\n\ngenBundleId(domain, true) // com.domain.app\n\ngenBundleId('www.someapp.com') // com.someapp.Some\n\ngetDomain('com.domain.App') // domain.com/App\n~~~\n\n[Install]\n---------\nAssuming you already [configured] `npm` to work with [GitHub Packages]:\n~~~ sh\nnpm config set @danielbayley:registry https://npm.pkg.github.com\nnpm config set //npm.pkg.github.com:_authToken ${GITHUB_TOKEN}\nnpm install @danielbayley/domain-bundle-id #--save-dev\n~~~\n\nContribute\n----------\n~~~ sh\ngit config core.hooksPath .github/hooks\n~~~\n\nLicense\n-------\n[MIT] © [Daniel Bayley]\n\n[MIT]:              LICENSE.md\n[Daniel Bayley]:    https://github.com/danielbayley\n\n[alfred]:           https://alfredapp.com\n[powerpack]:        https://alfredapp.com/powerpack\n[workflows]:        https://alfredapp.com/workflows\n\n[github packages]:  https://github.com/features/packages\n[configured]:       https://docs.github.com/packages/working-with-a-github-packages-registry/working-with-the-npm-registry#authenticating-to-github-packages\n[install]:          https://github.com/danielbayley/domain-bundle-id/pkgs/npm/domain-bundle-id\n\n[bundle id]:        https://developer.apple.com/documentation/bundleresources/information_property_list/cfbundleidentifier\n[url]:              https://developer.mozilla.org/docs/Learn/Common_questions/What_is_a_URL\n[domain]:           https://developer.mozilla.org/docs/Learn/Common_questions/What_is_a_URL/mdn-url-all.png\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanielbayley%2Fdomain-bundle-id","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdanielbayley%2Fdomain-bundle-id","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanielbayley%2Fdomain-bundle-id/lists"}