{"_id":"bundle-name","_rev":"3186070","name":"bundle-name","description":"Get bundle name from a bundle identifier (macOS): `com.apple.Safari` → `Safari`","dist-tags":{"latest":"4.1.0"},"maintainers":[{"name":"sindresorhus","email":""}],"time":{"modified":"2024-01-03T07:15:08.000Z","created":"2014-01-27T19:47:01.239Z","4.1.0":"2023-12-18T23:18:40.946Z","4.0.0":"2023-08-31T14:56:03.813Z","3.0.0":"2021-03-07T13:44:35.593Z","2.0.1":"2015-10-08T11:39:14.729Z","2.0.0":"2015-10-08T11:38:02.457Z","1.0.1":"2014-08-18T18:13:38.368Z","1.0.0":"2014-08-14T15:08:26.234Z","0.1.1":"2014-01-27T22:09:13.048Z","0.1.0":"2014-01-27T19:47:01.239Z"},"users":{},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"repository":{"type":"git","url":"git+https://github.com/sindresorhus/bundle-name.git"},"versions":{"4.1.0":{"name":"bundle-name","version":"4.1.0","description":"Get bundle name from a bundle identifier (macOS): `com.apple.Safari` → `Safari`","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/bundle-name.git"},"funding":"https://github.com/sponsors/sindresorhus","author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"type":"module","exports":"./index.js","sideEffects":false,"engines":{"node":">=18"},"scripts":{"test":"xo && ava"},"keywords":["macos","plist","applescript","bundle","bundleid","bundlename","id","identifier","CFBundleName","CFBundleIdentifier","uti"],"dependencies":{"run-applescript":"^7.0.0"},"devDependencies":{"ava":"^6.0.1","xo":"^0.56.0"},"gitHead":"c5f80b27d357a2a260819e8d22c416172b4a263c","bugs":{"url":"https://github.com/sindresorhus/bundle-name/issues"},"homepage":"https://github.com/sindresorhus/bundle-name#readme","_id":"bundle-name@4.1.0","_nodeVersion":"18.19.0","_npmVersion":"9.2.0","dist":{"shasum":"f3b96b34160d6431a19d7688135af7cfb8797889","size":1680,"noattachment":false,"key":"/bundle-name/-/bundle-name-4.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/bundle-name/download/bundle-name-4.1.0.tgz"},"_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"directories":{},"maintainers":[{"name":"sindresorhus","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/bundle-name_4.1.0_1702941520751_0.4754042044527411"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-12-18T23:18:40.946Z","publish_time":1702941520946,"_source_registry_name":"default","_cnpm_publish_time":1702941520946},"4.0.0":{"name":"bundle-name","version":"4.0.0","description":"Get bundle name from a bundle identifier (macOS): `com.apple.Safari` → `Safari`","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/bundle-name.git"},"funding":"https://github.com/sponsors/sindresorhus","author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"type":"module","exports":"./index.js","engines":{"node":">=18"},"scripts":{"test":"xo && ava"},"keywords":["macos","plist","applescript","bundle","bundleid","bundlename","id","identifier","CFBundleName","CFBundleIdentifier","uti"],"dependencies":{"run-applescript":"^6.1.0"},"devDependencies":{"ava":"^5.3.1","xo":"^0.56.0"},"gitHead":"0530d1211aecd276f8b8f432b2dc86275f7bf023","bugs":{"url":"https://github.com/sindresorhus/bundle-name/issues"},"homepage":"https://github.com/sindresorhus/bundle-name#readme","_id":"bundle-name@4.0.0","_nodeVersion":"18.16.1","_npmVersion":"9.2.0","dist":{"shasum":"2c59220a9fa41f8d43895a584cd324bf3da56412","size":1656,"noattachment":false,"key":"/bundle-name/-/bundle-name-4.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/bundle-name/download/bundle-name-4.0.0.tgz"},"_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"directories":{},"maintainers":[{"name":"sindresorhus","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/bundle-name_4.0.0_1693493763662_0.7017558819808953"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-08-31T14:56:03.813Z","publish_time":1693493763813,"_source_registry_name":"default","_cnpm_publish_time":1693493763813},"3.0.0":{"name":"bundle-name","version":"3.0.0","description":"Get bundle name from a bundle identifier (macOS): `com.apple.Safari` → `Safari`","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/bundle-name.git"},"funding":"https://github.com/sponsors/sindresorhus","author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"type":"module","exports":"./index.js","engines":{"node":">=12"},"scripts":{"test":"xo && ava"},"keywords":["macos","plist","applescript","bundle","bundleid","bundlename","id","identifier","CFBundleName","CFBundleIdentifier","uti"],"dependencies":{"run-applescript":"^5.0.0"},"devDependencies":{"ava":"^3.15.0","xo":"^0.38.2"},"gitHead":"c7961aef946acbb6f9ce6d98215fdab069a489b3","bugs":{"url":"https://github.com/sindresorhus/bundle-name/issues"},"homepage":"https://github.com/sindresorhus/bundle-name#readme","_id":"bundle-name@3.0.0","_nodeVersion":"14.16.0","_npmVersion":"6.14.10","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"ba59bcc9ac785fb67ccdbf104a2bf60c099f0e1a","size":1678,"noattachment":false,"key":"/bundle-name/-/bundle-name-3.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/bundle-name/download/bundle-name-3.0.0.tgz"},"directories":{},"maintainers":[{"name":"sindresorhus","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/bundle-name_3.0.0_1615124675406_0.6421293649563369"},"_hasShrinkwrap":false,"publish_time":1615124675593,"_cnpm_publish_time":1615124675593},"2.0.1":{"name":"bundle-name","version":"2.0.1","description":"Get bundle name from a bundle identifier (OS X): com.apple.Safari → Safari","license":"MIT","repository":{"type":"git","url":"https://github.com/sindresorhus/bundle-name"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=4"},"scripts":{"test":"xo && ava"},"files":["index.js"],"keywords":["osx","plist","applescript","bundle","bundleid","bundlename","id","identifier","CFBundleName","CFBundleIdentifier","uti"],"dependencies":{"run-applescript":"^2.0.0"},"devDependencies":{"ava":"*","xo":"*"},"xo":{"esnext":true},"gitHead":"b1781151d1fe89ba571cd99727cc0de2e45e1be1","bugs":{"url":"https://github.com/sindresorhus/bundle-name/issues"},"homepage":"https://github.com/sindresorhus/bundle-name","_id":"bundle-name@2.0.1","_shasum":"bcb2540df337b572d716e468f6753a7cee338803","_from":".","_npmVersion":"2.14.4","_nodeVersion":"4.1.1","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"bcb2540df337b572d716e468f6753a7cee338803","size":1772,"noattachment":false,"key":"/bundle-name/-/bundle-name-2.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/bundle-name/download/bundle-name-2.0.1.tgz"},"maintainers":[{"name":"sindresorhus","email":""}],"directories":{},"publish_time":1444304354729,"_cnpm_publish_time":1444304354729,"_hasShrinkwrap":false},"2.0.0":{"name":"bundle-name","version":"2.0.0","description":"Get bundle name from a bundle identifier (OS X): com.apple.Safari → Safari","license":"MIT","repository":{"type":"git","url":"https://github.com/sindresorhus/bundle-name"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=0.10.0"},"scripts":{"test":"xo && ava"},"files":["index.js"],"keywords":["osx","plist","applescript","bundle","bundleid","bundlename","id","identifier","CFBundleName","CFBundleIdentifier","uti"],"dependencies":{"meow":"^3.4.2","run-applescript":"^2.0.0"},"devDependencies":{"ava":"*","xo":"*"},"xo":{"esnext":true},"gitHead":"702b87f816d73e42bbf0a1a1b4718a6cda70f7d5","bugs":{"url":"https://github.com/sindresorhus/bundle-name/issues"},"homepage":"https://github.com/sindresorhus/bundle-name","_id":"bundle-name@2.0.0","_shasum":"560fcf6e6bcd5e0c3d82b9597e7d08bd2e8fb908","_from":".","_npmVersion":"2.14.4","_nodeVersion":"4.1.1","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"560fcf6e6bcd5e0c3d82b9597e7d08bd2e8fb908","size":1785,"noattachment":false,"key":"/bundle-name/-/bundle-name-2.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/bundle-name/download/bundle-name-2.0.0.tgz"},"maintainers":[{"name":"sindresorhus","email":""}],"directories":{},"publish_time":1444304282457,"_cnpm_publish_time":1444304282457,"_hasShrinkwrap":false},"1.0.1":{"name":"bundle-name","version":"1.0.1","description":"Get bundle name from a bundle identifier (OS X): com.apple.Safari => Safari","license":"MIT","bin":{"bundle-name":"cli.js"},"repository":{"type":"git","url":"git://github.com/sindresorhus/bundle-name"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"http://sindresorhus.com"},"engines":{"node":">=0.10.0"},"os":["darwin"],"scripts":{"test":"mocha"},"files":["index.js","cli.js"],"keywords":["osx","mac","plist","applescript","bundle","bundleid","bundlename","id","identifier","CFBundleName","CFBundleIdentifier","uti","cli","bin"],"dependencies":{"run-applescript":"^1.0.0"},"devDependencies":{"mocha":"*"},"gitHead":"6c72fbcaa9dd82773b16839a659b9a16b9a26cf6","bugs":{"url":"https://github.com/sindresorhus/bundle-name/issues"},"homepage":"https://github.com/sindresorhus/bundle-name","_id":"bundle-name@1.0.1","_shasum":"a431a21180822f623436c0db0316d41b4e7131ea","_from":".","_npmVersion":"1.4.14","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"maintainers":[{"name":"sindresorhus","email":""}],"dist":{"shasum":"a431a21180822f623436c0db0316d41b4e7131ea","size":1432,"noattachment":false,"key":"/bundle-name/-/bundle-name-1.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/bundle-name/download/bundle-name-1.0.1.tgz"},"directories":{},"publish_time":1408385618368,"_cnpm_publish_time":1408385618368,"_hasShrinkwrap":false},"1.0.0":{"name":"bundle-name","version":"1.0.0","description":"Get bundle name from a bundle identifier (OS X): com.apple.Safari => Safari","license":"MIT","bin":{"bundle-name":"cli.js"},"repository":{"type":"git","url":"https://github.com/sindresorhus/bundle-name"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"http://sindresorhus.com"},"engines":{"node":">=0.10.0"},"os":["darwin"],"scripts":{"test":"mocha"},"files":["index.js","cli.js"],"keywords":["osx","mac","plist","applescript","bundle","bundleid","bundlename","id","identifier","CFBundleName","CFBundleIdentifier","uti","cli","bin"],"devDependencies":{"mocha":"*"},"gitHead":"c5bce41faf61aab284720af3d03cc74e701ec2ef","bugs":{"url":"https://github.com/sindresorhus/bundle-name/issues"},"homepage":"https://github.com/sindresorhus/bundle-name","_id":"bundle-name@1.0.0","_shasum":"3961749d50e3ff3b825fe9266fb6d7396a394da3","_from":".","_npmVersion":"1.4.21","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"maintainers":[{"name":"sindresorhus","email":""}],"dist":{"shasum":"3961749d50e3ff3b825fe9266fb6d7396a394da3","size":1445,"noattachment":false,"key":"/bundle-name/-/bundle-name-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/bundle-name/download/bundle-name-1.0.0.tgz"},"directories":{},"publish_time":1408028906234,"_cnpm_publish_time":1408028906234,"_hasShrinkwrap":false},"0.1.1":{"name":"bundle-name","version":"0.1.1","description":"Get bundle name from a bundle identifier (OS X): com.apple.Safari => Safari","license":"MIT","bin":{"bundle-name":"cli.js"},"repository":{"type":"git","url":"git://github.com/sindresorhus/bundle-name"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"http://sindresorhus.com"},"engines":{"node":">=0.10.0"},"os":["darwin"],"scripts":{"test":"mocha"},"files":["index.js","cli.js"],"keywords":["osx","mac","plist","applescript","bundle","bundleid","bundlename","id","identifier","CFBundleName","CFBundleIdentifier","uti","cli","bin"],"devDependencies":{"mocha":"*"},"bugs":{"url":"https://github.com/sindresorhus/bundle-name/issues"},"homepage":"https://github.com/sindresorhus/bundle-name","_id":"bundle-name@0.1.1","dist":{"shasum":"7e23af5f57f3f1210ecf67bda42ac4e45171ebfa","size":1388,"noattachment":false,"key":"/bundle-name/-/bundle-name-0.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/bundle-name/download/bundle-name-0.1.1.tgz"},"_from":".","_npmVersion":"1.3.25","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"maintainers":[{"name":"sindresorhus","email":""}],"directories":{},"publish_time":1390860553048,"_cnpm_publish_time":1390860553048,"_hasShrinkwrap":false},"0.1.0":{"name":"bundle-name","version":"0.1.0","description":"Get bundle name from a bundle identifier (OS X): com.apple.Safari => Safari","license":"MIT","bin":{"bundle-name":"cli.js"},"repository":{"type":"git","url":"git://github.com/sindresorhus/bundle-name"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"http://sindresorhus.com"},"engines":{"node":">=0.10.0"},"os":["darwin"],"scripts":{"test":"mocha"},"files":["index.js","cli.js"],"keywords":["osx","mac","plist","applescript","bundle","bundleid","bundlename","id","identifier","CFBundleName","CFBundleIdentifier","uti","cli","bin"],"devDependencies":{"mocha":"*"},"bugs":{"url":"https://github.com/sindresorhus/bundle-name/issues"},"homepage":"https://github.com/sindresorhus/bundle-name","_id":"bundle-name@0.1.0","dist":{"shasum":"c23dc7e98e0a763f749c1455ff0e73b6a866e820","size":1424,"noattachment":false,"key":"/bundle-name/-/bundle-name-0.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/bundle-name/download/bundle-name-0.1.0.tgz"},"_from":".","_npmVersion":"1.3.25","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"maintainers":[{"name":"sindresorhus","email":""}],"directories":{},"publish_time":1390852021239,"_cnpm_publish_time":1390852021239,"_hasShrinkwrap":false}},"readme":"# bundle-name\n\n> Get [bundle name](https://developer.apple.com/library/Mac/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html#//apple_ref/doc/plist/info/CFBundleName) from a [bundle identifier](https://developer.apple.com/library/Mac/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html#//apple_ref/doc/plist/info/CFBundleIdentifier) (macOS): `com.apple.Safari` → `Safari`\n\n## Install\n\n```sh\nnpm install bundle-name\n```\n\n## Usage\n\n```js\nimport bundleName from 'bundle-name';\n\nconsole.log(await bundleName('com.apple.Safari'));\n//=> 'Safari'\n```\n\n## Related\n\n- [bundle-name-cli](https://github.com/sindresorhus/bundle-name-cli) - CLI for this module\n- [bundle-id](https://github.com/sindresorhus/bundle-id) - Get bundle identifier from a bundle name\n","_attachments":{},"homepage":"https://github.com/sindresorhus/bundle-name#readme","bugs":{"url":"https://github.com/sindresorhus/bundle-name/issues"},"license":"MIT"}