Get bundle identifier from a bundle name (macOS):
Safari→com.apple.Safari
$ npm install bundle-id
import {bundleId} from 'bundle-id';
console.log(await bundleId('Safari'));
//=> 'com.apple.Safari'
Returns a Promise<string> with the bundle ID.
Returns a string with the bundle ID.