New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

node-wifi-handler

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-wifi-handler

Node module to work with the Wi-Fi inspired on [node-wifi](https://github.com/friedrith/node-wifi) with TypeScript support and other features (WPA Personal and WPA enterprise).

latest
Source
npmnpm
Version
0.0.3
Version published
Maintainers
1
Created
Source

Node Wifi Handler

Node module to work with the Wi-Fi inspired on node-wifi with TypeScript support and other features (WPA Personal and WPA enterprise).

Nowadays it's Work In Progress but

FeaturesLinuxMacWindows
Connect - WPA Personal:heavy_check_mark:WIPWIP
Connect - WPA Enterpise - EAP 13:heavy_check_mark:WIPWIP
Connect - WPA Enterpise - EAP 21:heavy_check_mark:WIPWIP
Connect - WPA Enterpise - EAP 23:heavy_check_mark:WIPWIP
Scan:heavy_check_mark:WIP:heavy_check_mark:
List current wifi connections:heavy_check_mark:WIP:heavy_check_mark:
Delete connection information:heavy_check_mark:WIPWIP

Depending on the OS System, some native tools are used:

  • Linux: Uses nmcli and wpa_supplicant.

Install

# Use as a module
npm install node-wifi-handler

# Use as a CLI
npm install node-wifi-handler -g

Getting started


import WifiHandler from "node-wifi-handler"

const handler: WifiHandler = WifiWrapper.getWifiHandler();

const profile: WifiProfile = WifiProfileFactory.getInstance({
                                     ssid: 'myssid',
                                     password: 'myhomessidpassword',
                                     type: WifiProfile.PERSONAL
                                 });

handler.createNetwork(profile)
    .then(output => console.log('Profile configured'))
    .catch(err => console.error('An error occurred'));

Contribute

Please feel free to provide a pull request or create any needed issue.

License

MIT

Keywords

wifi

FAQs

Package last updated on 22 Mar 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts