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