Get the version of a program quickly.
Install via npm:
npm install --save fastv
Install via git:
git clone https://github.com/juliandavidmr/fastv
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
})
- 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...
MIT