fastv
v1.0.6
Published
Get the version of a program quickly
Downloads
4
Maintainers
Readme
Get the version of a program quickly.
Installation
Install via npm:
npm install --save fastv
Install via git:
git clone https://github.com/juliandavidmr/fastv
Examples
var fastv = require("fastv");
fastv("vlc", function (err, version) {
if(err) throw err;
console.log(version);
//=> 2.2.2
})
fastv("sublimetext", function (err, version) {
if(err) throw err;
console.log(version);
//=> 3126
})
fastv("nodejs", function (err, version) {
if(err) throw err;
console.log(version);
//=> 7.7.2
})
fastv("kernel", function (err, version) { // Only linux
if(err) throw err;
console.log(version);
//=> 4.4.0-64
})
Programs available
- Atom
- Audacity
- Cheese
- Emacs
- Firefox
- Gedit
- GoogleChrome
- Gnomecalculator
- Gimp
- Git
- Kazam
- LibreOffice
- Nemo
- NodeJS
- NPM
- NCU
- Shotwell
- Openshot
- OS
- Plank
- Python
- Java
- Javac
- Kernel
- Systemd
- Transmission
- Unity
- Virtualbox
- VisualCode
- Vlc
- Zenmap
- Zip
- Zsh
- And more...
Contributors
I accept any pull request
License
MIT