Skip to content

juliandavidmr/fastv

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation


Build Status

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