@cjser/bundle-name
v4.1.0-cjser.2
Published
Get bundle name from a bundle identifier (macOS): `com.apple.Safari` → `Safari`
Maintainers
Readme
bundle-name
Get bundle name from a bundle identifier (macOS):
com.apple.Safari→Safari
Install
npm install bundle-nameUsage
import bundleName from 'bundle-name';
console.log(await bundleName('com.apple.Safari'));
//=> 'Safari'Related
- bundle-name-cli - CLI for this module
- bundle-id - Get bundle identifier from a bundle name
cjser
This package is a CommonJS-compatible build generated by cjser for projects that still need require() support. The source version matches the original npm package version, with a cjser prerelease suffix for this generated build.
Original repository: https://github.com/sindresorhus/bundle-name
