3.0.0 • Published 8 years ago

osx-app-version v3.0.0

Weekly downloads
21
License
MIT
Repository
github
Last release
8 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

8 years ago

2.0.2

9 years ago

2.0.1

9 years ago

2.0.0

9 years ago

1.0.9

9 years ago

1.0.8

9 years ago

1.0.7

9 years ago

1.0.6

9 years ago

1.0.5

9 years ago

1.0.4

9 years ago