bundle-name

Get bundle name from a bundle identifier (OS X): com.apple.Safari => Safari

bundle-name

Get bundle name from a bundle identifier (OS X): com.apple.Safari => Safari

$ npm install --save bundle-name
var bundleName = require('bundle-name');
 
bundleName('com.apple.Safari', function (errname) {
    console.log(name);
    //=> Safari 
});
$ npm install --global bundle-name
$ bundle-name --help
 
  Usage
    bundle-name <bundle-id>
 
  Example
    bundle-name com.apple.Safari
    Safari

See bundle-id for the inverse.

MIT © Sindre Sorhus