gillstrom / Osx App Version
Licence: mit
Get an .app's version in OS X systems.
Stars: ✭ 24
Programming Languages
javascript
184084 projects - #8 most used programming language
osx-app-version
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
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].