kevva / wifi-name

Get current wifi name

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

wifi-name

Get current wifi name

Install

$ npm install wifi-name

Usage

const wifiName = require('wifi-name');

wifiName().then(name => {
	console.log(name);
	//=> 'wu-tang lan'
});

API

wifiName()

Returns a Promise for a string with the current wifi name.

wifiName.sync()

Returns a string with the current wifi name.

Related

License

MIT © Kevin Mårtensson

About

Get current wifi name

License:MIT License


Languages

Language:JavaScript 100.0%