Skip to content
sindresorhusPublic

About

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

Resources

Code of conduct

Contributing

Stars

18 stars

Watchers

5 watching

Forks

Latest commit

 

History

34 Commits

Folders and files

Repository files navigation

bundle-id

Get bundle identifier from a bundle name (macOS): Safari → com.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

About

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

Resources

Code of conduct

Contributing

Stars

18 stars

Watchers

5 watching

Forks

Releases

Sponsor this project

Packages

Used by

Contributors

Languages