Skip to content

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

License

Notifications You must be signed in to change notification settings

sindresorhus/bundle-name

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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