|
|
пре 1 месец | |
|---|---|---|
| .. | ||
| index.js | пре 1 месец | |
| license | пре 1 месец | |
| package.json | пре 1 месец | |
| readme.md | пре 1 месец | |
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'