Skip to content

lightgun-poc / lib/wifi / parseNmcli

Function: parseNmcli()

parseNmcli(output): WifiReport

Defined in: lib/wifi.ts:72

Parses nmcli -t -f ACTIVE,SSID,CHAN,FREQ,SIGNAL device wifi (Linux). Terse output is field-positional and locale-independent, so nothing here depends on the system language.

Parameters

output

string

Returns

WifiReport

Released under the MIT License.