bundle-id
DefinitelyTyped icon, indicating that this package has TypeScript declarations provided by the separate @types/bundle-id package

3.0.0 • Public • Published

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

/bundle-id/

    Package Sidebar

    Install

    npm i bundle-id

    Weekly Downloads

    35

    Version

    3.0.0

    License

    MIT

    Unpacked Size

    3.21 kB

    Total Files

    4

    Last publish

    Collaborators

    • sindresorhus