JSPM

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

Get bundle name from a bundle identifier (macOS): `com.apple.Safari` → `Safari`

Package Exports

  • bundle-name

Readme

bundle-name

Get bundle name from a bundle identifier (macOS): com.apple.SafariSafari

Install

npm install bundle-name

Usage

import bundleName from 'bundle-name';

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