node package manager
Stop writing boring code. Discover, share, and reuse within your team. Create a free org »

bundle-id

bundle-id Build Status

Get bundle identifier from a bundle name (macOS): Safaricom.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

License

MIT © Sindre Sorhus