3.0.0 • Published 9 years ago

osx-app-version v3.0.0

Weekly downloads
21
License
MIT
Repository
github
Last release
9 years ago

osx-app-version Build Status

Get an .app's version in OS X systems.

Install

$ npm install --save osx-app-version

Usage

const appVersion = require('osx-app-version');

appVersion('Safari').then(version => {
	console.log(version);
	//=> '8.0'
});

appVersion('/Applications/Safari.app').then(version => {
	console.log(version);
	//=> '8.0'
});

appVersion('com.apple.Safari').then(version => {
	console.log(version);
	//=> '8.0'
});

CLI

$ npm install --global osx-app-version
$ osx-app-version --help

  Example
    $ osx-app-version Safari
    $ osx-app-version /Applications/Safari.app
    $ osx-app-version com.apple.Safari

Related

  • osx-app - Get information about an app

License

MIT © Andreas Gillström

3.0.0

9 years ago

2.0.2

10 years ago

2.0.1

10 years ago

2.0.0

10 years ago

1.0.9

10 years ago

1.0.8

10 years ago

1.0.7

10 years ago

1.0.6

10 years ago

1.0.5

10 years ago

1.0.4

10 years ago