package
Get bundle name from a bundle identifier (macOS): `com.apple.Safari` → `Safari`
npm install bundle-nameGitHub-flavored package documentation.
Across all versions, last 30 days.
346,966,511 in 30 days
Runtime metadata.
Tagged topics.
Estimated unpacked size across 2 packages.
8.7 kB
Includes dependencies.
Get bundle name from a bundle identifier (macOS):
com.apple.Safari→Safari
npm install bundle-nameimport bundleName from 'bundle-name';
console.log(await bundleName('com.apple.Safari'));
//=> 'Safari'