Upgraded drupal core with security updates
[yaffs-website] / node_modules / bin-version / readme.md
1 # bin-version [![Build Status](https://travis-ci.org/sindresorhus/bin-version.svg?branch=master)](https://travis-ci.org/sindresorhus/bin-version)
2
3 > Get the version of a binary in [semver](https://github.com/isaacs/node-semver) format
4
5
6 ## Install
7
8 ```sh
9 $ npm install --save bin-version
10 ```
11
12
13 ## Usage
14
15 ```sh
16 $ curl --version
17 curl 7.30.0 (x86_64-apple-darwin13.0)
18 ```
19
20 ```js
21 var binVersion = require('bin-version');
22
23 binVersion('curl', function (err, version) {
24         console.log(version);
25         //=> 7.30.0
26 });
27 ```
28
29
30 ## CLI
31
32 See the [find-versions](https://github.com/sindresorhus/find-versions#cli) CLI.
33
34
35 ## License
36
37 MIT © [Sindre Sorhus](http://sindresorhus.com)