wpa-conf-codec

1.0.0 • Public • Published

wpa-conf-codec

Convert wpa_supplicant.conf <-> JSON

var fs = require('fs')
var wpa = require('wpa-conf-codec')

var conf = fs.readFileSync('/etc/wpa_supplicant/wpa_supplicant.conf')
console.log(conf.decode(conf))
console.log(conf.encode(conf.decode(conf)))

License

Copyright (c) 2017 @f/6sQ6d2CMxRUhLpspgGIulDxDCwYD7DzFzPNr7u5AU=.ed25519

Usage of the works is permitted provided that this instrument is retained with the works, so that any entity that uses the works is notified of this instrument.

DISCLAIMER: THE WORKS ARE WITHOUT WARRANTY.

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i wpa-conf-codec

      Weekly Downloads

      0

      Version

      1.0.0

      License

      Fair

      Last publish

      Collaborators

      • cel