JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 9819103
  • Score
    100M100P100Q261473F
  • License MIT

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

Package Exports

  • bundle-name

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (bundle-name) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

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