|
há 3 meses atrás | |
---|---|---|
.. | ||
index.js | há 3 meses atrás | |
license | há 3 meses atrás | |
package.json | há 3 meses atrás | |
readme.md | há 3 meses atrás |
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'