ae

app-exists

Check if an app exists on macOS

Showing:

Popularity

Downloads/wk

78

GitHub Stars

72

Maintenance

Last Commit

5mos ago

Contributors

3

Package

Dependencies

0

Size (min+gzip)

0.5KB

License

MIT

Type Definitions

Tree-Shakeable

No?

Categories

Readme

app-exists

Check if an app exists on macOS

Install

$ npm install app-exists

Usage

import appExists from 'app-exists';

console.log(await appExists('com.sindresorhus.Gifski'));
//=> true

console.log(await appExists('Gifski'));
//=> true

console.log(await appExists('com.sindresorhus.UnicornCakeFun'));
//=> false

API

appExists(bundleIdOrName)

Returns a Promise<Boolean> of whether the app exists on the user's system.

bundleIdOrName

The bundle ID or name of the app.

Prefer specifying bundle ID whenever possible as it's more unique.

  • file-icon - Get the icon of a file or app as a PNG image
  • bundle-name - Get bundle name from a bundle identifier
  • bundle-id - Get bundle identifier from a bundle name

Rate & Review

Great Documentation0
Easy to Use0
Performant0
Highly Customizable0
Bleeding Edge0
Responsive Maintainers0
Poor Documentation0
Hard to Use0
Slow0
Buggy0
Abandoned0
Unwelcoming Community0
100
No reviews found
Be the first to rate

Alternatives

No alternatives found

Tutorials

No tutorials found
Add a tutorial