@marionebl/bundle-id
v2.0.1
Published
Get bundle identifier from a bundle name (macOS): `Safari` → `com.apple.Safari`
Downloads
1,571
Maintainers
Readme
bundle-id
Get bundle identifier from a bundle name (macOS):
Safari
→com.apple.Safari
Install
$ npm install --save bundle-id
Usage
const bundleId = require('bundle-id');
bundleId('Safari').then(id => {
console.log(id);
//=> 'com.apple.Safari'
});
Related
- bundle-id-cli - CLI for this module
- bundle-name - Get bundle name from a bundle identifier
License
MIT © Sindre Sorhus