bundle-name

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

Usage no npm install needed!

<script type="module">
  import bundleName from 'https://cdn.skypack.dev/bundle-name';
</script>

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'

Related