wifi-name
Advanced tools
Comparing version 1.0.6 to 1.0.7
@@ -0,0 +0,0 @@ #!/usr/bin/env node |
@@ -44,4 +44,9 @@ 'use strict'; | ||
if (!ret) { | ||
cb(new Error('Could not get SSID')); | ||
return; | ||
} | ||
cb(null, ret); | ||
}); | ||
}; |
{ | ||
"name": "wifi-name", | ||
"version": "1.0.6", | ||
"version": "1.0.7", | ||
"description": "Get current wifi name", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
@@ -5,8 +5,10 @@ # wifi-name [![Build Status](http://img.shields.io/travis/kevva/wifi-name.svg?style=flat)](https://travis-ci.org/kevva/wifi-name) | ||
## Install | ||
```sh | ||
``` | ||
$ npm install --save wifi-name | ||
``` | ||
## Usage | ||
@@ -18,6 +20,2 @@ | ||
wifiname(function (err, name) { | ||
if (err) { | ||
throw err; | ||
} | ||
console.log(name); | ||
@@ -28,18 +26,20 @@ //=> wu-tang lan | ||
## CLI | ||
```sh | ||
``` | ||
$ npm install --global wifi-name | ||
``` | ||
```sh | ||
``` | ||
$ wifi-name --help | ||
Usage | ||
$ wifi-name | ||
wu-tang lan | ||
Usage | ||
$ wifi-name | ||
wu-tang lan | ||
``` | ||
## License | ||
MIT © [Kevin Mårtensson](https://github.com/kevva) |
Sorry, the diff of this file is not supported yet
60
3769