bundle-name

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

npm install bundle-name
4 downloads in the last week
5 downloads in the last month

bundle-name Build Status

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

Install

npm install --save bundle-name

Example

var bundleName = require('bundle-name');

bundleName('com.apple.Safari');
//=> Safari

CLI

You can also use it as a CLI app by installing it globally:

npm install --global bundle-name

Usage

bundle-name com.apple.Safari

Which will output Safari.

License

MIT © Sindre Sorhus

npm loves you