Get bundle name from a bundle identifier (macOS): com.apple.Safari → Safari
MIT License
Get bundle name from a bundle identifier (macOS):
com.apple.Safari
→Safari
npm install bundle-name
import bundleName from 'bundle-name';
console.log(await bundleName('com.apple.Safari'));
//=> 'Safari'