zheng 3cabbb3159 webpack il y a 1 mois
..
index.js 3cabbb3159 webpack il y a 1 mois
license 3cabbb3159 webpack il y a 1 mois
package.json 3cabbb3159 webpack il y a 1 mois
readme.md 3cabbb3159 webpack il y a 1 mois

readme.md

bundle-name

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

Install

npm install bundle-name

Usage

import bundleName from 'bundle-name';

console.log(await bundleName('com.apple.Safari'));
//=> 'Safari'

Related