3.0.0 • Published 3 years ago

bundle-id v3.0.0

Weekly downloads
22
License
MIT
Repository
github
Last release
3 years ago

bundle-id

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

Install

$ npm install bundle-id

Usage

import {bundleId} from 'bundle-id';

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

API

bundleId()

Returns a Promise<string> with the bundle ID.

bundleIdSync()

Returns a string with the bundle ID.

Related