{"_id":"wireguard-tools.js","_rev":"35-c32ba405c000f1da8b30794003c7af03","name":"wireguard-tools.js","dist-tags":{"latest":"1.8.1","next":"2.1.0"},"versions":{"0.1.3":{"name":"wireguard-tools.js","version":"0.1.3","keywords":["wireguard"],"author":{"url":"https://sirherobrine23.org/","name":"Matheus Sampaio Queiroga","email":"srherobrine20@gmail.com"},"license":"GPL-2.0-only","_id":"wireguard-tools.js@0.1.3","maintainers":[{"name":"sirherobrine23","email":"srherobrine20@gmail.com"}],"homepage":"https://github.com/Sirherobrine23/Wireguard-tools.js#readme","bugs":{"url":"https://github.com/Sirherobrine23/Wireguard-tools.js/issues"},"dist":{"shasum":"17aa638463fe9b5e8f6d277830664f7e4d349030","tarball":"https://registry.npmjs.org/wireguard-tools.js/-/wireguard-tools.js-0.1.3.tgz","fileCount":35,"integrity":"sha512-1BM0WKYhMhDQY9dQbzUv1hyQ9hhA+GapWIHQHH+vL+M9b1Ol/0jwnKgx6rsuzyk2RSCUjlJEvT82L/UiicBEyg==","signatures":[{"sig":"MEQCIBw7Qi38GOV+dFTnXMa0HawOuZazv8HWO5sQDEAX0NtaAiBusZZ/xlF91TCy6gmj0RHSnbvJaWy30Ekin58RpWdw5A==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":73327,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi5BbpACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmo1jQ/8DfWIZhKd2ofsHmvJWFyM/k9IEjsK7IKotgZcP3JhJA8aWT8R\r\nYPmdmz0EqOrW5y2hC6bnlF+pFX3Xh9QgKGiNBjgqJ7zujjfl5bwPD16Ed+/0\r\nEuJRHse1zDg3Em2kDfROqS2sVegoT+a6G00LFyhLBcDqeD6LGoZEI9c/s4az\r\nj+5p0abbHcobom+l72LbxJv+OapMw7ka+HIXWvC2KuWJhI9VuKyUlRYzzB2D\r\nc8Hwbbu2Yg1gi3KMcXibud+0XpkOWENPr3u0hnDv8mTpP1FLwmqYLqxXnKgA\r\nasyRvYWNM851roLruCEueYNGwf/KpwhHvA+y3sIdvUNbBK/yLR+7zjgkmNnF\r\nj2wFYODiNCfPuccjNL5IOJqaEcTPKrLjXP71XFMfutYVzlrpj5P3O2EZoan8\r\nEo975Lm9tEE34lhgZtnkUtt5csTCsIX/EeBYaZbJJOm43+ny9JcWVHOjI8kl\r\nk4s1QuazIE5daoDXIpjDgHPgetCiCo10kTd7fsW+5yg+o97Cc5Gtlw5/x6Vv\r\nif+hQi7xGvGt8Ke2gk10SjIBqxeMJYckg/GK31vWhf+p+4YLzYvb2E+/mo02\r\njUjDbjQLKyO7PrkbLLH23V96dfkB97FH35Hqd6vt3+5mvked8vNeX25hnVg+\r\n3BfO8onegEJkAxM5sf16p8wge1FyCCiTMaw=\r\n=MTN8\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"./dist/index.d.ts","engines":{"node":">=14.0.0"},"gitHead":"52a39f58bfc9f21d4009c1ad078353838c24fd27","gypfile":true,"scripts":{"test":"npm run build && sudo ts-node ./customTest.ts","build":"node-gyp build && tsc","install":"node-gyp rebuild","nodegyp":"node-gyp configure && node-gyp rebuild","postinstall":"node-gyp-build"},"_npmUser":{"name":"sirherobrine23","email":"srherobrine20@gmail.com"},"repository":{"url":"git+https://github.com/Sirherobrine23/Wireguard-tools.js.git","type":"git"},"_npmVersion":"8.15.0","description":"A simple way to manage Wireguard in Node.js","directories":{},"_nodeVersion":"18.7.0","dependencies":{"node-addon-api":"^5.0.0","node-gyp-build":"^4.5.0"},"_hasShrinkwrap":false,"devDependencies":{"ts-node":"^10.9.1","node-gyp":"^9.1.0","typescript":"^4.7.4","@types/node":"^18.0.4"},"_npmOperationalInternal":{"tmp":"tmp/wireguard-tools.js_0.1.3_1659115241524_0.7607467839276032","host":"s3://npm-registry-packages"}},"1.0.0":{"name":"wireguard-tools.js","version":"1.0.0","keywords":["wireguard"],"author":{"url":"https://sirherobrine23.org/","name":"Matheus Sampaio Queiroga","email":"srherobrine20@gmail.com"},"license":"GPL-2.0-only","_id":"wireguard-tools.js@1.0.0","maintainers":[{"name":"sirherobrine23","email":"srherobrine20@gmail.com"}],"homepage":"https://github.com/Sirherobrine23/Wireguard-tools.js#readme","bugs":{"url":"https://github.com/Sirherobrine23/Wireguard-tools.js/issues"},"dist":{"shasum":"2a84643ed020da413006af563ac35f0875722d13","tarball":"https://registry.npmjs.org/wireguard-tools.js/-/wireguard-tools.js-1.0.0.tgz","fileCount":35,"integrity":"sha512-FyM4o+SXKVvNryri4/Wbq0IODt7hXgVgY8g3efh7pfzgpJK/stlui3gmvWaJFUNHaPohXlVGNdrUxB/lTp1qMA==","signatures":[{"sig":"MEQCIGF5X67aK7rTouq7/riLXhIpQOsr9PD2nFMFmBI1rzd7AiALVwU3hPXmi/0Drva/aSfqbaAusV3hLoeS6MnCyb7pmg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":75482,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi5CwkACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmouuQ//X2DZ3+NnGhzPosQNAK4rRCFIqUnlMZNBvWWleoNE3rYqGDNv\r\nmnBXKN+6WF/T7BYskJIiDdr7if2suWZm6EXUxZQUoleGDW3SLsXs+VbLgvJV\r\n7iqITVWSVj2is5fqNbiRqtvtgYr26wbT1ZPE5Rb4xquDX6gQFNoPS5+O0WBd\r\n0tupANz/VuQkRvqdZA1A5iMBw5zdN3IKrEWAgze6Ku12CHJc/sfahziFOv6w\r\nZ5mwiQ27Sxx2hfpITnigfFrOeYbP84mPeg2zTezjP5HMhv/LR+4kb2U4YS5C\r\nRPcE7xHAAUbcO3FA49KGoylJujnryywv+exRmn78ewd9UHQwR4mvDLaTGkIk\r\nFAzDEIFrpOn4JxN7jSpmeXbRHmfdRQ7+KxEu/VREVoDKLkiN6SPacYA9YOPc\r\nwL2r34GYJjWBd5+UeKKlUO4794yF2zuFbvlrl11HMNJQ8/7IQz3SWjDicAhb\r\nJlY6N7LstSOlDpcrn1rju1fbn7qiz2rRoxNsd1hKje4MwGdnRQwlvCodNnNB\r\nsNRaUe7heixWM2lHtDqUwQR0yYQ7zep5bx3xoOrURsRih3f1LfpY98/aUU2G\r\n8b3MSanF1iMHLB/r6uGmns+dWwUJQ2Z0hAuECX+YI7cqOHKGow5w0MF02i07\r\n120IGlvZDkhHWVGIQK/BTujE/2doZuRpWFU=\r\n=qtUH\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"./dist/index.d.ts","engines":{"node":">=14.0.0"},"gitHead":"c18b533512aad6fb49a6b05f5bac0e4515de0bb6","gypfile":true,"scripts":{"test":"npm run build && sudo ts-node ./customTest.ts","build":"node-gyp build && tsc","install":"node-gyp rebuild","nodegyp":"node-gyp configure && node-gyp rebuild","postinstall":"node-gyp-build"},"_npmUser":{"name":"sirherobrine23","email":"srherobrine20@gmail.com"},"repository":{"url":"git+https://github.com/Sirherobrine23/Wireguard-tools.js.git","type":"git"},"_npmVersion":"8.15.0","description":"A simple way to manage Wireguard in Node.js","directories":{},"_nodeVersion":"18.7.0","dependencies":{"node-addon-api":"^5.0.0","node-gyp-build":"^4.5.0"},"_hasShrinkwrap":false,"devDependencies":{"ts-node":"^10.9.1","node-gyp":"^9.1.0","typescript":"^4.7.4","@types/node":"^18.0.4"},"_npmOperationalInternal":{"tmp":"tmp/wireguard-tools.js_1.0.0_1659120676716_0.3009802187687116","host":"s3://npm-registry-packages"}},"1.0.1":{"name":"wireguard-tools.js","version":"1.0.1","keywords":["wireguard"],"author":{"url":"https://sirherobrine23.org/","name":"Matheus Sampaio Queiroga","email":"srherobrine20@gmail.com"},"license":"GPL-2.0-only","_id":"wireguard-tools.js@1.0.1","maintainers":[{"name":"sirherobrine23","email":"srherobrine20@gmail.com"}],"homepage":"https://github.com/Sirherobrine23/Wireguard-tools.js#readme","bugs":{"url":"https://github.com/Sirherobrine23/Wireguard-tools.js/issues"},"os":["linux","android"],"dist":{"shasum":"ec19482ef9c1433076a5704c584d61ffa729fd44","tarball":"https://registry.npmjs.org/wireguard-tools.js/-/wireguard-tools.js-1.0.1.tgz","fileCount":42,"integrity":"sha512-HUKsQDNUlQrgydFlV0dXZ7ZMxSS7x7o8JTCA/uveHitWEaqiAA64D3rw5bV+m6Zs5WDn5Zo80k3pRvdLubknRg==","signatures":[{"sig":"MEUCIGVjr4pPlwytHT3J3MlPsF9q7ILSv+hChECDJiyGyXtOAiEAixSRZuOP54I7Gdhnvg9KvaJbuMwmZBZindVPSx8UQLo=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":149316,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi6AdpACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrlmQ//b7+/qcFSLZMDu3Ij8JPbAL7gB0mJIFZGYvfHJ5KCQhR05l8U\r\neZ39ZE2wCoHVK7NmdvxMHQBC+5NHP9TvJ7U0mcHo+nR+l+VH8djMDWQj0UBr\r\nBUPDO1E102esAIpDxqpdI0mfEjf9/dcBL747rgta3247JU6oYlOqfsXulhoG\r\nzjaeZrQdegBa9yZb14icOmKDs2lWzMHD35d1V7q1xOxBMCZMbAJBIlJJD08A\r\nC7EEDr7+9YPeb2KWoLdrmZby4GO5n1gOhpnmxn7KTuDXxSHMIahXjIYly6ay\r\nv6lQpdO3xr+88ZaVnE3KevgdXetrFy4JerUI0W+Pgz/HFtzTqdvC8SIGsEVW\r\nome/5xVgUv+ZyuzncRyR50X226fMdXXTZZQXh4HGs6flQqFDrCpb0CBaz2u+\r\nvpIEVGH2glLWUAe0XTT/aH1AHgrK4e3qjmQQqU1oxrCqR4Qi6fTRFXBryaFB\r\nbRMcQ26KR8weusbbdLGjtLfLnUpHRhL8OBOA+lohwcP+aAtSrpBfxkMNQ/ea\r\nEgDcWRaMLgRahtkJEi9mt7mSPWD6swRqBNoWqHx6XXyOBzMfyTJOdzs3NlUP\r\nuxj9n7JtpREX+EmUt6g3gfqNMWQ+KzW8vBjl3jtk2JNfcxwaUGw11OvhgI2F\r\nr72FimTyKfsgi578jIYurizsQpTHBj7/NLI=\r\n=ngkL\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"./dist/index.d.ts","engines":{"node":">=14.0.0"},"gitHead":"712ddc7615c359891d133122c782fe7faf29a6ca","gypfile":true,"scripts":{"test":"npm run build && sudo ts-node ./customTest.ts","build":"tsc && npm run install","install":"npm run nodegyp || exit 0","nodegyp":"node-gyp rebuild && mv -fv build/Release/wireguard_bridge.node ./ && npm run nodegyp:clean","nodegyp:clean":"node-gyp clean"},"_npmUser":{"name":"sirherobrine23","email":"srherobrine20@gmail.com"},"repository":{"url":"git+https://github.com/Sirherobrine23/Wireguard-tools.js.git","type":"git"},"_npmVersion":"8.15.0","description":"A simple way to manage Wireguard in Node.js","directories":{},"_nodeVersion":"18.7.0","dependencies":{"node-addon-api":"^5.0.0","node-gyp-build":"^4.5.0"},"_hasShrinkwrap":false,"devDependencies":{"ts-node":"^10.9.1","node-gyp":"^9.1.0","typescript":"^4.7.4","@types/node":"^18.6.2"},"_npmOperationalInternal":{"tmp":"tmp/wireguard-tools.js_1.0.1_1659373417300_0.16856876458759928","host":"s3://npm-registry-packages"}},"1.0.2":{"name":"wireguard-tools.js","version":"1.0.2","keywords":["wireguard"],"author":{"url":"https://sirherobrine23.org/","name":"Matheus Sampaio Queiroga","email":"srherobrine20@gmail.com"},"license":"GPL-2.0-only","_id":"wireguard-tools.js@1.0.2","maintainers":[{"name":"sirherobrine23","email":"srherobrine20@gmail.com"}],"homepage":"https://github.com/Sirherobrine23/Wireguard-tools.js#readme","bugs":{"url":"https://github.com/Sirherobrine23/Wireguard-tools.js/issues"},"os":["linux","android"],"dist":{"shasum":"fdb33f07faa7672a553bed44541d498e652434d6","tarball":"https://registry.npmjs.org/wireguard-tools.js/-/wireguard-tools.js-1.0.2.tgz","fileCount":43,"integrity":"sha512-muSa3A8ncNHnWLpInI6/nhxvUCFmpJWCCbRwzIEEKG2MW31yRODea8pzjMqnT4LhrqKhNIgPlngwkCt3yb3KyA==","signatures":[{"sig":"MEYCIQDc3tkCWrBxJyU8nEw2RGh98HRIkED49t3NT3VxMSpsygIhAOAXPmwE5dNyo64iJ5tvxjYK3uynygWhvGQ+OqEsXx/x","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":151106,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi6DTYACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoAuA//aMRtsH6E/9x12iqkAAM2NMh2dJrfPAe0rYWLbM0x/IKXL82u\r\nEZIpBWFETDqQPghH89VroP8ydF83Ye+VpYCSM1sKa4DZs4wUYZ5Cp3jlnSBQ\r\ntrQ+C+5MX+NttCiEljainIsMRiljK3hrLkxeXOhHcfcS8k0jMGDqLtvwiiwa\r\ngsmFHtbstrz2S8tV/OciJVyxhvluqdbZH6Ty3rODNm+wmjIn68SgholOilyo\r\nVTA2DMSSbujCsGg47T1D9TtmlcdfsfOVQMdWICi9jkQEyLUBSdjdDAIOFyHX\r\nBtRKzB/Jsa3kTpRnI9410Hdpe0JRp8PrVuIPaOjz+FGtNaR7b37MpW8kqVCn\r\n+k84XNsmKdVt2bhSndVj3La8cLq7k+LMow5mUjPN4NhbGKJ8CNMEIYGdC+cn\r\nMFep8AmugVmgXw/8LMEraikWkGho8VHCfzqnjw7JvFfteR5CRdJz/zhx1A2F\r\naMMuoGtN2ajAR5WP6UNS1eGT8K8ca2QzWuTuFdIsetxGxzyZ/W+gBqsOX3fW\r\ngUNq8dKed4u7CVDWWn66q2gSdxlNgFp/F9P691xesiZm+3SBcEDx4aqmiW7w\r\nuVPq8VIHDAKpNTxVPAd3m8JlybHE5imqj4CgLvH0yRs20Zl2Lcpa2j5GDBY5\r\n0bXzdcg8b+0AaGr08/HWtIMl8YCFSMsq+aA=\r\n=unIy\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"./dist/index.d.ts","engines":{"node":">=14.0.0"},"gitHead":"05f9a42310359862d2241c0ab9a6e6573f313948","gypfile":true,"scripts":{"test":"npm run build && sudo ts-node ./customTest.ts","build":"tsc && npm run install","install":"node install.js --install --silent || exit 0","nodegyp":"node install.js --install"},"_npmUser":{"name":"sirherobrine23","email":"srherobrine20@gmail.com"},"repository":{"url":"git+https://github.com/Sirherobrine23/Wireguard-tools.js.git","type":"git"},"_npmVersion":"8.15.0","description":"A simple way to manage Wireguard in Node.js","directories":{},"_nodeVersion":"18.7.0","dependencies":{"node-addon-api":"^5.0.0","node-gyp-build":"^4.5.0"},"_hasShrinkwrap":false,"devDependencies":{"ts-node":"^10.9.1","node-gyp":"^9.1.0","typescript":"^4.7.4","@types/node":"^18.6.2"},"_npmOperationalInternal":{"tmp":"tmp/wireguard-tools.js_1.0.2_1659385048241_0.7921656879431385","host":"s3://npm-registry-packages"}},"1.1.0":{"name":"wireguard-tools.js","version":"1.1.0","keywords":["wireguard"],"author":{"url":"https://sirherobrine23.org/","name":"Matheus Sampaio Queiroga","email":"srherobrine20@gmail.com"},"license":"GPL-2.0-only","_id":"wireguard-tools.js@1.1.0","maintainers":[{"name":"sirherobrine23","email":"srherobrine20@gmail.com"}],"homepage":"https://github.com/Sirherobrine23/Wireguard-tools.js#readme","bugs":{"url":"https://github.com/Sirherobrine23/Wireguard-tools.js/issues"},"os":["linux","android"],"dist":{"shasum":"37fa0c090390a2a1ed67dbf22c725f8aee626e95","tarball":"https://registry.npmjs.org/wireguard-tools.js/-/wireguard-tools.js-1.1.0.tgz","fileCount":43,"integrity":"sha512-bznS3NhgYrAbNOKS9BN8OnaabsfqyClxtERAcJ3v6XmmDy36jgJnOxANYDBLyTpO34pdSHDmg6Q98UYnnaPL+w==","signatures":[{"sig":"MEYCIQDf/kz2Q7z5D5/zfHAovw7NJ0DMc3AXT1gxw2Q9QuZwPQIhAMBLf1fVRa8fRlEFtPQx4OiX0e3QFEFCWT3H1KNix/fr","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":155716,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi6JdWACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmo7bg//X83nEblK7Hclf/fwPLm7qzdFCjcBFOwv8U0F14q+WTCsD3hn\r\nP8nJiVpxK9o1JisjwrN+1bTosOQGnn30h3+PpBssCOFVhDU8tx3ZxnK3Kyd7\r\nxk8MeaYaYoB45fAZKxTT4Itj+utH9ssTjbwgtoLzh2ZtZNCPAIL8IKwxVgFz\r\ndeKNDKQrHJTSZCU99t8Nk8PBE/VAgWEhsdCMjb+6HGdlUkUQlNBBUHslxHy+\r\niY6tsSP4qugHycLbo4KhJWyYjelc1rl/7xoMAmqN+lRNT291MK0PjKHXx8Np\r\nk1zqf1YF8VZgG/qcywMUkKzXuhkt8Y7lZDaz0hGHTbK5CjrWO/JJFe+cpiFm\r\nGKb/XayrA83X3JG/btQQIcIyfJp+fE3BbC1dh7dryhBXkEKiY0Mu2PvvOcIT\r\nuMR5k39RRTsuUR+aTHkxUOLhGSd8zEHeLrtxFwjCgXO8gE4sVFL74cP3vWL9\r\nVO3t7z5BLJTPYTLlqntKsiCtnjK+O4GIxc3a49w2Fv/HIh9txadQlL3Dx+3f\r\n2c7ji/pg6H3GQLJYMykLYrixf8LJ4ntaB8PdO/p6iLOn1uLfMUQaH8GbIvk3\r\necqJz4btnRqFho5EUhV0vsdHhXc/jUlJyy+Sz9QHEreB9KU+RBKXgN5gG5cS\r\nmpU6Uru6/nBxTcnntF3QNEfHdY4jEgrKUlU=\r\n=gQHW\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"./dist/index.d.ts","engines":{"node":">=14.0.0"},"gitHead":"fefb532fa38667726258369c5bf07d967eb36959","gypfile":true,"scripts":{"test":"npm run build && sudo ts-node ./customTest.ts","build":"tsc && npm run install","install":"node install.js --install --silent || exit 0","nodegyp":"node install.js --install"},"_npmUser":{"name":"sirherobrine23","email":"srherobrine20@gmail.com"},"repository":{"url":"git+https://github.com/Sirherobrine23/Wireguard-tools.js.git","type":"git"},"_npmVersion":"8.15.0","description":"A simple way to manage Wireguard in Node.js","directories":{},"_nodeVersion":"18.7.0","dependencies":{"node-addon-api":"^5.0.0","node-gyp-build":"^4.5.0"},"_hasShrinkwrap":false,"devDependencies":{"ts-node":"^10.9.1","node-gyp":"^9.1.0","typescript":"^4.7.4","@types/node":"^18.6.2"},"_npmOperationalInternal":{"tmp":"tmp/wireguard-tools.js_1.1.0_1659410262554_0.7891466585313451","host":"s3://npm-registry-packages"}},"1.1.1":{"name":"wireguard-tools.js","version":"1.1.1","keywords":["wireguard"],"author":{"url":"https://sirherobrine23.org/","name":"Matheus Sampaio Queiroga","email":"srherobrine20@gmail.com"},"license":"GPL-2.0-only","_id":"wireguard-tools.js@1.1.1","maintainers":[{"name":"sirherobrine23","email":"srherobrine20@gmail.com"}],"homepage":"https://github.com/Sirherobrine23/Wireguard-tools.js#readme","bugs":{"url":"https://github.com/Sirherobrine23/Wireguard-tools.js/issues"},"os":["linux","android"],"dist":{"shasum":"9c7b4df9dee3f62b08c71610fdbc12e255fdd85c","tarball":"https://registry.npmjs.org/wireguard-tools.js/-/wireguard-tools.js-1.1.1.tgz","fileCount":43,"integrity":"sha512-bnKp5s0B/ctX6wiu+aHIZjLTRGY6tI6THRrwV1z+wzydfHUkdX4lDfvftDi1uKstsOy0R6SoPNYAUiZJZTExEw==","signatures":[{"sig":"MEUCIQDriMYE+Luoaio1Job6B9RNLLmGMOIxQnsvkCp1V+H6AgIgWXRy3vDu903yn2joe+HxydpvJ1QpmQtemhtWUMH/rPQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":155783,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi6ZfxACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqLYA/6AgY352rwSgS1d1WvN/8iAbD3t8EmWjk5Of+dDSgbKsIFFzgt\r\nT0/zebEFRL9F1j2QYAXY+OB2juOqwm85RTrnJ2R4jv/bQIyq3KQgOa5AiYbb\r\nm5jiRnbRHHxfeva5eLiNMB57HUi47ZhwmKLvnnauQTLfUmnu4hXF9kOJQ/dL\r\nvbFEdoF9hhIYDATrItRXlfBS6V7wpFfvlZjdjPlpclzhFNUwpKIglmOxFXjr\r\nHb7e5JEyM2k7b0wh245Y/Ad7dD75TTgU+N1fVOrhKXlD5wBPmwv81Fudnb+u\r\nyqEyKzgGLzwU94zoRyVnbYPzuDwR/a8Z/Y937sDZGkATe6qiMHVbR0mW255j\r\n6TLXz27qw5XrC8MyVgQfGRWYihoAJwexFeFrvttKPD39I3QJYX8X3p6Kg3X0\r\nT29FP3tVMtqA5ECudASZxu8BSxtWdAIi3sEQRLAVuM0LugL3v+2K55fojw52\r\noLkxbPUYzBzoGfFb1whtRnGU/zNAC1NMzWQnEprDI7QBH+4Li1rCcGtI9y8H\r\nP7hkhqHrOa4i+T1bJ1vMJOYZe8prPDU7iO/ru0tdicdqCBNvc2KiUzh7boD+\r\nQ8qRcgY+Pk/DCa0KMx6ZMjpqbPTV574pPFTRECtXPcpRVNjhwPFDVORJaY3F\r\nDnEe8V1M4/FDK6s2X1poTEoT2wfGvlBG1QY=\r\n=6SED\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"./dist/index.d.ts","readme":"# Wireguard-tools.js\n\nA quick way to use Wireguard with Node.js without having to run the Wireguard tools. We've included some `wg` command patterns to avoid confusion and to maintain a base between the tools.\n\nIn addition to having some basic utilities already integrated:\n\n- Keygen: Generate private and public keys and also a pre-shared key.\n- Config file: You can generate files for Wireguard directly from here and you can transform a configuration file into a JSON.\n\nTo manage Wireguard interfaces:\n\n- Create a new Wireguard network interface and configure it with the provided information.\n- Delete Interface.\n- Get the peers along with the interface and peer information.\n\n## Example\n\nParse wireguard configuration file:\n\n```ts\nimport { readFileSync } from \"node:fs\";\nimport { utils } from \"wireguard-tools.js\";\nconst configFile = readFileSync(\"/etc/wireguard/wg0.conf\", \"utf8\");\nconst configJson = utils.config.parseConfig(configFile);\nconsole.log(\"Config file JSON:\\n%o\", configJson.data);\n```\n\nCreate Config:\n\n```ts\nimport { utils } from \"wireguard-tools.js\";\nconst wireguardConfig = utils.config.writeConfig({\n  interface: {\n    private: \"CEOntDE9saQaHLhD/WzZuYky3+elOfnBUCXoSveD3kc=\",\n    public: \"xaZtpi3VCkBMhSTKM6jl/YjPJ370iYpBlLYwSyZ3W08=\",\n    address: [\n      {\n        ip: \"10.0.0.1\",\n        subnet: 24\n      }\n    ]\n  },\n  peer: {\n    \"tF4YxTqLIJdNQcqvz1jtIF993zSk79hP+zdBxQlaowA=\": {\n      Keepalive: 25,\n      Endpoint: {\n        host: \"wireguard.example.com\",\n        port: 51820\n      },\n    }\n  }\n});\nconsole.log(\"Config file:\\n%s\", wireguardConfig);\n```\n\nor\n\n> **Note**\n>\n> To save to wireguard's default directory (`/etc/wireguard`), it is necessary to have root access or a user with write permissions on the directory.\n\n```ts\nimport { utils } from \"wireguard-tools.js\";\nutils.config.writeConfig({\n  interface: {\n    private: \"CEOntDE9saQaHLhD/WzZuYky3+elOfnBUCXoSveD3kc=\",\n    public: \"xaZtpi3VCkBMhSTKM6jl/YjPJ370iYpBlLYwSyZ3W08=\",\n    address: [\n      {\n        ip: \"10.0.0.5\",\n        subnet: 24\n      }\n    ]\n  },\n  peer: {\n    \"tF4YxTqLIJdNQcqvz1jtIF993zSk79hP+zdBxQlaowA=\": {\n      Keepalive: 25,\n      Endpoint: {\n        host: \"wireguard.example.com\",\n        port: 51820\n      },\n    }\n  }\n}, \"wg0\");\n```\n\nGet Current peers and Statistics:\n\n```ts\nimport { show } from \"wireguard-tools.js\";\nconst wireguardInterfaces = show(\"wg0\");\n// Wg0 is the interface name.\nconsole.log(\"Wg0:\\n%o\", wireguardInterfaces);\n```\n","engines":{"node":">=14.0.0"},"gitHead":"4899d819a048cd3e787252cedfbecba418a56f5c","gypfile":true,"scripts":{"test":"npm run build && sudo ts-node ./customTest.ts","build":"tsc && npm run install","install":"node install.js --install --silent || exit 0","nodegyp":"node install.js --install"},"_npmUser":{"name":"sirherobrine23","email":"srherobrine20@gmail.com"},"repository":{"url":"git+https://github.com/Sirherobrine23/Wireguard-tools.js.git","type":"git"},"_npmVersion":"8.15.0","description":"A simple way to manage Wireguard in Node.js","directories":{},"_nodeVersion":"18.7.0","dependencies":{"node-addon-api":"^5.0.0","node-gyp-build":"^4.5.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"ts-node":"^10.9.1","node-gyp":"^9.1.0","typescript":"^4.7.4","@types/node":"^18.6.2"},"_npmOperationalInternal":{"tmp":"tmp/wireguard-tools.js_1.1.1_1659475952896_0.06676853466482213","host":"s3://npm-registry-packages"}},"1.2.0":{"name":"wireguard-tools.js","version":"1.2.0","keywords":["wireguard"],"author":{"url":"https://sirherobrine23.org/","name":"Matheus Sampaio Queiroga","email":"srherobrine20@gmail.com"},"license":"GPL-2.0-only","_id":"wireguard-tools.js@1.2.0","maintainers":[{"name":"sirherobrine23","email":"srherobrine20@gmail.com"}],"homepage":"https://github.com/Sirherobrine23/Wireguard-tools.js#readme","bugs":{"url":"https://github.com/Sirherobrine23/Wireguard-tools.js/issues"},"os":["linux","android"],"dist":{"shasum":"6fbb6cceaa5571e1e1f67e4cdf7dc1d99fd85360","tarball":"https://registry.npmjs.org/wireguard-tools.js/-/wireguard-tools.js-1.2.0.tgz","fileCount":33,"integrity":"sha512-SvWf+RxAt7UGSXCWemgR2UbX1JyhX80kSZAgk87gU7zOCYxeTND2zLDtgXrhBOm3LMcTv/4L/gv8tSnEbKeJtQ==","signatures":[{"sig":"MEYCIQCozZh9dEKpll6KiPYNsiTw/k1kglYsNnK4tVGdwfrO9wIhAOMr2QBEUgeJMcTwZO5nT3ALdXhdGpfm18jFF8/JtowF","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":147531,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi6t+jACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpLhhAAknRK0sO+aW2Oxo+8qfVEfdme3kewrC97K/0WPZfvHUFeYGep\r\ndkZUtpijqcV6bt+1HvET+dKMkzBIXB3YJoLdP2ndpcwbiKOkazV0SJuKJoRH\r\nY96boYSP+oS1PfPxdm5XqxRg47Eq4qhe8MCPrcJGFWKp7btjrIY/km610AUU\r\nuqn2GFyMuo5LEu1U0CUJV7CWNxwawlR/IvJAFrnqE9QO0zvb9MM5cXR28dLA\r\nKtILFclgLXBK5dIkKnQ7/kkkuAeCTlpzJ9NvkKyhT2l6/1WZh2MES/C7UW9e\r\nw3U4tSGAEZn2N1dNCNy82z9N8p2jhId+nqLUgLy8Wa9+Q750bJq9hPUsQ0eX\r\nY8RxSKoJCkf2mDKYh6nk20FXiojsRXvsw/DgqtnSVEGuw9TRw2k9O5K/HQCb\r\nX+HEnVb3b4mW7RZBxckCYSL20VJQZH3aPwYc9lOCNVONjZTcZXx4ZrtbSNn5\r\nlbqvbaf7f5h8fWUfKqwoxWKOiwUJm7mUfh9cw53KUfCiQTkT6mIzyImDB2Gs\r\nUIviOdDmSD1MJf9eB7wl+JIWtRai9+o80QGi6pa/ccTYyjLMYYXZ2++yHMUZ\r\nzhO4AH3jAFy5eQIe2TXHv4+yLkc7Bidw5SGOsUFijvYWFmnmr9+/yT66EQJi\r\nSV+tKkAoTYGFicCLHT4DBIYWeATsFNVAQTM=\r\n=DlJY\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"./dist/index.d.ts","engines":{"node":">=14.0.0"},"gitHead":"d5d0f34d126fcff5338542508efd4588e0ff3506","gypfile":true,"scripts":{"test":"node install.js --install --silent && sudo PATH=\"$PATH\" env TS_NODE_COMPILER_OPTIONS='{\"module\": \"commonjs\" }' mocha -r ts-node/register 'tests/**/*.ts'","build":"tsc && npm run install","install":"node install.js --install --silent || exit 0","nodegyp":"node install.js --install"},"_npmUser":{"name":"sirherobrine23","email":"srherobrine20@gmail.com"},"repository":{"url":"git+https://github.com/Sirherobrine23/Wireguard-tools.js.git","type":"git"},"_npmVersion":"8.15.0","description":"A simple way to manage Wireguard in Node.js","directories":{},"_nodeVersion":"18.7.0","dependencies":{"node-addon-api":"^5.0.0","node-gyp-build":"^4.5.0"},"_hasShrinkwrap":false,"devDependencies":{"mocha":"^10.0.0","ts-node":"^10.9.1","node-gyp":"^9.1.0","typescript":"^4.7.4","@types/chai":"^4.3.1","@types/node":"^18.6.2","@types/mocha":"^9.1.1"},"_npmOperationalInternal":{"tmp":"tmp/wireguard-tools.js_1.2.0_1659559843735_0.19537486113961933","host":"s3://npm-registry-packages"}},"1.3.0":{"name":"wireguard-tools.js","version":"1.3.0","keywords":["wireguard"],"author":{"url":"https://sirherobrine23.org/","name":"Matheus Sampaio Queiroga","email":"srherobrine20@gmail.com"},"license":"GPL-2.0-only","_id":"wireguard-tools.js@1.3.0","maintainers":[{"name":"sirherobrine23","email":"srherobrine20@gmail.com"}],"homepage":"https://github.com/Sirherobrine23/Wireguard-tools.js#readme","bugs":{"url":"https://github.com/Sirherobrine23/Wireguard-tools.js/issues"},"os":["linux","android"],"dist":{"shasum":"d618e38f9dd7e37da7bf7100652ac0dd58415869","tarball":"https://registry.npmjs.org/wireguard-tools.js/-/wireguard-tools.js-1.3.0.tgz","fileCount":35,"integrity":"sha512-tyecWYhUS+v0OVk8KX1cSpFFbAS7jTIMF3KW9Fm6VA86rnjR/I931WfrL6tCCdcMBtYHxpkm7cPt57iFcP2FWA==","signatures":[{"sig":"MEUCIQCDNrUnnE2MsLyfxgJxFdI22rbfI0bB3ILqalNm6TQfjgIgXEqIOaS8fl2jOdIs735D+5HkRaCMMCi4DCu6K99pUyA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":156561,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi7ttQACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrpMg//bYL/WAhUxpP63Wgq6xhJBMFfmazLp1BprbNXSWzV9h09TuQE\r\n6WYuZB5yiYwqljnWLh5fYAU0irXcMrpfpoqzW8nDtLGrl/TINe/HIra+HXS5\r\nX4OhVTgBbbbPimjCBVx6LVhyQACXqia7uXMhorWq+a902F9AtR7WU9OyEsge\r\nAeHIKoLKhLl5Svh5JtchEV0Bxx6j/5QuUeApeNRtCzOb5m157hoch2ax/cOc\r\nr+K+CHRvd3agrIw8LGCViOCUZGcS2WqNm/PpPLV/1YC83PDAZ+RYso+VrGnK\r\nBVs33iv8Eyr+mNwlP+vA7dG/LPWZnftYWoaU2tcxvvVd7OmRJGc3Oyqj75YB\r\nfE9S7HUJv78nhvKBORvYTSUDgu42jGMjxrt/xKgjuJynJphr15BzHBiWjc69\r\nC5+Ir3FLT7wfkOS7FflzfUzLZUYha2xlE/beszc77N90otTx02sXuVQgZj6f\r\ncABOo2hUPrhsiDqrqko+fDrmirgkM31LJTkbbZPwacot1TLUqVIO+2hc7ZkF\r\nOJ//49owa+qvTRabc1yvzbIiR1tTYMVryDWtqL6f1OtqL+qDpdBG/fQb8GaP\r\nD/Mz8Qn8gxlHLELa7Qvy1+QEwRGTfXXx2daWeyq5unsNGaWCO8n//cZLw2dF\r\nqgLbbiwajYXozFaXDvdyIAldWhPj6ud9R7s=\r\n=Sn2n\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"./dist/index.d.ts","readme":"# Wireguard-tools.js\n\nA quick way to use Wireguard with Node.js without having to run the Wireguard tools. We've included some `wg` command patterns to avoid confusion and to maintain a base between the tools.\n\nIn addition to having some basic utilities already integrated:\n\n- Keygen: Generate private and public keys and also a pre-shared key.\n- Config file: You can generate files for Wireguard directly from here and you can transform a configuration file into a JSON.\n\nTo manage Wireguard interfaces:\n\n- Create a new Wireguard network interface and configure it with the provided information.\n- Delete Interface.\n- Get the peers along with the interface and peer information.\n\n> **Note**\n>\n> This module needs `make` and `gcc/g++` or `clang`. this module needs some tools to compile `libnl` and `embbeded-wireguard`.\n\n## Example\n\nParse wireguard configuration file:\n\n```ts\nimport { readFileSync } from \"node:fs\";\nimport { utils } from \"wireguard-tools.js\";\nconst configFile = readFileSync(\"/etc/wireguard/wg0.conf\", \"utf8\");\nconst configJson = utils.config.parseConfig(configFile);\nconsole.log(\"Config file JSON:\\n%o\", configJson.data);\n```\n\nCreate Config:\n\n```ts\nimport { utils } from \"wireguard-tools.js\";\nconst wireguardConfig = utils.config.writeConfig({\n  interface: {\n    private: \"CEOntDE9saQaHLhD/WzZuYky3+elOfnBUCXoSveD3kc=\",\n    public: \"xaZtpi3VCkBMhSTKM6jl/YjPJ370iYpBlLYwSyZ3W08=\",\n    address: [\n      {\n        ip: \"10.0.0.1\",\n        subnet: 24\n      }\n    ]\n  },\n  peer: {\n    \"tF4YxTqLIJdNQcqvz1jtIF993zSk79hP+zdBxQlaowA=\": {\n      Keepalive: 25,\n      Endpoint: {\n        host: \"wireguard.example.com\",\n        port: 51820\n      },\n    }\n  }\n});\nconsole.log(\"Config file:\\n%s\", wireguardConfig);\n```\n\nor\n\n> **Note**\n>\n> To save to wireguard's default directory (`/etc/wireguard`), it is necessary to have root access or a user with write permissions on the directory.\n\n```ts\nimport { utils } from \"wireguard-tools.js\";\nutils.config.writeConfig({\n  interface: {\n    private: \"CEOntDE9saQaHLhD/WzZuYky3+elOfnBUCXoSveD3kc=\",\n    public: \"xaZtpi3VCkBMhSTKM6jl/YjPJ370iYpBlLYwSyZ3W08=\",\n    address: [\n      {\n        ip: \"10.0.0.5\",\n        subnet: 24\n      }\n    ]\n  },\n  peer: {\n    \"tF4YxTqLIJdNQcqvz1jtIF993zSk79hP+zdBxQlaowA=\": {\n      Keepalive: 25,\n      Endpoint: {\n        host: \"wireguard.example.com\",\n        port: 51820\n      },\n    }\n  }\n}, \"wg0\");\n```\n\nGet Current peers and Statistics:\n\n```ts\nimport { show } from \"wireguard-tools.js\";\nconst wireguardInterfaces = show(\"wg0\");\n// Wg0 is the interface name.\nconsole.log(\"Wg0:\\n%o\", wireguardInterfaces);\n```\n","engines":{"node":">=14.0.0"},"gitHead":"08345917378444fecb4b53924ff0885d8e4fa99f","gypfile":true,"scripts":{"test":"sudo PATH=\"$PATH\" env TS_NODE_COMPILER_OPTIONS='{\"module\": \"commonjs\" }' mocha -r ts-node/register 'tests/**/*.ts'","build":"tsc && npm run install","install":"node install.js --all --silent || exit 0","nodegyp":"node install.js --nodegyp","test:full":"npm run nodegyp && npm run test"},"_npmUser":{"name":"sirherobrine23","email":"srherobrine20@gmail.com"},"repository":{"url":"git+https://github.com/Sirherobrine23/Wireguard-tools.js.git","type":"git"},"_npmVersion":"8.15.0","description":"Control your wireguard interface from node.js, not a wireguard-tools wrapper!","directories":{},"_nodeVersion":"18.7.0","dependencies":{"node-addon-api":"^5.0.0","node-gyp-build":"^4.5.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"chai":"^4.3.6","mocha":"^10.0.0","ts-node":"^10.9.1","node-gyp":"^9.1.0","typescript":"^4.7.4","@types/chai":"^4.3.1","@types/node":"^18.6.3","@types/mocha":"^9.1.1"},"_npmOperationalInternal":{"tmp":"tmp/wireguard-tools.js_1.3.0_1659820880258_0.881975909048418","host":"s3://npm-registry-packages"}},"1.3.1":{"name":"wireguard-tools.js","version":"1.3.1","keywords":["wireguard","node-addon","wireguard-tools","wireguard-basic-tools","wireguard-utils"],"author":{"url":"https://sirherobrine23.org/","name":"Matheus Sampaio Queiroga","email":"srherobrine20@gmail.com"},"license":"GPL-2.0-only","_id":"wireguard-tools.js@1.3.1","maintainers":[{"name":"sirherobrine23","email":"srherobrine20@gmail.com"}],"homepage":"https://github.com/Sirherobrine23/Wireguard-tools.js#readme","bugs":{"url":"https://github.com/Sirherobrine23/Wireguard-tools.js/issues"},"os":["linux","android","freebsd","darwin"],"dist":{"shasum":"8d8e2da04e259731133e7331241cf208364a3939","tarball":"https://registry.npmjs.org/wireguard-tools.js/-/wireguard-tools.js-1.3.1.tgz","fileCount":35,"integrity":"sha512-0ubcsncgduh7dks0j9UHGnzk4mkQ6TX7dy+f9Js1EVQEk2+pEJUqHGI7I9ZMAL0PTvWHa0ZgI7OBNN16JCu0bg==","signatures":[{"sig":"MEUCIERQvrjdMSAjXs4wX7a1tp+mfRctK4pthQnLE7151ggfAiEAkxShxqg5P/ZxM5udawh5wojVlNM547FcL1bMddhaD9A=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":160509,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi7vLaACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqN6w//b2QhuewRLRK9TJ0ogcHVN7xLGT8Dkiv6VGOfKvpRMCXB8fdA\r\n/kehbvL29UZleS7MoEOwzn8RZ8WvKL2O5cUZqgMXKfRcaVHFfp9fAcz80gfd\r\n5bLnPbXvB4dgXVeN1uGtUP4IgQfLA+SJ/I5PFgq+PFVkauPUJsHB8VNNNfQE\r\nDJi/Awg7bh21SoLhi4MXWT549PcnA4ZXG+bctK2b6HVwCCUecxXLfKh+6Peb\r\n3IKFDCWxQ4LbzmeUfYi5ickmzotDALf0YkegorncQPZ16SEXwpaJlzMWsS82\r\nSsQyfEKbsSo274VVBRBekIsKoHpsKDlzn8RptLE88G6/uCOxUAlC7tDwt3t/\r\npkglyIYPwxEaeTWqlG4dPpgAcGHCeSuRR3C7zFvuaSd5Err69/3PZRgj9E2g\r\nwBRKzjNBRx8HjMQ3jqP9PMDZw6/ylib7uH+0hCl72goFyEnieB2ifixbSh35\r\n5j04gAoukuJslTWHuWKDjNV8K6aRnLDOA7K/NizxPJjIbK4bhqEULhJ0l+2S\r\n5bajDF52+qbbjWI9dFG9tOrkMfNlUduEQQsgNppFkBESvA9sADHq6siAKhE1\r\nzWyUhpi+/X1c7hgYYtVZMQyHYtGcBjNpByrxzpL5CH+EU9hW2haiOhj5O50O\r\nDGA5yDSpgC7gcDW+oBTkcdXoh9GM7Tx7NQ4=\r\n=AQzd\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","type":"commonjs","types":"./dist/index.d.ts","engines":{"node":">=14.0.0"},"gitHead":"a26b6dccbe857751ccdf5ebc2569dec43ebe8e1c","gypfile":true,"private":false,"scripts":{"test":"sudo PATH=\"$PATH\" env TS_NODE_COMPILER_OPTIONS='{\"module\": \"commonjs\" }' mocha -r ts-node/register 'tests/**/*.ts'","build":"tsc && npm run install","install":"node install.js --all --silent || exit 0","nodegyp":"node install.js --nodegyp","test:full":"npm run nodegyp && npm run test","postinstall":"node install.js --all --silent || exit 0"},"sponsor":{"url":"https://github.com/sponsors/Sirherobrine23"},"_npmUser":{"name":"sirherobrine23","email":"srherobrine20@gmail.com"},"repository":{"url":"git+https://github.com/Sirherobrine23/Wireguard-tools.js.git","type":"git"},"_npmVersion":"8.15.0","description":"Control your wireguard interface from node.js, not a wireguard-tools wrapper!","directories":{},"_nodeVersion":"18.7.0","dependencies":{"node-addon-api":"^5.0.0","node-gyp-build":"^4.5.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"chai":"^4.3.6","mocha":"^10.0.0","ts-node":"^10.9.1","node-gyp":"^9.1.0","typescript":"^4.7.4","@types/chai":"^4.3.1","@types/node":"^18.6.3","@types/mocha":"^9.1.1"},"_npmOperationalInternal":{"tmp":"tmp/wireguard-tools.js_1.3.1_1659826906344_0.5094888483679603","host":"s3://npm-registry-packages"}},"1.3.2":{"name":"wireguard-tools.js","version":"1.3.2","keywords":["wireguard","node-addon","wireguard-tools","wireguard-basic-tools","wireguard-utils"],"author":{"url":"https://sirherobrine23.org/","name":"Matheus Sampaio Queiroga","email":"srherobrine20@gmail.com"},"license":"GPL-2.0-only","_id":"wireguard-tools.js@1.3.2","maintainers":[{"name":"sirherobrine23","email":"srherobrine20@gmail.com"}],"homepage":"https://github.com/Sirherobrine23/Wireguard-tools.js#readme","bugs":{"url":"https://github.com/Sirherobrine23/Wireguard-tools.js/issues"},"os":["linux","android","freebsd","darwin"],"dist":{"shasum":"361ea1f95eff9c4f8553bb6642e8c5acbfb8a11f","tarball":"https://registry.npmjs.org/wireguard-tools.js/-/wireguard-tools.js-1.3.2.tgz","fileCount":35,"integrity":"sha512-250ewSVdXuDfEH0n/WM5vklbnkrJ3/8UIEYYFpoRLo+vlJTevV42aHem9QOqMAUdFJNTYyb7ywIKuswcF2GGyQ==","signatures":[{"sig":"MEUCIG1Mf7z8mfmw/ZR+Aj08bn0QgpLjYPASf4hpq9uhsq8BAiEA8+1Ep6Gzk5luf2Wn5mg4sur+iD95yp0iOuvdXH5t2KI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":160049,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi8Ej2ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoRhw/9HYL0NbkVPnK7C2KFD2uQWiN9vh9EEY7Pi1IOIf82I33dMfVL\r\njACGmDekyi9U36569bw2cthJrV+54GViZspkH0EY9DOALxhJNrZe/hE+Nuuu\r\nSL6cq+Pozmx8FKdJnsR1nfCxDbQc1h7OkPS7kdQ67mlwBVqDIsYtpFqYchbP\r\nmPJVYWWfTt9QykUOdE7fFKFVEV6p0gAQjZFsYTM5uQfTw1ge2tE984sQYbNp\r\nZAThw7iuonFN6ua3TftzhfvZ9mBTP7Wln+vVyKgU7y5Qyr6eh5AykZsTjdpR\r\n2r6CV2Ugtze04TpJbA//m35T6BN/wt3+8LR/iSVF0Dgg7nHVlDvakv8M96WH\r\nti0rvtyXseNHOQOiiI/NEhQyr7LjfgahN3v15Sh+iEMTUJX1WICNcyACxk/q\r\nspejTEfy7w8frHjGCPxpZx5EqBdgq3oAYkEC1slvEtvJB8jV0x/D5SEg+pLR\r\nvO5pFjvuopqCxJS7OPBdHNVG58wcTJ/F5blRXhqKVnrfIfMYgQN66hfAMDIG\r\nQGt2c27XnfWgz6oCO+WsB7T940aqICg4fItdUqXIRl6FTuBclv2kjfAhaJdU\r\nqSijKfoH5PYVIn+rUBNlFVt/RYR3ohF0kDSxHInuDQ9tTqOBdv94s7iRTtlN\r\numHcIptq3co6U0d8kFt/X64wxn+la9SndN8=\r\n=WnOS\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","type":"commonjs","types":"./dist/index.d.ts","engines":{"node":">=14.0.0"},"gitHead":"74a996e37dc13ed3aa5e15883190e32b4f4b83e2","private":false,"scripts":{"test":"sudo PATH=\"$PATH\" env TS_NODE_COMPILER_OPTIONS='{\"module\": \"commonjs\" }' mocha -r ts-node/register 'tests/**/*.ts'","build":"tsc && node install.js --all","nodegyp":"node install.js --nodegyp","test:full":"npm run build && npm run test","preinstall":"node install.js --all"},"sponsor":{"url":"https://github.com/sponsors/Sirherobrine23"},"_npmUser":{"name":"sirherobrine23","email":"srherobrine20@gmail.com"},"repository":{"url":"git+https://github.com/Sirherobrine23/Wireguard-tools.js.git","type":"git"},"_npmVersion":"8.15.0","description":"Control your wireguard interface from node.js, not a wireguard-tools wrapper!","directories":{},"_nodeVersion":"18.7.0","dependencies":{"node-addon-api":"^5.0.0","node-gyp-build":"^4.5.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"chai":"^4.3.6","mocha":"^10.0.0","ts-node":"^10.9.1","node-gyp":"^9.1.0","typescript":"^4.7.4","@types/chai":"^4.3.1","@types/node":"^18.6.3","@types/mocha":"^9.1.1"},"_npmOperationalInternal":{"tmp":"tmp/wireguard-tools.js_1.3.2_1659914486460_0.8671366523503508","host":"s3://npm-registry-packages"}},"1.3.3":{"name":"wireguard-tools.js","version":"1.3.3","keywords":["wireguard","node-addon","wireguard-tools","wireguard-basic-tools","wireguard-utils"],"author":{"url":"https://sirherobrine23.org/","name":"Matheus Sampaio Queiroga","email":"srherobrine20@gmail.com"},"license":"GPL-2.0-only","_id":"wireguard-tools.js@1.3.3","maintainers":[{"name":"sirherobrine23","email":"srherobrine20@gmail.com"}],"homepage":"https://github.com/Sirherobrine23/Wireguard-tools.js#readme","bugs":{"url":"https://github.com/Sirherobrine23/Wireguard-tools.js/issues"},"os":["linux","android","freebsd","darwin"],"dist":{"shasum":"672ecb49457e83b0028a8db9816f0f855a31eefb","tarball":"https://registry.npmjs.org/wireguard-tools.js/-/wireguard-tools.js-1.3.3.tgz","fileCount":35,"integrity":"sha512-32zSnoQs8HXBYWIcpg4ovCkUHd+PXt9gBx3UuDFcNZj0kL2+QcLavSmr5nfj1pyvvDopKqYSfyAypF6M9hcCDg==","signatures":[{"sig":"MEYCIQDByoS3ZlQeQC367qaT6rJ90Ab7oulpuSZbRbANx80izAIhAItGmNMQ39Miju+gWoaxeg6kHIrwyKznJv3syodJ5aZQ","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":290546,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi+FIdACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrSuQ//foEfNORgpe77sf6XVzqyUw+K7D9heB+oiy9lbilaRWO3QBKI\r\nkCB92mBW1B4j0y9p5irdx9vdrCQ+PwQYRvBXsQDOVId30UKA/NNIjiuNSm+p\r\nxuDptCZwQhJYZZ9vYWtRqXKUB6tXH21jjHtssgtK7USMj67k6QOxLTiXK1tw\r\n+gbM5SD8inTkdZjLyed1pGnzeVW1cN9XnMzcixLd85v5oXkikqXeXYzLOyEb\r\nguJQo0S/eVNeQ0ixhcq6IBH/GfTePflFn4OKtdTFt2mPOMkRXUOHnWMwEMI2\r\njy3e//2PV6euI5yMTjqeTTPUAOArlYaTz1s5CFTyMWxqe5hRQxiirE7APEkc\r\nvx6gYsBs59Om+XigNwykHJSGhjOqNRiUOfSIqjcGOBDJGLLsqnH2urI5onvg\r\nslTwyDHpg5yjFufDw5ymVKSd5/PJgPSvIYj/fUAjlGuE7dflvVsLrlycpWN5\r\n8lsCnKjSctWFNxoZAseZ1f3NMRAOfkzSXhAOW08U5C7ZTsr/pCoEUaMghfiN\r\nGUVvXcLeRihJr3Knh5v/c2L3rVO0q+pLsXVMVYVvbVnTHQQGNULVfemCccef\r\np6qGtOOaQc6gJFS8Y1DTddbKxIq1xnqJ19tDm9oexW+L7ZIii5mvw4dpxgUv\r\nFqQvLR9r3Ot+dJyYJOfbDzS0PbsBJ13HbaI=\r\n=FYTF\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","type":"commonjs","types":"./dist/index.d.ts","readme":"# Wireguard-tools.js\n\nA quick way to use Wireguard with Node.js without having to run the Wireguard tools. We've included some `wg` command patterns to avoid confusion and to maintain a base between the tools.\n\nIn addition to having some basic utilities already integrated:\n\n- Keygen: Generate private and public keys and also a pre-shared key.\n- Config file: You can generate files for Wireguard directly from here and you can transform a configuration file into a JSON.\n\nTo manage Wireguard interfaces:\n\n- Create a new Wireguard network interface and configure it with the provided information.\n- Delete Interface.\n- Get the peers along with the interface and peer information.\n\n> **Note**\n>\n> This module needs `make` and `gcc/g++` or `clang`. this module needs some tools to compile `embbeded-wireguard`.\n\n## Example\n\nParse wireguard configuration file:\n\n```ts\nimport { readFileSync } from \"node:fs\";\nimport { utils } from \"wireguard-tools.js\";\nconst configFile = readFileSync(\"/etc/wireguard/wg0.conf\", \"utf8\");\nconst configJson = utils.config.parseConfig(configFile);\nconsole.log(\"Config file JSON:\\n%o\", configJson.data);\n```\n\nCreate Config:\n\n```ts\nimport { utils } from \"wireguard-tools.js\";\nconst wireguardConfig = utils.config.writeConfig({\n  interface: {\n    private: \"CEOntDE9saQaHLhD/WzZuYky3+elOfnBUCXoSveD3kc=\",\n    public: \"xaZtpi3VCkBMhSTKM6jl/YjPJ370iYpBlLYwSyZ3W08=\",\n    address: [\n      {\n        ip: \"10.0.0.1\",\n        subnet: 24\n      }\n    ]\n  },\n  peer: {\n    \"tF4YxTqLIJdNQcqvz1jtIF993zSk79hP+zdBxQlaowA=\": {\n      Keepalive: 25,\n      Endpoint: {\n        host: \"wireguard.example.com\",\n        port: 51820\n      },\n    }\n  }\n});\nconsole.log(\"Config file:\\n%s\", wireguardConfig);\n```\n\nor\n\n> **Note**\n>\n> To save to wireguard's default directory (`/etc/wireguard`), it is necessary to have root access or a user with write permissions on the directory.\n\n```ts\nimport { utils } from \"wireguard-tools.js\";\nutils.config.writeConfig({\n  interface: {\n    private: \"CEOntDE9saQaHLhD/WzZuYky3+elOfnBUCXoSveD3kc=\",\n    public: \"xaZtpi3VCkBMhSTKM6jl/YjPJ370iYpBlLYwSyZ3W08=\",\n    address: [\n      {\n        ip: \"10.0.0.5\",\n        subnet: 24\n      }\n    ]\n  },\n  peer: {\n    \"tF4YxTqLIJdNQcqvz1jtIF993zSk79hP+zdBxQlaowA=\": {\n      Keepalive: 25,\n      Endpoint: {\n        host: \"wireguard.example.com\",\n        port: 51820\n      },\n    }\n  }\n}, \"wg0\");\n```\n\nGet Current peers and Statistics:\n\n```ts\nimport { show } from \"wireguard-tools.js\";\nconst wireguardInterfaces = show(\"wg0\");\n// Wg0 is the interface name.\nconsole.log(\"Wg0:\\n%o\", wireguardInterfaces);\n```\n","engines":{"node":">=14.0.0"},"gitHead":"ddd4f4a390a468aab776ed58d73d6e42c91f548b","private":false,"scripts":{"test":"sudo PATH=\"$PATH\" env TS_NODE_COMPILER_OPTIONS='{\"module\": \"commonjs\" }' mocha -r ts-node/register 'tests/**/*.ts'","build":"tsc && npm run nodegyp","clean":"rm -rf build prebuilds dist","install":"node-gyp-build","nodegyp":"npm run clean && node-gyp rebuild","prepack":"npm run clean && tsc && prebuildify --napi","test:full":"npm run build && npm run test"},"sponsor":{"url":"https://github.com/sponsors/Sirherobrine23"},"_npmUser":{"name":"sirherobrine23","email":"srherobrine20@gmail.com"},"repository":{"url":"git+https://github.com/Sirherobrine23/Wireguard-tools.js.git","type":"git"},"_npmVersion":"8.15.0","description":"Control your wireguard interface from node.js, not a wireguard-tools wrapper!","directories":{},"_nodeVersion":"18.7.0","dependencies":{"node-addon-api":"^5.0.0","node-gyp-build":"^4.5.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"chai":"^4.3.6","mocha":"^10.0.0","ts-node":"^10.9.1","node-gyp":"^9.1.0","typescript":"^4.7.4","@types/chai":"^4.3.1","@types/node":"^18.6.3","prebuildify":"^5.0.1","@types/mocha":"^9.1.1"},"_npmOperationalInternal":{"tmp":"tmp/wireguard-tools.js_1.3.3_1660441116978_0.9283414698857573","host":"s3://npm-registry-packages"}},"1.3.4":{"name":"wireguard-tools.js","version":"1.3.4","keywords":["wireguard","node-addon","wireguard-tools","wireguard-basic-tools","wireguard-utils"],"author":{"url":"https://sirherobrine23.org/","name":"Matheus Sampaio Queiroga","email":"srherobrine20@gmail.com"},"license":"GPL-2.0-only","_id":"wireguard-tools.js@1.3.4","maintainers":[{"name":"sirherobrine23","email":"srherobrine20@gmail.com"}],"homepage":"https://github.com/Sirherobrine23/Wireguard-tools.js#readme","bugs":{"url":"https://github.com/Sirherobrine23/Wireguard-tools.js/issues"},"os":["linux","android","freebsd","darwin"],"dist":{"shasum":"85a6105a06783534384ee96d0c4b0fc8b2a83f66","tarball":"https://registry.npmjs.org/wireguard-tools.js/-/wireguard-tools.js-1.3.4.tgz","fileCount":36,"integrity":"sha512-P7tyMeX7yw1jR02DPZDOnUiRDvZ0mlWE2X9mOwbMcaDNEvZct1u0IytEB6DN42nbA1cy3+B1JvKI1J9fe0iR3w==","signatures":[{"sig":"MEUCIQDd1DJPvjXEjwX1Zx7xaaKCrv23diDVn46q+RMbu5Cz+AIgc3x0upcxfALeYSBOXxAMpzsWC+xc+4QoShmiGUG+SzA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":419155,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi+JNSACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoEPQ//XRfBmkt+VR4wv1JSRxFu2M/Naw6O7WXtbQ0e728XoPcWFgGH\r\nt1nCPGupms8QPpk2ikopRtNl0rkQFfLGja8GBWNhKl/76ye3Xsy1rJ5CMZzP\r\n9V6FYynPqv5GrlAQPGnlbWrsI6XrxnoP+5a5pSeXAeSzSrA6asjIjI4VsxaB\r\nPgVuZyaIDCMrbPynQFU3mCVV4g3aSC6sr9Az7nfsDzEKVu5KUVNzXma/A8e5\r\nzmIwG/dThXKTzerr2p+dSr7mDUzEBXXOpJR2ntqEm6S6tFGK0lhSimFGg+7+\r\nH00y0BE+2zAabj/uM8Ll9GLqLOnoDnou+U+IDQ2H3Fc7wQquuqI7hxDzjnhh\r\n5uHOCJiLzbGUcUqimtO1la0rNq8d+F0BZh+kWgwJc1kReRDjG5YA30JmEgMS\r\n4ql0GGVE5Ig7qWqs5bjeVFs6cLeVCqxWa6ayUPX0h4UwFtNoKAUDsRrWLhyA\r\nXFYz837CvD28vYAf/Pm/N60eJ66O4+qK6mrQgRz5MdhbpOc6uAJGP07jHVTH\r\nYp51F60sSmuOV3uK7jrRrjHDb+cZKgoGvdtBqcbgnjsAIW2oJddTKnsC92ce\r\nTHmBWR+yTNWG/aV3Fda9EWtQ/H+wtcqkfYJYH/FUPgFLqNt7pcanfotZ07NL\r\nBGeUa/+6/3xcUgMhamnEfPMXPUERxia2Nk4=\r\n=gWjV\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","type":"commonjs","types":"./dist/index.d.ts","readme":"# Wireguard-tools.js\n\nA quick way to use Wireguard with Node.js without having to run the Wireguard tools. We've included some `wg` command patterns to avoid confusion and to maintain a base between the tools.\n\nIn addition to having some basic utilities already integrated:\n\n- Keygen: Generate private and public keys and also a pre-shared key.\n- Config file: You can generate files for Wireguard directly from here and you can transform a configuration file into a JSON.\n\nTo manage Wireguard interfaces:\n\n- Create a new Wireguard network interface and configure it with the provided information.\n- Delete Interface.\n- Get the peers along with the interface and peer information.\n\n> **Note**\n>\n> This module needs `make` and `gcc/g++` or `clang`. this module needs some tools to compile `embbeded-wireguard`.\n\n## Example\n\nParse wireguard configuration file:\n\n```ts\nimport { readFileSync } from \"node:fs\";\nimport { utils } from \"wireguard-tools.js\";\nconst configFile = readFileSync(\"/etc/wireguard/wg0.conf\", \"utf8\");\nconst configJson = utils.config.parseConfig(configFile);\nconsole.log(\"Config file JSON:\\n%o\", configJson.data);\n```\n\nCreate Config:\n\n```ts\nimport { utils } from \"wireguard-tools.js\";\nconst wireguardConfig = utils.config.writeConfig({\n  interface: {\n    private: \"CEOntDE9saQaHLhD/WzZuYky3+elOfnBUCXoSveD3kc=\",\n    public: \"xaZtpi3VCkBMhSTKM6jl/YjPJ370iYpBlLYwSyZ3W08=\",\n    address: [\n      {\n        ip: \"10.0.0.1\",\n        subnet: 24\n      }\n    ]\n  },\n  peer: {\n    \"tF4YxTqLIJdNQcqvz1jtIF993zSk79hP+zdBxQlaowA=\": {\n      Keepalive: 25,\n      Endpoint: {\n        host: \"wireguard.example.com\",\n        port: 51820\n      },\n    }\n  }\n});\nconsole.log(\"Config file:\\n%s\", wireguardConfig);\n```\n\nor\n\n> **Note**\n>\n> To save to wireguard's default directory (`/etc/wireguard`), it is necessary to have root access or a user with write permissions on the directory.\n\n```ts\nimport { utils } from \"wireguard-tools.js\";\nutils.config.writeConfig({\n  interface: {\n    private: \"CEOntDE9saQaHLhD/WzZuYky3+elOfnBUCXoSveD3kc=\",\n    public: \"xaZtpi3VCkBMhSTKM6jl/YjPJ370iYpBlLYwSyZ3W08=\",\n    address: [\n      {\n        ip: \"10.0.0.5\",\n        subnet: 24\n      }\n    ]\n  },\n  peer: {\n    \"tF4YxTqLIJdNQcqvz1jtIF993zSk79hP+zdBxQlaowA=\": {\n      Keepalive: 25,\n      Endpoint: {\n        host: \"wireguard.example.com\",\n        port: 51820\n      },\n    }\n  }\n}, \"wg0\");\n```\n\nGet Current peers and Statistics:\n\n```ts\nimport { show } from \"wireguard-tools.js\";\nconst wireguardInterfaces = show(\"wg0\");\n// Wg0 is the interface name.\nconsole.log(\"Wg0:\\n%o\", wireguardInterfaces);\n```\n","engines":{"node":">=14.0.0"},"gitHead":"241a907de508ce2810f0a73f8bd1e13c472e5839","private":false,"scripts":{"test":"sudo PATH=\"$PATH\" env TS_NODE_COMPILER_OPTIONS='{\"module\": \"commonjs\" }' mocha -r ts-node/register 'tests/**/*.ts'","build":"tsc && npm run nodegyp","clean":"rm -rf build prebuilds dist","install":"node-gyp-build","nodegyp":"npm run clean && node-gyp rebuild","prepack":"npm run clean && tsc && for Arch in 'x64' 'arm64'; do prebuildify --napi --arch=$Arch; done && rm -rf build","test:full":"npm run build && npm run test"},"sponsor":{"url":"https://github.com/sponsors/Sirherobrine23"},"_npmUser":{"name":"sirherobrine23","email":"srherobrine20@gmail.com"},"repository":{"url":"git+https://github.com/Sirherobrine23/Wireguard-tools.js.git","type":"git"},"_npmVersion":"8.15.0","description":"Control your wireguard interface from node.js, not a wireguard-tools wrapper!","directories":{},"_nodeVersion":"18.7.0","dependencies":{"node-addon-api":"^5.0.0","node-gyp-build":"^4.5.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"chai":"^4.3.6","mocha":"^10.0.0","ts-node":"^10.9.1","node-gyp":"^9.1.0","typescript":"^4.7.4","@types/chai":"^4.3.1","@types/node":"^18.6.3","prebuildify":"^5.0.1","@types/mocha":"^9.1.1"},"_npmOperationalInternal":{"tmp":"tmp/wireguard-tools.js_1.3.4_1660457810640_0.4232387555034254","host":"s3://npm-registry-packages"}},"1.4.0":{"name":"wireguard-tools.js","version":"1.4.0","keywords":["wireguard","node-addon","wireguard-tools","wireguard-basic-tools","wireguard-utils"],"author":{"url":"https://sirherobrine23.org/","name":"Matheus Sampaio Queiroga","email":"srherobrine20@gmail.com"},"license":"GPL-2.0-only","_id":"wireguard-tools.js@1.4.0","maintainers":[{"name":"sirherobrine23","email":"srherobrine20@gmail.com"}],"homepage":"https://github.com/Sirherobrine23/Wireguard-tools.js#readme","bugs":{"url":"https://github.com/Sirherobrine23/Wireguard-tools.js/issues"},"os":["linux","android","freebsd","darwin"],"dist":{"shasum":"bbecc0e4069a6585817905ac4a56f7b848f205d5","tarball":"https://registry.npmjs.org/wireguard-tools.js/-/wireguard-tools.js-1.4.0.tgz","fileCount":36,"integrity":"sha512-pmKEhedh0GtsuXlMvyj4LMPAVWj5cp+EFQDQfqqMpCMbGmI2wpcMcTtIjBCS7qfPX3nG+nInoThmI9+bAC/2MQ==","signatures":[{"sig":"MEUCIH3Bo9KjR94KFvWunQgoLqt2JxGJHITtsqSSmiM6B0qOAiEAokQOjtUGt89UzfRw9EjgxaISLvYO/Nt8s1wGcM1TiNw=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":419155,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi+JohACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpXWBAAlEgk1LNCkTK0pxbCoraHjE8LC9rZyrZJQ9DdS5YlTC+Dyfgc\r\nb70mjAG5NIHhkErBUYkn1+hNokcfSVSmeTKfrU5YvwqpsEn63TQ7uvhH7sbp\r\nlYujLWodsWrR2gdffWiMKRJ+coQpVITOsyWHseenjYd+An7/rCU3tBOfPTFn\r\nC5NtCBz7pUXXLAPNjdwVigxmQ9bGptgGWtdE0kqj4VzYkg/YXKoBOQOobjto\r\nPuw+m7Uw3pzySsoE9SOZGqHtJnhWZ0JLup9yew0R5jNnz79nUF3wxYXxkAAv\r\npIXx8XuzVNSkv7aUbj+9t9wHYdTXjNMKjX2uaH8yHo7tmdWHHJsKpmlLeh04\r\ndTP8nPj5bZSDioWPUY4y8sHJAC7jVcS7jdpVu8sU7udN0xso3ma3/36pngU3\r\nb/rcCrAKouuANbOW2T9nZ77zOgM77yRWu/Amy3H5xJQHymXvUvE0FXZwIaK8\r\nRHpGf5EaPrHg8uI4SwXg7iAXi2d6DAePkgu6b3Gd7YTttH0NiS6pxs8wS5yj\r\nbY65Ynfx+Rrj9FyiZNtAmxdNNvT43oH1qPVbbayOCwxPvClR1p+ETks9bZoT\r\nwyiSptpdxSc3fSyLgeXqHGJcwxf6EAlUTkMSyP/PM0orQka6b93bwSALZPlA\r\nue6YsWYRoIh+7MCByQdvTQ2RlzPM04c4M5s=\r\n=jU2O\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","type":"commonjs","types":"./dist/index.d.ts","engines":{"node":">=14.0.0"},"gitHead":"f873d9f1f4df5e8762fbeca7999e8aba951859d4","private":false,"scripts":{"test":"sudo PATH=\"$PATH\" env TS_NODE_COMPILER_OPTIONS='{\"module\": \"commonjs\" }' mocha -r ts-node/register 'tests/**/*.ts'","build":"tsc && npm run nodegyp","clean":"rm -rf build prebuilds dist","install":"node-gyp-build","nodegyp":"npm run clean && node-gyp rebuild","prepack":"npm run clean && tsc && for Arch in 'x64' 'arm64'; do prebuildify --napi --arch=$Arch; done && rm -rf build","test:full":"npm run build && npm run test"},"sponsor":{"url":"https://github.com/sponsors/Sirherobrine23"},"_npmUser":{"name":"sirherobrine23","email":"srherobrine20@gmail.com"},"repository":{"url":"git+https://github.com/Sirherobrine23/Wireguard-tools.js.git","type":"git"},"_npmVersion":"8.15.0","description":"Control your wireguard interface from node.js, not a wireguard-tools wrapper!","directories":{},"_nodeVersion":"18.7.0","dependencies":{"node-addon-api":"^5.0.0","node-gyp-build":"^4.5.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"chai":"^4.3.6","mocha":"^10.0.0","ts-node":"^10.9.1","node-gyp":"^9.1.0","typescript":"^4.7.4","@types/chai":"^4.3.3","@types/node":"^18.7.3","prebuildify":"^5.0.1","@types/mocha":"^9.1.1"},"_npmOperationalInternal":{"tmp":"tmp/wireguard-tools.js_1.4.0_1660459553171_0.01430056209268149","host":"s3://npm-registry-packages"}},"1.4.1":{"name":"wireguard-tools.js","version":"1.4.1","keywords":["wireguard","node-addon","wireguard-tools","wireguard-basic-tools","wireguard-utils"],"author":{"url":"https://sirherobrine23.org/","name":"Matheus Sampaio Queiroga","email":"srherobrine20@gmail.com"},"license":"GPL-2.0-only","_id":"wireguard-tools.js@1.4.1","maintainers":[{"name":"sirherobrine23","email":"srherobrine20@gmail.com"}],"homepage":"https://github.com/Sirherobrine23/Wireguard-tools.js#readme","bugs":{"url":"https://github.com/Sirherobrine23/Wireguard-tools.js/issues"},"os":["linux","android","freebsd","darwin"],"dist":{"shasum":"063b257f00347b0563e18b5bbc1eb0cb866b88c6","tarball":"https://registry.npmjs.org/wireguard-tools.js/-/wireguard-tools.js-1.4.1.tgz","fileCount":36,"integrity":"sha512-g08fUKOG6fs8nknl3Pm3wHkFEX/zH+gcpa7aHpsr9v+qUOZlLB8PSbDtkQhmCw1Ktzj/xokDn9N3bsXrz4Pafg==","signatures":[{"sig":"MEUCIC74mfZIbRwAyZEMhzjo9ZZsMGx0+Mkte5qrsWod0IBYAiEAppfn1scpdthrnTjHk86MqTYYyLYaw/6Pp5XTcWMHceg=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":419541,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi+WwvACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqfbxAAmuHXlUEFpUaJ2s43tlCmwT75PkGwc+nEw7Q9aEwcLjGap4zn\r\n8pW3Cesa/AcpGtOXElEX2lwFn/F2VWxnLDgOF4CjqfH2tiHyJSJR2+Zs0n4z\r\n7qeLY6fpEW5mmp/vGOo8VyceuQjwov0sE/HlQ38YBAQPaaL8AfALYca/yA6I\r\nF1obMBs8efPqJ1tIUhRKBG/baCyNRNqc1qxf+2lU+xR+WYVl0sxZ8qhjHJO3\r\nA6mMwoVfNXlb6MNY1QI9hY8s6bqxOvvhczFtWqu56TVtgV0uRmBVbuyflk/3\r\nY2MXsj1Dp9oLDXjdsGSSeXRFPe0kUzth3mqVl6938QbibjWLK92nEWQYO2V+\r\ngHR64TSQIFV3ex3nmzK0QTRVIDGyCIrIcpmdIUGwb9eczXdFpkq6MpPTBbOd\r\nmzN1/i1otkjsDsVblVGYV6q9TfbIj2hLeWXk2LEWZmkjfbRgepbNf63Ia9Rr\r\nd+gPiB63N9/1QRAjszTBG/9xba5aM217xSrGN1UCEH6r+BMgqgmfJwx6AolI\r\n2XDujoUUMpmIuELZsBcDk1K/msLFs1nWqwh0lZgu5akIQWMMwdu0uYHRk4ED\r\nx+RKDiBcOfSMblUhKsE/WEOEe8XIkU+YkZ4eDO85zf6jDchI/gNH9eIDzN6R\r\n/MQy1l/9z0ZHV+5Pz1zTmLlIP9ZwL0yTA80=\r\n=0gbc\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","type":"commonjs","types":"./dist/index.d.ts","readme":"# Wireguard-tools.js\n\nA quick way to use Wireguard with Node.js without having to run the Wireguard tools. We've included some `wg` command patterns to avoid confusion and to maintain a base between the tools.\n\nIn addition to having some basic utilities already integrated:\n\n- Keygen: Generate private and public keys and also a pre-shared key.\n- Config file: You can generate files for Wireguard directly from here and you can transform a configuration file into a JSON.\n\nTo manage Wireguard interfaces:\n\n- Create a new Wireguard network interface and configure it with the provided information.\n- Delete Interface.\n- Get the peers along with the interface and peer information.\n\n> **Note**\n>\n> This module needs `make` and `gcc/g++` or `clang`. this module needs some tools to compile `embbeded-wireguard`.\n\n## Example\n\nParse wireguard configuration file:\n\n```ts\nimport { readFileSync } from \"node:fs\";\nimport { utils } from \"wireguard-tools.js\";\nconst configFile = readFileSync(\"/etc/wireguard/wg0.conf\", \"utf8\");\nconst configJson = utils.config.parseConfig(configFile);\nconsole.log(\"Config file JSON:\\n%o\", configJson.data);\n```\n\nCreate Config:\n\n```ts\nimport { utils } from \"wireguard-tools.js\";\nconst wireguardConfig = utils.config.writeConfig({\n  interface: {\n    private: \"CEOntDE9saQaHLhD/WzZuYky3+elOfnBUCXoSveD3kc=\",\n    public: \"xaZtpi3VCkBMhSTKM6jl/YjPJ370iYpBlLYwSyZ3W08=\",\n    address: [\n      {\n        ip: \"10.0.0.1\",\n        subnet: 24\n      }\n    ]\n  },\n  peer: {\n    \"tF4YxTqLIJdNQcqvz1jtIF993zSk79hP+zdBxQlaowA=\": {\n      Keepalive: 25,\n      Endpoint: {\n        host: \"wireguard.example.com\",\n        port: 51820\n      },\n    }\n  }\n});\nconsole.log(\"Config file:\\n%s\", wireguardConfig);\n```\n\nor\n\n> **Note**\n>\n> To save to wireguard's default directory (`/etc/wireguard`), it is necessary to have root access or a user with write permissions on the directory.\n\n```ts\nimport { utils } from \"wireguard-tools.js\";\nutils.config.writeConfig({\n  interface: {\n    private: \"CEOntDE9saQaHLhD/WzZuYky3+elOfnBUCXoSveD3kc=\",\n    public: \"xaZtpi3VCkBMhSTKM6jl/YjPJ370iYpBlLYwSyZ3W08=\",\n    address: [\n      {\n        ip: \"10.0.0.5\",\n        subnet: 24\n      }\n    ]\n  },\n  peer: {\n    \"tF4YxTqLIJdNQcqvz1jtIF993zSk79hP+zdBxQlaowA=\": {\n      Keepalive: 25,\n      Endpoint: {\n        host: \"wireguard.example.com\",\n        port: 51820\n      },\n    }\n  }\n}, \"wg0\");\n```\n\nGet Current peers and Statistics:\n\n```ts\nimport { show } from \"wireguard-tools.js\";\nconst wireguardInterfaces = show(\"wg0\");\n// Wg0 is the interface name.\nconsole.log(\"Wg0:\\n%o\", wireguardInterfaces);\n```\n","engines":{"node":">=14.0.0"},"gitHead":"766cde4be8a7520d92fa33a276e54eadf21f5545","private":false,"scripts":{"test":"sudo PATH=\"$PATH\" env TS_NODE_COMPILER_OPTIONS='{\"module\": \"commonjs\" }' mocha -r ts-node/register 'tests/**/*.ts'","build":"tsc && npm run nodegyp","clean":"rm -rf build prebuilds dist","install":"node-gyp-build","nodegyp":"npm run clean && node-gyp rebuild","prepack":"npm run clean && tsc && for Arch in 'x64' 'arm64'; do prebuildify --napi --arch=$Arch; done && rm -rf build","test:full":"npm run build && npm run test"},"sponsor":{"url":"https://github.com/sponsors/Sirherobrine23"},"_npmUser":{"name":"sirherobrine23","email":"srherobrine20@gmail.com"},"repository":{"url":"git+https://github.com/Sirherobrine23/Wireguard-tools.js.git","type":"git"},"_npmVersion":"8.15.0","description":"Control your wireguard interface from node.js, not a wireguard-tools wrapper!","directories":{},"_nodeVersion":"18.7.0","dependencies":{"node-addon-api":"^5.0.0","node-gyp-build":"^4.5.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"chai":"^4.3.6","mocha":"^10.0.0","ts-node":"^10.9.1","node-gyp":"^9.1.0","typescript":"^4.7.4","@types/chai":"^4.3.3","@types/node":"^18.7.3","prebuildify":"^5.0.1","@types/mocha":"^9.1.1"},"_npmOperationalInternal":{"tmp":"tmp/wireguard-tools.js_1.4.1_1660513327312_0.2244979292805378","host":"s3://npm-registry-packages"}},"1.4.2":{"name":"wireguard-tools.js","version":"1.4.2","keywords":["wireguard","node-addon","wireguard-tools","wireguard-basic-tools","wireguard-utils"],"author":{"url":"https://sirherobrine23.org/","name":"Matheus Sampaio Queiroga","email":"srherobrine20@gmail.com"},"license":"GPL-2.0-only","_id":"wireguard-tools.js@1.4.2","maintainers":[{"name":"sirherobrine23","email":"srherobrine20@gmail.com"}],"homepage":"https://github.com/Sirherobrine23/Wireguard-tools.js#readme","bugs":{"url":"https://github.com/Sirherobrine23/Wireguard-tools.js/issues"},"os":["linux","android","freebsd"],"dist":{"shasum":"5003ade81ee354eac0d42b5ac0300ca436d72fe6","tarball":"https://registry.npmjs.org/wireguard-tools.js/-/wireguard-tools.js-1.4.2.tgz","fileCount":37,"integrity":"sha512-gGdSVi/xa45a1r23kPi8apMSydXEprDh1cLaRrXMmp+31oWuIm64Ra2kFSEPTIMt87Rxn4Xgk5KBXubJHR/QCA==","signatures":[{"sig":"MEUCIGjqnAkyWyXnwREpCF9kZH6NkD1/dPQVDFdGVgEKisdRAiEA4Lc+dYBoy9bwga9+2EtkFfR1kXxTwGXMPSxK8jJ6kfI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":421171,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi/rNdACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrRHA//VTUJk9YreWLrVjYcJo5kuWGIqQRsBzmhKfSXLMWod4iLHaat\r\nH2TTAWPs+Dq/8fHoIfltJXYFUXWMBTAcPLrwnhPknOD1jqG7GbV5r+t6abpE\r\nec7Fc2HgTJ8yAoJtZgZD5/Vm3mrFRK1ATRS9Z2nr637bZ45cgMBIzcjnduOj\r\nOHpLOyLvnU8MOEzpjkyMppAhqJvLdoIQNBlSK1lkIwUfGCTUXLjqts2NhM8a\r\nIs1X9fxIpbp5T9yfaLbA2nLCov//8duoeffOB/30gpFSMRntxp4Zyy9gpEPP\r\nKVAnfpPBq3Acc2pP68tPyddpajqC0gvb1ED6F/vMhMTlK9/s/oCWo+MPSxoc\r\nf60c1t30DyzSRstY0qPBvhpnyDJYXdOlIAPplzrSH5ELcPHLsOqEdTC2C5KA\r\nHtZbzOmi5LEMO1w8r7ZXbtXHVOkLXn/bpJkIpnpdy0UP1dCpCc4H2KKioT5d\r\nOeZJ92Sxym5m7rnVjDl21aho8KaizHBeBbqXHTw3fShUBA6XcA4vXHdmszKS\r\n0tEStuYVH8sj09pIhzQbLafr6J1hEqWUn2E3Pmhcrk7F+YT8BiqaFX02mtKQ\r\ni4fqfwYIOoNMWR5HsLw8gX9QhqZbgkGpcSmjm/cynZAibcf4LkUBva3AkUeu\r\nSFHG2lyTxte6Ui2LVVfmMHwpU/DGy5sYQYM=\r\n=rg86\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","type":"commonjs","types":"./dist/index.d.ts","readme":"# Wireguard-tools.js\n\nA quick way to use Wireguard with Node.js without having to run the Wireguard tools. We've included some `wg` command patterns to avoid confusion and to maintain a base between the tools.\n\nIn addition to having some basic utilities already integrated:\n\n- Keygen: Generate private and public keys and also a pre-shared key.\n- Config file: You can generate files for Wireguard directly from here and you can transform a configuration file into a JSON.\n\nTo manage Wireguard interfaces:\n\n- Create a new Wireguard network interface and configure it with the provided information.\n- Delete Interface.\n- Get the peers along with the interface and peer information.\n\n> **Note**\n>\n> This module needs `make` and `gcc/g++` or `clang`. this module needs some tools to compile `embbeded-wireguard`.\n\n## Example\n\nParse wireguard configuration file:\n\n```ts\nimport { readFileSync } from \"node:fs\";\nimport { utils } from \"wireguard-tools.js\";\nconst configFile = readFileSync(\"/etc/wireguard/wg0.conf\", \"utf8\");\nconst configJson = utils.config.parseConfig(configFile);\nconsole.log(\"Config file JSON:\\n%o\", configJson.data);\n```\n\nCreate Config:\n\n```ts\nimport { utils } from \"wireguard-tools.js\";\nconst wireguardConfig = utils.config.writeConfig({\n  interface: {\n    private: \"CEOntDE9saQaHLhD/WzZuYky3+elOfnBUCXoSveD3kc=\",\n    public: \"xaZtpi3VCkBMhSTKM6jl/YjPJ370iYpBlLYwSyZ3W08=\",\n    address: [\n      {\n        ip: \"10.0.0.1\",\n        subnet: 24\n      }\n    ]\n  },\n  peer: {\n    \"tF4YxTqLIJdNQcqvz1jtIF993zSk79hP+zdBxQlaowA=\": {\n      Keepalive: 25,\n      Endpoint: {\n        host: \"wireguard.example.com\",\n        port: 51820\n      },\n    }\n  }\n});\nconsole.log(\"Config file:\\n%s\", wireguardConfig);\n```\n\nor\n\n> **Note**\n>\n> To save to wireguard's default directory (`/etc/wireguard`), it is necessary to have root access or a user with write permissions on the directory.\n\n```ts\nimport { utils } from \"wireguard-tools.js\";\nutils.config.writeConfig({\n  interface: {\n    private: \"CEOntDE9saQaHLhD/WzZuYky3+elOfnBUCXoSveD3kc=\",\n    public: \"xaZtpi3VCkBMhSTKM6jl/YjPJ370iYpBlLYwSyZ3W08=\",\n    address: [\n      {\n        ip: \"10.0.0.5\",\n        subnet: 24\n      }\n    ]\n  },\n  peer: {\n    \"tF4YxTqLIJdNQcqvz1jtIF993zSk79hP+zdBxQlaowA=\": {\n      Keepalive: 25,\n      Endpoint: {\n        host: \"wireguard.example.com\",\n        port: 51820\n      },\n    }\n  }\n}, \"wg0\");\n```\n\nGet Current peers and Statistics:\n\n```ts\nimport { show } from \"wireguard-tools.js\";\nconst wireguardInterfaces = show(\"wg0\");\n// Wg0 is the interface name.\nconsole.log(\"Wg0:\\n%o\", wireguardInterfaces);\n```\n","engines":{"node":">=14.0.0"},"gitHead":"df8014137ebeb4ca404107049cc8df1fa1171e9e","private":false,"scripts":{"test":"sudo PATH=\"$PATH\" env TS_NODE_COMPILER_OPTIONS='{\"module\": \"commonjs\" }' mocha -r ts-node/register 'tests/**/*.ts'","build":"npm run nodegyp && tsc","clean":"rm -rf build prebuilds dist","install":"node-gyp-build","nodegyp":"npm run clean && node-gyp rebuild --silent","prepack":"npm run clean && tsc && npm run prebuildify:linux && rm -rf build","test:full":"npm run build && npm run test","prebuildify":"prebuildify --napi","prebuildify:linux":"for Arch in 'arm64' 'x64'; do npm run prebuildify -- --platform=linux --arch=$Arch; done"},"sponsor":{"url":"https://github.com/sponsors/Sirherobrine23"},"_npmUser":{"name":"sirherobrine23","email":"srherobrine20@gmail.com"},"repository":{"url":"git+https://github.com/Sirherobrine23/Wireguard-tools.js.git","type":"git"},"_npmVersion":"8.15.0","description":"Control your wireguard interface from node.js, not a wireguard-tools wrapper!","directories":{},"_nodeVersion":"18.7.0","dependencies":{"node-addon-api":"^5.0.0","node-gyp-build":"^4.5.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"chai":"^4.3.6","mocha":"^10.0.0","ts-node":"^10.9.1","node-gyp":"^9.1.0","typescript":"^4.7.4","@types/chai":"^4.3.3","@types/node":"^18.7.3","prebuildify":"^5.0.1","@types/mocha":"^9.1.1"},"_npmOperationalInternal":{"tmp":"tmp/wireguard-tools.js_1.4.2_1660859229246_0.29236491365725703","host":"s3://npm-registry-packages"}},"1.5.0":{"name":"wireguard-tools.js","version":"1.5.0","keywords":["wireguard","node-addon","wireguard-tools","wireguard-basic-tools","wireguard-utils"],"author":{"url":"https://sirherobrine23.org/","name":"Matheus Sampaio Queiroga","email":"srherobrine20@gmail.com"},"license":"GPL-2.0-only","_id":"wireguard-tools.js@1.5.0","maintainers":[{"name":"sirherobrine23","email":"srherobrine20@gmail.com"}],"homepage":"https://github.com/Sirherobrine23/Wireguard-tools.js#readme","bugs":{"url":"https://github.com/Sirherobrine23/Wireguard-tools.js/issues"},"os":["linux","android","freebsd"],"dist":{"shasum":"96153dd47c2a1e42409c9899e31e64dc5eddf825","tarball":"https://registry.npmjs.org/wireguard-tools.js/-/wireguard-tools.js-1.5.0.tgz","fileCount":37,"integrity":"sha512-oyJisJNziPjcaNOGhUsbNEoUToS7LlMAjgd/CBOjaEB4OgHm1G2qrTKapdIQz4UACACjPkx9yD22jpXdt7BzFw==","signatures":[{"sig":"MEUCIQC6j7L4qNvX1Uru76touhMnwu9yC9uDirG7kzE4515ZDAIgO2MpehB2pYKFCUJIC9F3Jv6Z5Trp6ULHobvt3aRtiBQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":425841,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi/uNqACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrDKw/+Ktp7mtCRL2ub9xFy0Z9YAQssEv+QrYAGVacqSBnmJw2iZfgg\r\nHXOpsLj/FNI3NUz0aiU1MT00973pXKHCkc0Lwwq4GbxYiltyK/NPUcODH8VP\r\nL1J7hA52xtawjTQvH2YAsNkcPkLxKNkq6xsZ+WTYRY56hBqpF3JMLZz7taaQ\r\nABQw01hIquVSM91pXw6+USTh2IA1HL52CtGsFxFEBVVLZX1MePdTEkfr0it8\r\n4y4C+Vn1WiNBGGLrkqU4t3iQZZPBwnZWqwXYRHXM/6pi2ioCkOsbiwhn2Lnr\r\n1D8gV8MJ7EP4qKwSReH4FtsouJmpZIrM7/nrPow6Mx5FDBP8Q/L4Bmns81vr\r\njP96LcvsLUneihtTswZSWQtT+0Et6rG82SSv7uxdCTbInBEuTMaRIWWOOOY8\r\nY14Sk03QDUOQ/Je7vd2UUrXmvAKa4ouPeQAHsUJdwST/AsKP2Aaq1QR3X18R\r\nV29R6l7wNdyFFCLerxGuZb+u7y0u4zvUvz+4oSsDfQRsMSzrhO3jonIX3SfZ\r\nxJnlY+vxewd9rT3kkNNVAnLCYr3F9fMXxFTp4f87pWRRWuC0zf5P5AT0cCrR\r\nIdQJza02k5tfw1uDsgBEGPv/eomgwYA49RFsk0wD8WlLTmh8dg60ul09UqG9\r\niVG8C3DCFbjmch/aqULYfZJUQSr488jL2OE=\r\n=nLuk\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","type":"commonjs","types":"./dist/index.d.ts","engines":{"node":">=14.0.0"},"gitHead":"1bba900164e3d0cf0f0166ca08d5cd3b88845d8a","private":false,"scripts":{"test":"sudo PATH=\"$PATH\" env TS_NODE_COMPILER_OPTIONS='{\"module\": \"commonjs\" }' mocha -r ts-node/register 'tests/**/*.ts'","build":"npm run nodegyp && tsc","clean":"rm -rf build prebuilds dist","install":"node-gyp-build","nodegyp":"npm run clean && node-gyp rebuild --silent","prepack":"npm run clean && tsc && npm run prebuildify:linux && rm -rf build","test:full":"npm run build && npm run test","prebuildify":"prebuildify --napi","prebuildify:linux":"for Arch in 'arm64' 'x64'; do npm run prebuildify -- --platform=linux --arch=$Arch; done"},"sponsor":{"url":"https://github.com/sponsors/Sirherobrine23"},"_npmUser":{"name":"sirherobrine23","email":"srherobrine20@gmail.com"},"repository":{"url":"git+https://github.com/Sirherobrine23/Wireguard-tools.js.git","type":"git"},"_npmVersion":"8.15.0","description":"Control your wireguard interface from node.js, not a wireguard-tools wrapper!","directories":{},"_nodeVersion":"18.7.0","dependencies":{"node-addon-api":"^5.0.0","node-gyp-build":"^4.5.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"chai":"^4.3.6","mocha":"^10.0.0","ts-node":"^10.9.1","node-gyp":"^9.1.0","typescript":"^4.7.4","@types/chai":"^4.3.3","@types/node":"^18.7.6","prebuildify":"^5.0.1","@types/mocha":"^9.1.1"},"_npmOperationalInternal":{"tmp":"tmp/wireguard-tools.js_1.5.0_1660871530550_0.6155624366858847","host":"s3://npm-registry-packages"}},"1.5.1":{"name":"wireguard-tools.js","version":"1.5.1","keywords":["wireguard","node-addon","wireguard-tools","wireguard-basic-tools","wireguard-utils"],"author":{"url":"https://sirherobrine23.org/","name":"Matheus Sampaio Queiroga","email":"srherobrine20@gmail.com"},"license":"GPL-2.0-only","_id":"wireguard-tools.js@1.5.1","maintainers":[{"name":"sirherobrine23","email":"srherobrine20@gmail.com"}],"homepage":"https://github.com/Sirherobrine23/Wireguard-tools.js#readme","bugs":{"url":"https://github.com/Sirherobrine23/Wireguard-tools.js/issues"},"os":["linux","android","freebsd"],"dist":{"shasum":"ab3c1723788ac86e1593cec08d5cf05637e07aa1","tarball":"https://registry.npmjs.org/wireguard-tools.js/-/wireguard-tools.js-1.5.1.tgz","fileCount":36,"integrity":"sha512-60a9h6PDISO0unsuv4F9t5SAq7feZpMQLVlxDTcnkdNTKGYWS3aYr3jGHcuVXaRwQ9f5yMqWte8Qt04rWgegJQ==","signatures":[{"sig":"MEUCIFDWRHCD1FiLH1sPtLdwR0+XUMQ8AD1uWK8gjPFdRuW9AiEA4ARFMiFAIhAVnZDI2PA7fWi/nuCFifUzbnnNUw2o8Mw=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":464179,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjBPzNACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrZxRAApMbTGIai2TCXj9cRgV0GKvb5zgLbTsJC2FOxvF6wQpQvb304\r\nnZ4ZspV2ewygoauokisWqnsKTlM5Gxuh0JS5Mhjg0uMIL4oMC2xSw9MZjU31\r\n/RqmqdnvVJP5HU1NnA0Q4T1SZ06v3h2aV26JUPJl0aSRlhKlx1x6AVOjfDKt\r\nMDNlTMHjgWK4x6M1DXkUyhuRQ8c3mQrpZ37LR9sjqo78FKBV7ekSfC8QyfIQ\r\nbKHTZlhi28I6v3YRcSFlW4Czs/tAhBvw/BNqXlYldzhYMJ9Jo27Ywf8lYE9R\r\n9WEhu25fGd2ahQaJ5Z2TxmktOZScHQ2/mRjQlyi/vu/q5lhalEDy7DbEn789\r\nOxIeh9/hym4XJyv7tkW4BQAzi9x7poeY8BevxwmxvJ1kJp/Vj0w4xAV7x83j\r\nPpaqTvQgO9QGhwN6u9yM5aKa70KD2wIO+bYrXn4U192s7tmd+XjkiAc4loaL\r\nOIzhRxwYE1p8yK2lswAK5BmTV2WvKSwtoFBMEuutoRN99/pLuaKz7uQ3+Ciy\r\n/k26gwIVmuzYLK0AM0l1/tV/aejQGdG3iBJuSj0U14FZWLabBRdkVrD4mHYY\r\nXGJX9XLG793hAJNAi7OZFhdWVr8cd6u8JmeTkyxEpRSD7SmGzv6AEuayeHjc\r\nGgXIsm3u4l9nmshOUQIHBKCSpGcNu1rOejA=\r\n=R1Go\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","type":"commonjs","types":"./dist/index.d.ts","readme":"# Wireguard-tools.js\n\nA quick way to use Wireguard with Node.js without having to run the Wireguard tools. We've included some `wg` command patterns to avoid confusion and to maintain a base between the tools.\n\n> **Note**\n>\n> we have pre-copied files for linux arm64(aarch64) and linux x86_64, any other architecture will be copied the addons for the same one, in which case you will have to have `gcc` or `clang` installed to compile.\n\nWith this module it is possible to:\n\n- Add/Remove a Wireguard interface.\n- Add/Remove/Modify `peers` for an interface.\n- Add IPs to the interface.\n- Create `pre-shared`, `private` and `public` keys.\n- Write the Wireguard configuration file and convert it to JSON format.\n\n## External LGPL Licence\n\nThis project works because with of [Wireguard embeddable library](https://github.com/WireGuard/wireguard-tools/tree/master/contrib/embeddable-wg-library).\n\n## Example\n\n> **Note**\n>\n> To manage the Wireguard interfaces, root access is required.\n\n### Get Current peers and Statistics\n\n```ts\nimport { show } from \"wireguard-tools.js\";\nconst wireguardInterfaces = show(\"wg0\");\n// Wg0 is the interface name.\nconsole.log(\"Wg0:\\n%o\", wireguardInterfaces);\n```\n\n### Parse wireguard configuration file\n\n```ts\nimport { readFileSync } from \"node:fs\";\nimport { utils } from \"wireguard-tools.js\";\nconst configFile = readFileSync(\"/etc/wireguard/wg0.conf\", \"utf8\");\nconst configJson = utils.config.parseConfig(configFile);\nconsole.log(\"Config file JSON:\\n%o\", configJson.data);\n```\n\n### Create Config\n\n```ts\nimport { utils } from \"wireguard-tools.js\";\nconst wireguardConfig = utils.config.writeConfig({\n  interface: {\n    private: \"CEOntDE9saQaHLhD/WzZuYky3+elOfnBUCXoSveD3kc=\",\n    public: \"xaZtpi3VCkBMhSTKM6jl/YjPJ370iYpBlLYwSyZ3W08=\",\n    address: [\n      {\n        ip: \"10.0.0.1\",\n        subnet: 24\n      }\n    ]\n  },\n  peer: {\n    \"tF4YxTqLIJdNQcqvz1jtIF993zSk79hP+zdBxQlaowA=\": {\n      Keepalive: 25,\n      Endpoint: {\n        host: \"wireguard.example.com\",\n        port: 51820\n      },\n    }\n  }\n});\nconsole.log(\"Config file:\\n%s\", wireguardConfig);\n```\n","engines":{"node":">=14.0.0"},"gitHead":"2b079c6fecb718219172467f78ef35e4696c5930","private":false,"scripts":{"test":"sudo PATH=\"$PATH\" env TS_NODE_COMPILER_OPTIONS='{\"module\": \"commonjs\" }' mocha -r ts-node/register 'tests/**/*.ts'","build":"npm run nodegyp && tsc","clean":"rm -rf build prebuilds dist","install":"node-gyp-build","nodegyp":"npm run clean && node-gyp rebuild --silent","prepack":"npm run clean && tsc && npm run prebuildify:linux && rm -rf build","test:full":"npm run build && npm run test","prebuildify":"prebuildify --napi","prebuildify:linux":"for Arch in 'arm64' 'x64'; do npm run prebuildify -- --platform=linux --arch=$Arch; done"},"sponsor":{"url":"https://github.com/sponsors/Sirherobrine23"},"_npmUser":{"name":"sirherobrine23","email":"srherobrine20@gmail.com"},"repository":{"url":"git+https://github.com/Sirherobrine23/Wireguard-tools.js.git","type":"git"},"_npmVersion":"8.15.0","description":"Control your wireguard interface from node.js, not a wireguard-tools wrapper!","directories":{},"_nodeVersion":"18.7.0","dependencies":{"node-addon-api":"^5.0.0","node-gyp-build":"^4.5.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"chai":"^4.3.6","mocha":"^10.0.0","ts-node":"^10.9.1","node-gyp":"^9.1.0","typescript":"^4.7.4","@types/chai":"^4.3.3","@types/node":"^18.7.6","prebuildify":"^5.0.1","@types/mocha":"^9.1.1"},"_npmOperationalInternal":{"tmp":"tmp/wireguard-tools.js_1.5.1_1661271245047_0.31446927287987414","host":"s3://npm-registry-packages"}},"1.5.2":{"name":"wireguard-tools.js","version":"1.5.2","keywords":["wireguard","node-addon","wireguard-tools","wireguard-basic-tools","wireguard-utils"],"author":{"url":"https://sirherobrine23.org/","name":"Matheus Sampaio Queiroga","email":"srherobrine20@gmail.com"},"license":"GPL-2.0-only","_id":"wireguard-tools.js@1.5.2","maintainers":[{"name":"sirherobrine23","email":"srherobrine20@gmail.com"}],"homepage":"https://github.com/Sirherobrine23/Wireguard-tools.js#readme","bugs":{"url":"https://github.com/Sirherobrine23/Wireguard-tools.js/issues"},"dist":{"shasum":"4ce55808329fdc1f6e041dbf1b5de904bc0cab58","tarball":"https://registry.npmjs.org/wireguard-tools.js/-/wireguard-tools.js-1.5.2.tgz","fileCount":36,"integrity":"sha512-BObz/2bSdMbZkqv+8f/5wl6jWVfrnMo4Gr3JxqoXuaDbbh9gl8KmmuwsfdFmESusY1FZcN4vREFp7xsm+iEtsA==","signatures":[{"sig":"MEUCIQCjumB4YzkixiAAYdXG4OtsCD/K8xtoFfxLs1wZBrMVSAIgS05bF/u7sjyz6QJAZ+mXr2syTovHn2ic83hgP5gOp6Q=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":446200,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjFBIpACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqJTg/+NPr/gnWozX+laPEcTNH0lda0Cvk5eO+0FvW5ot6weBeT57Wu\r\nETi8z6JHhTZ3GghbEs/Mrak7oFgtQ+ICKYt0YuTuPOlVaJlABBqh08L6x9ik\r\nb9INNrTxDpVZh4G47mKuFK8laNVaeiV5QvJlrCxJ5cE6EvqQSHAgyVOSY9RG\r\nhxKyStwi5/icgF7l1xOUF8i42PBlN4K/hsYvNWW8wdAB5Y+uN7Ys1OlpIBkc\r\nJMJ9rIAeazbIbWoS+mMzQHOTbQpDKOkdgTvijZmat1F0vrDWedynKpFssRhA\r\nkdoQdBNfZmuXF2rUPJHRnSaxZMiuwr7R/3sNYRWj5oG49NW66JwQCSs/JjDa\r\n/ypYyS1dE5wX3J496O9ptH6OehDCovCzdd/EkHJnCaHECtwy8hJczxWPAXid\r\ne+aV2b9I6Z3NZWrqWHnjSFbOjgZLJkfdPtBBcv/LABcTzLrp4P1CrO8OWSE4\r\nobr1gi7o5lpoYN+4RDtMntg2+AshkQtkSQZeNxLAwcJW2BBlSeaYHmLrCkT1\r\nofZJFaPRqNVKn26iAaa8/i2B+4/ejHZB4WP5/1pfyA3hjqa6rxBAEh32UI1i\r\nTQbwfGzDaxi+zY29QRE5EQgBIunLvXeDQDpvTeIAsL0/GcAx3rjyG9vI2N95\r\nLg3ma4Z8mZGa3Z6uwe7mAk+jhcJGkC3s2tA=\r\n=Ja1u\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","type":"commonjs","types":"./dist/index.d.ts","engines":{"node":">=14.0.0"},"gitHead":"59d8ee4ef3e3efede1421b9e72e9942c9cad6e2a","private":false,"scripts":{"test":"sudo PATH=\"$PATH\" env TS_NODE_COMPILER_OPTIONS='{\"module\": \"commonjs\" }' mocha -r ts-node/register 'tests/**/*.ts'","build":"npm run nodegyp && tsc","clean":"rm -rf build prebuilds dist","install":"node-gyp-build","nodegyp":"npm run clean && node-gyp rebuild --silent","prepack":"npm run clean && tsc && npm run prebuildify:linux && rm -rf build","test:win":"mocha -r ts-node/register 'tests/**/*.ts'","test:full":"npm run build && npm run test","prebuildify":"prebuildify --napi","prebuildify:linux":"for Arch in 'arm64' 'x64'; do npm run prebuildify -- --platform=linux --arch=$Arch; done"},"sponsor":{"url":"https://github.com/sponsors/Sirherobrine23"},"_npmUser":{"name":"sirherobrine23","email":"srherobrine20@gmail.com"},"repository":{"url":"git+https://github.com/Sirherobrine23/Wireguard-tools.js.git","type":"git"},"_npmVersion":"8.18.0","description":"Control your wireguard interface from node.js, not a wireguard-tools wrapper!","directories":{},"_nodeVersion":"18.8.0","dependencies":{"node-addon-api":"^5.0.0","node-gyp-build":"^4.5.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"chai":"^4.3.6","mocha":"^10.0.0","ts-node":"^10.9.1","node-gyp":"^9.1.0","typescript":"^4.7.4","@types/chai":"^4.3.3","@types/node":"^18.7.6","prebuildify":"^5.0.1","@types/mocha":"^9.1.1"},"_npmOperationalInternal":{"tmp":"tmp/wireguard-tools.js_1.5.2_1662259753578_0.5298395625691115","host":"s3://npm-registry-packages"}},"1.5.3":{"name":"wireguard-tools.js","version":"1.5.3","keywords":["wireguard","node-addon","wireguard-tools","wireguard-basic-tools","wireguard-utils"],"author":{"url":"https://sirherobrine23.org/","name":"Matheus Sampaio Queiroga","email":"srherobrine20@gmail.com"},"license":"GPL-2.0-only","_id":"wireguard-tools.js@1.5.3","maintainers":[{"name":"sirherobrine23","email":"srherobrine20@gmail.com"}],"homepage":"https://github.com/Sirherobrine23/Wireguard-tools.js#readme","bugs":{"url":"https://github.com/Sirherobrine23/Wireguard-tools.js/issues"},"dist":{"shasum":"191ca28fa75df7a3f422e7f5e9477feed079816b","tarball":"https://registry.npmjs.org/wireguard-tools.js/-/wireguard-tools.js-1.5.3.tgz","fileCount":30,"integrity":"sha512-SieESPqNNdhGQatwWabInOak0Mw3JtfAAKgcbgIyOhQ0HSvbQwPfvQ/uO12eNKZ2dZhdDFG0Ge8fd5hKO65ZmA==","signatures":[{"sig":"MEYCIQCk6BtdkptrsKSViIvrgGjgxgqSXfJfXeuhLMEyd6IB6QIhAOKQCmo2J0o4qv933H58UXmCYLJ89EYLbEqaeMQ1aceD","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":417022},"main":"src/index.js","type":"commonjs","types":"src/index.d.ts","engines":{"node":">=14.0.0"},"gitHead":"5086038ae71b49cd11eb0e89c24b5a0c31003dd5","private":false,"scripts":{"test":"sudo PATH=\"$PATH\" env TS_NODE_COMPILER_OPTIONS='{\"module\": \"commonjs\" }' mocha 'tests/**/*.ts'","build":"npm run nodegyp && tsc","clean":"rm -rf build prebuilds dist","install":"node-gyp-build","nodegyp":"npm run clean && node-gyp rebuild --silent","prepack":"npm run clean && tsc && npm run prebuildify:linux && rm -rf build","test:win":"mocha 'tests/**/*.ts'","test:full":"npm run build && npm run test","prebuildify":"prebuildify --napi","prebuildify:linux":"for Arch in 'arm64' 'x64'; do npm run prebuildify -- --platform=linux --arch=$Arch; done"},"sponsor":{"url":"https://github.com/sponsors/Sirherobrine23"},"_npmUser":{"name":"sirherobrine23","email":"srherobrine20@gmail.com"},"repository":{"url":"git+https://github.com/Sirherobrine23/Wireguard-tools.js.git","type":"git"},"_npmVersion":"9.5.1","description":"Control your wireguard interface from node.js, not a wireguard-tools wrapper!","directories":{},"_nodeVersion":"18.16.0","dependencies":{"node-addon-api":"^6.1.0","node-gyp-build":"^4.6.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"chai":"^4.3.7","mocha":"^10.2.0","ts-node":"^10.9.1","node-gyp":"^9.3.1","typescript":"^5.0.4","@types/chai":"^4.3.5","@types/node":"^20.1.3","prebuildify":"^5.0.1","@types/mocha":"^10.0.1"},"_npmOperationalInternal":{"tmp":"tmp/wireguard-tools.js_1.5.3_1683907178765_0.41510310553743635","host":"s3://npm-registry-packages"}},"1.6.0":{"name":"wireguard-tools.js","version":"1.6.0","keywords":["wireguard","node-addon","wireguard-tools","wireguard-basic-tools","wireguard-utils"],"author":{"url":"https://sirherobrine23.org/","name":"Matheus Sampaio Queiroga","email":"srherobrine20@gmail.com"},"license":"GPL-2.0-only","_id":"wireguard-tools.js@1.6.0","maintainers":[{"name":"sirherobrine23","email":"srherobrine20@gmail.com"}],"homepage":"https://github.com/Sirherobrine23/Wireguard-tools.js#readme","bugs":{"url":"https://github.com/Sirherobrine23/Wireguard-tools.js/issues"},"dist":{"shasum":"731a5343431c62689d7d012dce6b46739b3d27f4","tarball":"https://registry.npmjs.org/wireguard-tools.js/-/wireguard-tools.js-1.6.0.tgz","fileCount":37,"integrity":"sha512-23UbdnTIYlF9gstyO/u0lCyceP8ULRT4sM0PJ3c3DO+/QGmAtr7ZsiSdQhHr+7JLTIOqMSrB/Zvozg41i98D8A==","signatures":[{"sig":"MEUCIQCB8/w+cOgaM9d7BX1iF/dVzHu6jANoy+YfGWUD+8rWJwIgGZqTPzY1EdBycg7SVkiI6mDTEozq8RcNEoyKoqSzyGg=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":929772},"main":"src/index.js","type":"commonjs","types":"src/index.d.ts","engines":{"node":">=16.0.0"},"gitHead":"65c84d54d81ee105e439c388678a5db9f59591da","private":false,"scripts":{"install":"node scripts/build.mjs","prepack":"tsc --build --clean && tsc --build && npm run prebuildify","postpack":"tsc --build --clean && node-gyp clean","prebuildify":"node scripts/build.mjs build --auto"},"sponsor":{"url":"https://github.com/sponsors/Sirherobrine23"},"_npmUser":{"name":"sirherobrine23","email":"srherobrine20@gmail.com"},"repository":{"url":"git+https://github.com/Sirherobrine23/Wireguard-tools.js.git","type":"git"},"_npmVersion":"9.5.1","description":"Control your wireguard interface from node.js, not a wireguard-tools wrapper!","directories":{},"_nodeVersion":"18.16.0","dependencies":{"node-addon-api":"^6.1.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"mocha":"^10.2.0","ts-node":"^10.9.1","node-gyp":"^9.3.1","typescript":"^5.0.4","@types/chai":"^4.3.5","@types/node":"^20.1.3","@types/mocha":"^10.0.1"},"_npmOperationalInternal":{"tmp":"tmp/wireguard-tools.js_1.6.0_1684184611175_0.7610488055487319","host":"s3://npm-registry-packages"}},"1.7.0":{"name":"wireguard-tools.js","version":"1.7.0","keywords":["wireguard","node-addon","wireguard-tools","wireguard-basic-tools","wireguard-utils"],"author":{"url":"https://sirherobrine23.org/","name":"Matheus Sampaio Queiroga","email":"srherobrine20@gmail.com"},"license":"GPL-2.0-only","_id":"wireguard-tools.js@1.7.0","maintainers":[{"name":"sirherobrine23","email":"srherobrine20@gmail.com"}],"homepage":"https://github.com/Sirherobrine23/Wireguard-tools.js#readme","bugs":{"url":"https://github.com/Sirherobrine23/Wireguard-tools.js/issues"},"dist":{"shasum":"c327dca10f07de9329bbb5dd5506bd44b31ef272","tarball":"https://registry.npmjs.org/wireguard-tools.js/-/wireguard-tools.js-1.7.0.tgz","fileCount":140,"integrity":"sha512-JASe+4+EomtCEsgamkmXpRgh8RZ0upyYpGgIG0ynBO6PZLcl/XTZL0LDGzBfCbGYxWsIv3D68jo6QeWI/FFfzQ==","signatures":[{"sig":"MEQCIBzrd3MpNnrb+RbC21GirUEy1jN8C9rmUsXWJuVzYdp2AiBoh8e1x8fPJYVHVPak8t0NFFQWjuJeOTFCa8OjbC2uyA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":708005},"main":"src/index.js","type":"commonjs","types":"src/index.d.ts","readme":"# Wireguard-tools.js\n\nA quick way to use Wireguard with Node.js without having to run the Wireguard tools. We've included some `wg` command patterns to avoid confusion and to maintain a base between the tools.\n\n> **Note**\n>\n> we have pre-copiled files for Windows, MacOS (x64/intel) and Linux (arm64, x86_64), else require `gcc` or `clang` installed to compile Node addon.\n\nWith this module it is possible to:\n\n- Add/Remove a Wireguard interface.\n- Add/Remove/Modify `peers` for an interface.\n- Add IPs to the interface.\n- Create `pre-shared`, `private` and `public` keys.\n- Write the Wireguard configuration file and convert it to JSON format.\n\n## Example\n\n> **Note**\n>\n> To manage the Wireguard interfaces in linux, root access is required.\n>\n> Another system's require [wireguard-go](https://github.com/WireGuard/wireguard-go)\n\n### Get Current peers and Statistics\n\n```ts\nimport { parseWgDevice } from \"wireguard-tools.js\";\nconst wireguardInterfaces = parseWgDevice(\"wg0\");\n// Wg0 is the interface name.\nconsole.log(\"Wg0:\\n%o\", wireguardInterfaces);\n```\n\n# Add/Update Wireguard interface\n\n```ts\nimport { addDevice, parseWgDevice } from \"wireguard-tools.js\";\naddDevice(\"wg0\", {\n  publicKey: \"string\",\n  privateKey: \"string\",\n  portListen: 27301,\n  Address: [\n    \"1.1.1.1/32\",\n    \"8.8.8.8/32\"/** Mark this peer to be removed, any changes remove this option */\n  ],\n  replacePeers: true,\n  peers: {\n    \"publicKeyPeer\": {\n      removeMe: false,\n      presharedKey: \"string\",\n      keepInterval: 5,\n      endpoint: \"google.com:27301\",\n      allowedIPs: [\n        \"8.8.8.8\",\n        \"8.8.4.4.\"\n      ]\n    }\n  }\n});\nconst wireguardInterfaces = parseWgDevice(\"wg0\");\n// Wg0 is the interface name.\nconsole.log(\"Wg0:\\n%o\", wireguardInterfaces);\n```\n\n### Parse wireguard configuration file\n\n```ts\nimport { readFileSync } from \"node:fs\";\nimport { utils } from \"wireguard-tools.js\";\nconst configFile = readFileSync(\"/etc/wireguard/wg0.conf\", \"utf8\");\nconst configJson = utils.config.parseConfig(configFile);\nconsole.log(\"Config file JSON:\\n%o\", configJson.data);\n```\n\n### Create Config\n\n```ts\nimport { utils } from \"wireguard-tools.js\";\nconst wireguardConfig = utils.config.writeConfig({\n  interface: {\n    private: \"CEOntDE9saQaHLhD/WzZuYky3+elOfnBUCXoSveD3kc=\",\n    public: \"xaZtpi3VCkBMhSTKM6jl/YjPJ370iYpBlLYwSyZ3W08=\",\n    address: [\n      {\n        ip: \"10.0.0.1\",\n        subnet: 24\n      }\n    ]\n  },\n  peer: {\n    \"tF4YxTqLIJdNQcqvz1jtIF993zSk79hP+zdBxQlaowA=\": {\n      Keepalive: 25,\n      Endpoint: {\n        host: \"wireguard.example.com\",\n        port: 51820\n      },\n    }\n  }\n});\nconsole.log(\"Config file:\\n%s\", wireguardConfig);\n```\n","engines":{"node":">=16.0.0"},"gitHead":"43e8ba52d0ecba89bacfd7022817b488f24c75a4","private":false,"scripts":{"test":"mocha tests/**/*.ts","install":"node libs/build.mjs","prepack":"tsc --build --clean && tsc --build && npm run prebuildify","postpack":"tsc --build --clean && node-gyp clean","prebuildify":"node libs/build.mjs build --auto"},"sponsor":{"url":"https://github.com/sponsors/Sirherobrine23"},"_npmUser":{"name":"sirherobrine23","email":"srherobrine20@gmail.com"},"repository":{"url":"git+https://github.com/Sirherobrine23/Wireguard-tools.js.git","type":"git"},"_npmVersion":"9.6.3","description":"Control your wireguard interface from node.js, not a wireguard-tools wrapper!","directories":{},"_nodeVersion":"19.9.0","dependencies":{"node-gyp":"^9.4.0","node-addon-api":"^7.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"mocha":"^10.2.0","ts-node":"^10.9.1","typescript":"^5.1.6","@types/chai":"^4.3.5","@types/node":"^20.5.0","@types/mocha":"^10.0.1"},"_npmOperationalInternal":{"tmp":"tmp/wireguard-tools.js_1.7.0_1692643199656_0.7198285631894825","host":"s3://npm-registry-packages"}},"1.7.1":{"name":"wireguard-tools.js","version":"1.7.1","keywords":["wireguard","node-addon","wireguard-tools","wireguard-basic-tools","wireguard-utils"],"author":{"url":"https://sirherobrine23.org/","name":"Matheus Sampaio Queiroga","email":"srherobrine20@gmail.com"},"license":"GPL-2.0-only","_id":"wireguard-tools.js@1.7.1","maintainers":[{"name":"sirherobrine23","email":"srherobrine20@gmail.com"}],"homepage":"https://github.com/Sirherobrine23/Wireguard-tools.js#readme","bugs":{"url":"https://github.com/Sirherobrine23/Wireguard-tools.js/issues"},"dist":{"shasum":"202b1eaf0f4f3541e78d32cb49c24b2880de07d3","tarball":"https://registry.npmjs.org/wireguard-tools.js/-/wireguard-tools.js-1.7.1.tgz","fileCount":144,"integrity":"sha512-xApVWp/N88t/UCOj4p76ffMkba8W/b0Yhg8mJZz4EYz2hqlt1nK4nL/9nZ5krGDpsULttUyxv+E3G651zo/RRw==","signatures":[{"sig":"MEUCIQDwOJSCLewVQgRSvQ904K3HpZzIf/lAfMBB3AurByYpfAIgRjcinUJbY0Hd/zU4GW4mFdn6lrHjHvotXP0Z2GHWIeE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":717102},"main":"src/index.js","type":"commonjs","types":"src/index.d.ts","readme":"# Wireguard-tools.js\n\nA quick way to use Wireguard with Node.js without having to run the Wireguard tools. We've included some `wg` command patterns to avoid confusion and to maintain a base between the tools.\n\n> **Note**\n>\n> we have pre-copiled files for Windows, MacOS (x64/intel) and Linux (arm64, x86_64), else require `gcc` or `clang` installed to compile Node addon.\n\nWith this module it is possible to:\n\n- Add/Remove a Wireguard interface.\n- Add/Remove/Modify `peers` for an interface.\n- Add IPs to the interface.\n- Create `pre-shared`, `private` and `public` keys.\n- Write the Wireguard configuration file and convert it to JSON format.\n\n## Example\n\n> **Note**\n>\n> To manage the Wireguard interfaces in linux, root access is required.\n>\n> Another system's require [wireguard-go](https://github.com/WireGuard/wireguard-go)\n\n### Get Current peers and Statistics\n\n```ts\nimport { parseWgDevice } from \"wireguard-tools.js\";\nconst wireguardInterfaces = parseWgDevice(\"wg0\");\n// Wg0 is the interface name.\nconsole.log(\"Wg0:\\n%o\", wireguardInterfaces);\n```\n\n# Add/Update Wireguard interface\n\n```ts\nimport { addDevice, parseWgDevice } from \"wireguard-tools.js\";\naddDevice(\"wg0\", {\n  publicKey: \"string\",\n  privateKey: \"string\",\n  portListen: 27301,\n  Address: [\n    \"1.1.1.1/32\",\n    \"8.8.8.8/32\"/** Mark this peer to be removed, any changes remove this option */\n  ],\n  replacePeers: true,\n  peers: {\n    \"publicKeyPeer\": {\n      removeMe: false,\n      presharedKey: \"string\",\n      keepInterval: 5,\n      endpoint: \"google.com:27301\",\n      allowedIPs: [\n        \"8.8.8.8\",\n        \"8.8.4.4.\"\n      ]\n    }\n  }\n});\nconst wireguardInterfaces = parseWgDevice(\"wg0\");\n// Wg0 is the interface name.\nconsole.log(\"Wg0:\\n%o\", wireguardInterfaces);\n```\n\n### Parse wireguard configuration file\n\n```ts\nimport { readFileSync } from \"node:fs\";\nimport { utils } from \"wireguard-tools.js\";\nconst configFile = readFileSync(\"/etc/wireguard/wg0.conf\", \"utf8\");\nconst configJson = utils.config.parseConfig(configFile);\nconsole.log(\"Config file JSON:\\n%o\", configJson.data);\n```\n\n### Create Config\n\n```ts\nimport { utils } from \"wireguard-tools.js\";\nconst wireguardConfig = utils.config.writeConfig({\n  interface: {\n    private: \"CEOntDE9saQaHLhD/WzZuYky3+elOfnBUCXoSveD3kc=\",\n    public: \"xaZtpi3VCkBMhSTKM6jl/YjPJ370iYpBlLYwSyZ3W08=\",\n    address: [\n      {\n        ip: \"10.0.0.1\",\n        subnet: 24\n      }\n    ]\n  },\n  peer: {\n    \"tF4YxTqLIJdNQcqvz1jtIF993zSk79hP+zdBxQlaowA=\": {\n      Keepalive: 25,\n      Endpoint: {\n        host: \"wireguard.example.com\",\n        port: 51820\n      },\n    }\n  }\n});\nconsole.log(\"Config file:\\n%s\", wireguardConfig);\n```\n","engines":{"node":">=16.0.0"},"gitHead":"18881cf8b79bf555636b0d1e3934fbac7b9581cf","private":false,"scripts":{"test":"mocha ./","install":"node libs/build.mjs","prepack":"tsc --build --clean && tsc --build && npm run prebuildify","postpack":"tsc --build --clean && node-gyp clean","prebuildify":"node libs/build.mjs build --auto"},"sponsor":{"url":"https://github.com/sponsors/Sirherobrine23"},"_npmUser":{"name":"sirherobrine23","email":"srherobrine20@gmail.com"},"repository":{"url":"git+https://github.com/Sirherobrine23/Wireguard-tools.js.git","type":"git"},"_npmVersion":"9.6.3","description":"Control your wireguard interface from node.js, not a wireguard-tools wrapper!","directories":{},"_nodeVersion":"19.9.0","dependencies":{"node-gyp":"^9.4.0","node-addon-api":"^7.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"mocha":"^10.2.0","ts-node":"^10.9.1","typescript":"^5.1.6","@types/chai":"^4.3.5","@types/node":"^20.5.2","@types/mocha":"^10.0.1"},"_npmOperationalInternal":{"tmp":"tmp/wireguard-tools.js_1.7.1_1692722182437_0.9513728755994171","host":"s3://npm-registry-packages"}},"1.7.2":{"name":"wireguard-tools.js","version":"1.7.2","keywords":["wireguard","node-addon","wireguard-tools","wireguard-basic-tools","wireguard-utils"],"author":{"url":"https://sirherobrine23.org/","name":"Matheus Sampaio Queiroga","email":"srherobrine20@gmail.com"},"license":"GPL-2.0-only","_id":"wireguard-tools.js@1.7.2","maintainers":[{"name":"sirherobrine23","email":"srherobrine20@gmail.com"}],"homepage":"https://github.com/Sirherobrine23/Wireguard-tools.js#readme","bugs":{"url":"https://github.com/Sirherobrine23/Wireguard-tools.js/issues"},"dist":{"shasum":"d84048fc1ba5f6df1c1a399e46410c50c9745123","tarball":"https://registry.npmjs.org/wireguard-tools.js/-/wireguard-tools.js-1.7.2.tgz","fileCount":146,"integrity":"sha512-3LCoFjtvLPeUBjyB8OvAgkxJuUdpeZdxavjCpdcBPIdxoh5d75yOXqAhAtPqsIloy016j2xayBXo0k/cjBWbWg==","signatures":[{"sig":"MEUCICcJrWaGtja/4bt4Kj1DEORUWc0G26kBt8Y+877H8CqdAiEAtarSqWjG0pWrvPt2hkGiYnrvDfTe8VBoMGoX1NKna48=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":736204},"main":"src/index.js","type":"commonjs","types":"src/index.d.ts","readme":"# Wireguard-tools.js\n\nA quick way to use Wireguard with Node.js without having to run the Wireguard tools. We've included some `wg` command patterns to avoid confusion and to maintain a base between the tools.\n\n> **Note**\n>\n> we have pre-copiled files for Windows, MacOS (x64/intel) and Linux (arm64, x86_64), else require `gcc` or `clang` installed to compile Node addon.\n\nWith this module it is possible to:\n\n- Add/Remove a Wireguard interface.\n- Add/Remove/Modify `peers` for an interface.\n- Add IPs to the interface.\n- Create `pre-shared`, `private` and `public` keys.\n- Write the Wireguard configuration file and convert it to JSON format.\n\n## Example\n\n> **Note**\n>\n> To manage the Wireguard interfaces in linux, root access is required.\n>\n> Another system's require [wireguard-go](https://github.com/WireGuard/wireguard-go)\n\n### Get Current peers and Statistics\n\n```ts\nimport { parseWgDevice } from \"wireguard-tools.js\";\nconst wireguardInterfaces = parseWgDevice(\"wg0\");\n// Wg0 is the interface name.\nconsole.log(\"Wg0:\\n%o\", wireguardInterfaces);\n```\n\n# Add/Update Wireguard interface\n\n```ts\nimport { addDevice, parseWgDevice } from \"wireguard-tools.js\";\naddDevice(\"wg0\", {\n  publicKey: \"string\",\n  privateKey: \"string\",\n  portListen: 27301,\n  Address: [\n    \"1.1.1.1/32\",\n    \"8.8.8.8/32\"/** Mark this peer to be removed, any changes remove this option */\n  ],\n  replacePeers: true,\n  peers: {\n    \"publicKeyPeer\": {\n      removeMe: false,\n      presharedKey: \"string\",\n      keepInterval: 5,\n      endpoint: \"google.com:27301\",\n      allowedIPs: [\n        \"8.8.8.8\",\n        \"8.8.4.4.\"\n      ]\n    }\n  }\n});\nconst wireguardInterfaces = parseWgDevice(\"wg0\");\n// Wg0 is the interface name.\nconsole.log(\"Wg0:\\n%o\", wireguardInterfaces);\n```\n\n### Parse wireguard configuration file\n\n```ts\nimport { readFileSync } from \"node:fs\";\nimport { utils } from \"wireguard-tools.js\";\nconst configFile = readFileSync(\"/etc/wireguard/wg0.conf\", \"utf8\");\nconst configJson = utils.config.parseConfig(configFile);\nconsole.log(\"Config file JSON:\\n%o\", configJson.data);\n```\n\n### Create Config\n\n```ts\nimport { utils } from \"wireguard-tools.js\";\nconst wireguardConfig = utils.config.writeConfig({\n  interface: {\n    private: \"CEOntDE9saQaHLhD/WzZuYky3+elOfnBUCXoSveD3kc=\",\n    public: \"xaZtpi3VCkBMhSTKM6jl/YjPJ370iYpBlLYwSyZ3W08=\",\n    address: [\n      {\n        ip: \"10.0.0.1\",\n        subnet: 24\n      }\n    ]\n  },\n  peer: {\n    \"tF4YxTqLIJdNQcqvz1jtIF993zSk79hP+zdBxQlaowA=\": {\n      Keepalive: 25,\n      Endpoint: {\n        host: \"wireguard.example.com\",\n        port: 51820\n      },\n    }\n  }\n});\nconsole.log(\"Config file:\\n%s\", wireguardConfig);\n```\n","engines":{"node":">=16.0.0"},"gitHead":"0de2847ca8a161e2cbcf4703da61f6795b8c3419","private":false,"scripts":{"test":"mocha ./","install":"node libs/build.mjs","prepack":"tsc --build --clean && tsc --build && npm run prebuildify","postpack":"tsc --build --clean && node-gyp clean","prebuildify":"node libs/build.mjs build --auto"},"sponsor":{"url":"https://github.com/sponsors/Sirherobrine23"},"_npmUser":{"name":"sirherobrine23","email":"srherobrine20@gmail.com"},"repository":{"url":"git+https://github.com/Sirherobrine23/Wireguard-tools.js.git","type":"git"},"_npmVersion":"9.6.3","description":"Control your wireguard interface from node.js, not a wireguard-tools wrapper!","directories":{},"_nodeVersion":"19.9.0","dependencies":{"node-gyp":"^9.4.0","node-addon-api":"^7.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"mocha":"^10.2.0","ts-node":"^10.9.1","typescript":"^5.1.6","@types/chai":"^4.3.5","@types/node":"^20.5.2","@types/mocha":"^10.0.1"},"_npmOperationalInternal":{"tmp":"tmp/wireguard-tools.js_1.7.2_1692735762602_0.44177791245348996","host":"s3://npm-registry-packages"}},"1.7.3":{"name":"wireguard-tools.js","version":"1.7.3","keywords":["wireguard","node-addon","wireguard-tools","wireguard-basic-tools","wireguard-utils"],"author":{"url":"https://sirherobrine23.org/","name":"Matheus Sampaio Queiroga","email":"srherobrine20@gmail.com"},"license":"GPL-2.0-only","_id":"wireguard-tools.js@1.7.3","maintainers":[{"name":"sirherobrine23","email":"srherobrine20@gmail.com"}],"homepage":"https://github.com/Sirherobrine23/Wireguard-tools.js#readme","bugs":{"url":"https://github.com/Sirherobrine23/Wireguard-tools.js/issues"},"dist":{"shasum":"77a1204785121aa217293e37fdd75ed76d99a53b","tarball":"https://registry.npmjs.org/wireguard-tools.js/-/wireguard-tools.js-1.7.3.tgz","fileCount":51,"integrity":"sha512-2lzyYOvhUL72Ox7kCSYznOY1VAgdS0D9lBKknvN9lwPJBARCHtz5nBrqyVmpvR9kJoO0AO6AJiw2z1FOJj/Rsw==","signatures":[{"sig":"MEQCIBQa0wp92DTWwDQ6f7ptd57h5AcfXH0dIVoP11qyt/6zAiBy2kKrYhRPtCFa4gdiP0e5VPvYdRp3bU+fdrG47U+2bw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1084691},"main":"src/index.js","type":"commonjs","types":"src/index.d.ts","readme":"# Wireguard-tools.js\n\nEfficiently manage your Wireguard interface right from nodejs, no `wg` required.\n\nother tools are wrappers over `wg`, `wireguard-tools.js` is not like that, it is a `C/C++` addon in which you don't need to have `wg` installed, as this module has full compatibility of its own `wg`.\n\n## Support to:\n\n1. Userpsace [(wireguard-go)](https://git.zx2c4.com/wireguard-go/about/)\n2. Maneger wireguard interface (linux create if not exist's).\n3. Generate `pre-shared`, `private` and `public` keys.\n4. [wg-quick](https://man7.org/linux/man-pages/man8/wg-quick.8.html) file support.\n\n> **Note**\n>\n> we have pre-copiled files for Windows, MacOS (x64/intel) and Linux (arm64, x86_64) else arch and system require `gcc` or `clang` installed to compile Node addon.\n>\n> To manage the Wireguard interfaces in linux, root access is required.\n>\n> Another system's require `wireguard-go` [(check this page)](https://github.com/WireGuard/wireguard-go)\n\n## Examples\n\nMoved to `examples` folder","engines":{"node":">=16.0.0"},"gitHead":"65d07168d9a22b01bede9ce0e14925a7eb002c90","private":false,"scripts":{"test":"mocha ./","install":"node libs/build.mjs","prepack":"tsc --build --clean && tsc --build && npm run prebuildify","postpack":"tsc --build --clean && node-gyp clean","prebuildify":"node libs/build.mjs build --auto"},"sponsor":{"url":"https://github.com/sponsors/Sirherobrine23"},"_npmUser":{"name":"sirherobrine23","email":"srherobrine20@gmail.com"},"repository":{"url":"git+https://github.com/Sirherobrine23/Wireguard-tools.js.git","type":"git"},"_npmVersion":"9.6.7","description":"Control your wireguard interface from node.js, not a wireguard-tools wrapper!","directories":{},"_nodeVersion":"18.17.1","dependencies":{"node-gyp":"^9.4.0","node-addon-api":"^7.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"mocha":"^10.2.0","ts-node":"^10.9.1","typescript":"^5.1.6","@types/node":"^20.5.3","@types/mocha":"^10.0.1"},"_npmOperationalInternal":{"tmp":"tmp/wireguard-tools.js_1.7.3_1692888348983_0.46757903010019564","host":"s3://npm-registry-packages"}},"1.7.4":{"name":"wireguard-tools.js","version":"1.7.4","keywords":["wireguard","node-addon","wireguard-tools","wireguard-basic-tools","wireguard-utils"],"author":{"url":"https://sirherobrine23.org/","name":"Matheus Sampaio Queiroga","email":"srherobrine20@gmail.com"},"license":"GPL-2.0-only","_id":"wireguard-tools.js@1.7.4","maintainers":[{"name":"sirherobrine23","email":"srherobrine20@gmail.com"}],"homepage":"https://github.com/Sirherobrine23/Wireguard-tools.js#readme","bugs":{"url":"https://github.com/Sirherobrine23/Wireguard-tools.js/issues"},"dist":{"shasum":"1433303bde6e3578999ab9869b46bff50d712e3f","tarball":"https://registry.npmjs.org/wireguard-tools.js/-/wireguard-tools.js-1.7.4.tgz","fileCount":47,"integrity":"sha512-GSekThic+q2trKmeXLCGALXkt8phd+5F1G46L6uuSyQDEuba3Y3BDEGpXzJ1txvlWH/M3tvzCnmlkaKmRtcWRg==","signatures":[{"sig":"MEUCIQDX7/8K7fBo9GNMJ/50lUPdFuNCzIFN3sHUZ6OCKfL+SAIgbnwsbjEbBgcKLJWrIcTpiTqyyTLHpifeZvEGLeMosHA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1273571},"main":"src/index.js","type":"commonjs","types":"src/index.d.ts","readme":"# Wireguard-tools.js\n\nEfficiently manage your Wireguard interface right from nodejs, no `wg` required.\n\nother tools are wrappers over `wg`, `wireguard-tools.js` is not like that, it is a `C/C++` addon in which you don't need to have `wg` installed, as this module has full compatibility of its own `wg`.\n\n## Support to:\n\n1. Userpsace [(wireguard-go)](https://git.zx2c4.com/wireguard-go/about/)\n2. Maneger wireguard interface (linux create if not exist's).\n3. Generate `pre-shared`, `private` and `public` keys.\n4. [wg-quick](https://man7.org/linux/man-pages/man8/wg-quick.8.html) file support.\n\n> **Note**\n>\n> we have pre-copiled files for Windows, MacOS (x64/intel) and Linux (arm64, x86_64) else arch and system require `gcc` or `clang` installed to compile Node addon.\n>\n> To manage the Wireguard interfaces in linux, root access is required.\n>\n> Another system's require `wireguard-go` [(check this page)](https://github.com/WireGuard/wireguard-go)\n\n## Examples\n\nMoved to `examples` folder","engines":{"node":">=16.0.0"},"gitHead":"6694822923abd3ff97858306b5a6681eef454de3","private":false,"scripts":{"dev":"tsc --build --clean && tsc --build && node libs/build.mjs build","test":"mocha ./src","install":"node libs/build.mjs","prepack":"tsc --build --clean && tsc --build && npm run prebuildify","postpack":"tsc --build --clean && node-gyp clean","prebuildify":"node libs/build.mjs build --auto"},"sponsor":{"url":"https://github.com/sponsors/Sirherobrine23"},"_npmUser":{"name":"sirherobrine23","email":"srherobrine20@gmail.com"},"repository":{"url":"git+https://github.com/Sirherobrine23/Wireguard-tools.js.git","type":"git"},"_npmVersion":"9.6.7","description":"Control your wireguard interface from node.js, not a wireguard-tools wrapper!","directories":{},"_nodeVersion":"18.17.1","dependencies":{"node-gyp":"^9.4.0","node-addon-api":"^7.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"mocha":"^10.2.0","ts-node":"^10.9.1","typescript":"^5.1.6","@types/node":"^20.5.3","@types/mocha":"^10.0.1"},"_npmOperationalInternal":{"tmp":"tmp/wireguard-tools.js_1.7.4_1693274975469_0.6707057609968095","host":"s3://npm-registry-packages"}},"1.7.5":{"name":"wireguard-tools.js","version":"1.7.5","keywords":["wireguard","node-addon","wireguard-tools","wireguard-basic-tools","wireguard-utils"],"author":{"url":"https://sirherobrine23.org/","name":"Matheus Sampaio Queiroga","email":"srherobrine20@gmail.com"},"license":"GPL-2.0-only","_id":"wireguard-tools.js@1.7.5","maintainers":[{"name":"sirherobrine23","email":"srherobrine20@gmail.com"}],"homepage":"https://github.com/Sirherobrine23/Wireguard-tools.js#readme","bugs":{"url":"https://github.com/Sirherobrine23/Wireguard-tools.js/issues"},"dist":{"shasum":"65d46ec9c51d916be3c6e50658b7e7c3e0601f34","tarball":"https://registry.npmjs.org/wireguard-tools.js/-/wireguard-tools.js-1.7.5.tgz","fileCount":47,"integrity":"sha512-Q6d0JztbJGsqabc2paUbs5OgzP2bHLF4G8QnZN53V8AQIoUw2/ikwmhgooEN/vitCIeNR0ZD1Kqyss9NIPzirA==","signatures":[{"sig":"MEYCIQDZajJqzxhxuB80w6zSN/r/CHtbRi0Cd2JY2X4tHAOVlQIhAPgAnBybVDcngHxjrNh9ZpJvGhwU+HSZvAF/mpVgCQw4","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1276188},"main":"src/index.js","type":"commonjs","types":"src/index.d.ts","readme":"# Wireguard-tools.js\n\nEfficiently manage your Wireguard interface right from nodejs, no `wg` required.\n\nother tools are wrappers over `wg`, `wireguard-tools.js` is not like that, it is a `C/C++` addon in which you don't need to have `wg` installed, as this module has full compatibility of its own `wg`.\n\n## Support to:\n\n1. Userpsace [(wireguard-go)](https://git.zx2c4.com/wireguard-go/about/)\n2. Maneger wireguard interface (linux create if not exist's).\n3. Generate `pre-shared`, `private` and `public` keys.\n4. [wg-quick](https://man7.org/linux/man-pages/man8/wg-quick.8.html) file support.\n\n> **Note**\n>\n> we have pre-copiled files for Windows, MacOS (x64/intel) and Linux (arm64, x86_64) else arch and system require `gcc` or `clang` installed to compile Node addon.\n>\n> To manage the Wireguard interfaces in linux, root access is required.\n>\n> Another system's require `wireguard-go` [(check this page)](https://github.com/WireGuard/wireguard-go)\n\n## Examples\n\nMoved to `examples` folder","engines":{"node":">=16.0.0"},"gitHead":"7898f3b30c7a2b2545785ff6a6a4de005ba9b610","private":false,"scripts":{"dev":"tsc --build --clean && tsc --build && node libs/build.mjs build","test":"mocha ./src","install":"node libs/build.mjs","prepack":"tsc --build --clean && tsc --build && npm run prebuildify","postpack":"tsc --build --clean && node-gyp clean","prebuildify":"node libs/build.mjs build --auto"},"sponsor":{"url":"https://github.com/sponsors/Sirherobrine23"},"_npmUser":{"name":"sirherobrine23","email":"srherobrine20@gmail.com"},"repository":{"url":"git+https://github.com/Sirherobrine23/Wireguard-tools.js.git","type":"git"},"_npmVersion":"9.6.7","description":"Control your wireguard interface from node.js, not a wireguard-tools wrapper!","directories":{},"_nodeVersion":"18.17.1","dependencies":{"node-gyp":"^9.4.0","node-addon-api":"^7.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"mocha":"^10.2.0","ts-node":"^10.9.1","typescript":"^5.1.6","@types/node":"^20.5.3","@types/mocha":"^10.0.1"},"_npmOperationalInternal":{"tmp":"tmp/wireguard-tools.js_1.7.5_1693279525799_0.8069995799077683","host":"s3://npm-registry-packages"}},"1.7.6":{"name":"wireguard-tools.js","version":"1.7.6","keywords":["wireguard","node-addon","wireguard-tools","wireguard-basic-tools","wireguard-utils"],"author":{"url":"https://sirherobrine23.org/","name":"Matheus Sampaio Queiroga","email":"srherobrine20@gmail.com"},"license":"GPL-3.0-or-later","_id":"wireguard-tools.js@1.7.6","maintainers":[{"name":"sirherobrine23","email":"srherobrine20@gmail.com"}],"homepage":"https://github.com/Sirherobrine23/Wireguard-tools.js#readme","bugs":{"url":"https://github.com/Sirherobrine23/Wireguard-tools.js/issues"},"dist":{"shasum":"17005e98ee1a1a858aeeabf3e68dd4d0d5caea44","tarball":"https://registry.npmjs.org/wireguard-tools.js/-/wireguard-tools.js-1.7.6.tgz","fileCount":54,"integrity":"sha512-8hR6IiNzhE9rAH/rc4cCEkKfq8f/eEK0HNBxQXlwo0yfzCzuv278T2f5amd6YPo55wXry7TysBYmf2UEfLpKiA==","signatures":[{"sig":"MEYCIQC4mxJXGrldei0ouY/lRzc7XUiWwks2GrHPB2Y1dHVjPQIhANjpWU3dtxRLHPNwY+xOegvLJLpvmShThzFJnG50BxG1","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":4263407},"main":"./export/index.cjs","type":"commonjs","types":"./export/index.d.ts","readme":"# Wireguard-tools.js\n\nEfficiently manage your Wireguard interface right from nodejs, no `wg` required.\n\nother tools are wrappers over `wg`, `wireguard-tools.js` is not like that, it is a `C/C++` addon in which you don't need to have `wg` installed, as this module has full compatibility of its own `wg`.\n\n## Support to:\n\n1. Userpsace [(wireguard-go)](https://git.zx2c4.com/wireguard-go/about/)\n2. Maneger wireguard interface (linux and windows create if not exist's).\n3. Generate `pre-shared`, `private` and `public` keys.\n4. [wg-quick](https://man7.org/linux/man-pages/man8/wg-quick.8.html) file support.\n\n> **Note**\n>\n> we have pre-copiled files for:\n> - `Windows`: x64, arm64\n> - `MacOS`: x64/intel, arm64\n> - `Linux`: x64/amd64, arm64\n>\n> else arch and system require copiler supported by `node-gyp` installed to compile Node addon.\n>\n> 1. To manage the Wireguard interfaces in linux, root access is required.\n> 1. Windows user are `wireguard-nt` dll files includes in module\n> 1. Another system's require `wireguard-go` [(check this page)](https://github.com/WireGuard/wireguard-go)\n\n## Examples\n\nMoved to `examples` folder","default":"./export/index.mjs","engines":{"node":">=16.0.0"},"exports":{".":{"types":"./export/index.d.ts","default":"./export/index.mjs","require":"./export/index.cjs"}},"gitHead":"92c740cc1453aa1ac42903c3ff80ca886dd4cec9","private":false,"scripts":{"dev":"node libs/build.mjs build","test":"mocha ./src","install":"node libs/build.mjs","prebuildify":"node libs/build.mjs build --auto"},"sponsor":{"url":"https://github.com/sponsors/Sirherobrine23"},"_npmUser":{"name":"sirherobrine23","email":"srherobrine20@gmail.com"},"repository":{"url":"git+https://github.com/Sirherobrine23/Wireguard-tools.js.git","type":"git"},"_npmVersion":"9.8.1","description":"Control your wireguard interface from node.js, not a wireguard-tools wrapper!","directories":{},"_nodeVersion":"20.6.1","dependencies":{"node-gyp":"^9.4.0","node-addon-api":"^7.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"mocha":"^10.2.0","@types/node":"^20.6.0","@types/mocha":"^10.0.1"},"_npmOperationalInternal":{"tmp":"tmp/wireguard-tools.js_1.7.6_1694490547868_0.4420481624317856","host":"s3://npm-registry-packages"}},"1.7.7":{"name":"wireguard-tools.js","version":"1.7.7","keywords":["wireguard","node-addon","wireguard-tools","wireguard-basic-tools","wireguard-utils"],"author":{"url":"https://sirherobrine23.org/","name":"Matheus Sampaio Queiroga","email":"srherobrine20@gmail.com"},"license":"GPL-3.0-or-later","_id":"wireguard-tools.js@1.7.7","maintainers":[{"name":"sirherobrine23","email":"srherobrine20@gmail.com"}],"homepage":"https://github.com/Sirherobrine23/Wireguard-tools.js#readme","bugs":{"url":"https://github.com/Sirherobrine23/Wireguard-tools.js/issues/new"},"dist":{"shasum":"32b4d8822f324a414134f58a9cab55ab3871a726","tarball":"https://registry.npmjs.org/wireguard-tools.js/-/wireguard-tools.js-1.7.7.tgz","fileCount":53,"integrity":"sha512-BRJ3AXTLMiW4ulT+OKmdHCzCpmJDnOP+KUIiX1ig9bAPMz8wglzIDXuxrYKJVL1IRJ6tdi7x7IdDO0e63Ve0Gw==","signatures":[{"sig":"MEUCIDG5JjGLWJL6j5lCrmOlNP/BEhHa+CjsUVLxQiKW3w4PAiEApLM/OikPkqxBee1KUtVY+10HMZM1rqGE0eJQ0Ca+rzo=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":4263104},"main":"./src/index.js","type":"commonjs","types":"./src/index.d.ts","readme":"# Wireguard-tools.js\n\nEfficiently manage your Wireguard interface right from nodejs, no `wg` required.\n\nother tools are wrappers over `wg`, `wireguard-tools.js` is not like that, it is a `C/C++` addon in which you don't need to have `wg` installed, as this module has full compatibility of its own `wg`.\n\n## Support to:\n\n1. Userpsace [(wireguard-go)](https://git.zx2c4.com/wireguard-go/about/)\n2. Maneger wireguard interface (linux and windows create if not exist's).\n3. Generate `pre-shared`, `private` and `public` keys.\n4. [wg-quick](https://man7.org/linux/man-pages/man8/wg-quick.8.html) file support.\n\n> **Note**\n>\n> we have pre-copiled files for:\n> - `Windows`: x64, arm64\n> - `MacOS`: x64/intel, arm64\n> - `Linux`: x64/amd64, arm64\n>\n> else arch and system require copiler supported by `node-gyp` installed to compile Node addon.\n>\n> 1. To manage the Wireguard interfaces in linux, root access is required.\n> 1. Windows user are `wireguard-nt` dll files includes in module\n> 1. Another system's require `wireguard-go` [(check this page)](https://github.com/WireGuard/wireguard-go)\n\n## Examples\n\nMoved to `examples` folder","default":"./src/index.mjs","engines":{"node":">=16.0.0"},"exports":{".":{"types":"./src/index.d.ts","default":"./src/index.mjs","require":"./src/index.js"}},"gitHead":"10f67f0bfdf135c2b5274e6f8cb586eaee3b2654","private":false,"scripts":{"dev":"node libs/build.mjs build","test":"mocha ./src","install":"node libs/build.mjs","prebuildify":"node libs/build.mjs build --auto"},"sponsor":{"url":"https://github.com/sponsors/Sirherobrine23"},"_npmUser":{"name":"sirherobrine23","email":"srherobrine20@gmail.com"},"repository":{"url":"git+https://github.com/Sirherobrine23/Wireguard-tools.js.git","type":"git"},"_npmVersion":"9.8.1","description":"Control your wireguard interface from node.js, not a wireguard-tools wrapper!","directories":{},"_nodeVersion":"20.6.1","dependencies":{"node-gyp":"^9.4.0","node-addon-api":"^7.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"mocha":"^10.2.0","@types/node":"^20.6.0","@types/mocha":"^10.0.1"},"_npmOperationalInternal":{"tmp":"tmp/wireguard-tools.js_1.7.7_1694535220932_0.44770062697456403","host":"s3://npm-registry-packages"}},"1.7.8":{"name":"wireguard-tools.js","version":"1.7.8","keywords":["wireguard","node-addon","wireguard-tools","wireguard-basic-tools","wireguard-utils"],"author":{"url":"https://sirherobrine23.org/","name":"Matheus Sampaio Queiroga","email":"srherobrine20@gmail.com"},"license":"GPL-3.0-or-later","_id":"wireguard-tools.js@1.7.8","maintainers":[{"name":"sirherobrine23","email":"srherobrine20@gmail.com"}],"homepage":"https://github.com/Sirherobrine23/Wireguard-tools.js#readme","bugs":{"url":"https://github.com/Sirherobrine23/Wireguard-tools.js/issues/new"},"dist":{"shasum":"9c724adffc3d85b48fd8b59a0ffbb54b89338572","tarball":"https://registry.npmjs.org/wireguard-tools.js/-/wireguard-tools.js-1.7.8.tgz","fileCount":53,"integrity":"sha512-xTHA0o2yYFsuuBRpfxW5mqmvVTaFu0YAm5Z6DpE9PFbvjESTRqvH7/RiJEK902dc6JR/bKGiZHkDsQ2nPPpzWg==","signatures":[{"sig":"MEUCIEz6C0ptW5PicZxr4IAuqvOqiXPmX5/O+FNZe9QJBm8FAiEA7wsK48GYwJ330QcnmfUnMWdKd4wT/ttpoVrqKRzUPhI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":4263104},"main":"./src/index.js","type":"commonjs","types":"./src/index.d.ts","readme":"# Wireguard-tools.js\n\nEfficiently manage your Wireguard interface right from nodejs, no `wg` required.\n\nother tools are wrappers over `wg`, `wireguard-tools.js` is not like that, it is a `C/C++` addon in which you don't need to have `wg` installed, as this module has full compatibility of its own `wg`.\n\n## Support to:\n\n1. Userpsace [(wireguard-go)](https://git.zx2c4.com/wireguard-go/about/)\n2. Maneger wireguard interface (linux and windows create if not exist's).\n3. Generate `pre-shared`, `private` and `public` keys.\n4. [wg-quick](https://man7.org/linux/man-pages/man8/wg-quick.8.html) file support.\n\n> **Note**\n>\n> we have pre-copiled files for:\n> - `Windows`: x64, arm64\n> - `MacOS`: x64/intel, arm64\n> - `Linux`: x64/amd64, arm64\n>\n> else arch and system require copiler supported by `node-gyp` installed to compile Node addon.\n>\n> 1. To manage the Wireguard interfaces in linux, root access is required.\n> 1. Windows user are `wireguard-nt` dll files includes in module\n> 1. Another system's require `wireguard-go` [(check this page)](https://github.com/WireGuard/wireguard-go)\n\n## Examples\n\nMoved to `examples` folder","default":"./src/index.mjs","engines":{"node":">=16.0.0"},"exports":{".":{"types":"./src/index.d.ts","default":"./src/index.mjs","require":"./src/index.js"}},"gitHead":"f9a3d5803ace2d0cb04a9de9701d7de642bc45cd","private":false,"scripts":{"dev":"node libs/build.mjs build","test":"mocha ./src","install":"node libs/build.mjs","prebuildify":"node libs/build.mjs build --auto"},"sponsor":{"url":"https://github.com/sponsors/Sirherobrine23"},"_npmUser":{"name":"sirherobrine23","email":"srherobrine20@gmail.com"},"repository":{"url":"git+https://github.com/Sirherobrine23/Wireguard-tools.js.git","type":"git"},"_npmVersion":"9.8.1","description":"Control your wireguard interface from node.js, not a wireguard-tools wrapper!","directories":{},"_nodeVersion":"20.6.1","dependencies":{"node-gyp":"^9.4.0","node-addon-api":"^7.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"mocha":"^10.2.0","@types/node":"^20.6.0","@types/mocha":"^10.0.1"},"_npmOperationalInternal":{"tmp":"tmp/wireguard-tools.js_1.7.8_1694538251481_0.815075825154711","host":"s3://npm-registry-packages"}},"1.8.0":{"name":"wireguard-tools.js","version":"1.8.0","keywords":["wireguard","node-addon","wireguard-tools","wireguard-basic-tools","wireguard-utils"],"author":{"url":"https://sirherobrine23.org/","name":"Matheus Sampaio Queiroga","email":"srherobrine20@gmail.com"},"license":"GPL-3.0-or-later","_id":"wireguard-tools.js@1.8.0","maintainers":[{"name":"sirherobrine23","email":"srherobrine20@gmail.com"}],"homepage":"https://github.com/Sirherobrine23/Wireguard-tools.js#readme","bugs":{"url":"https://github.com/Sirherobrine23/Wireguard-tools.js/issues/new"},"dist":{"shasum":"05de42bd1fa3fb81e079f33142544438aaaeaf58","tarball":"https://registry.npmjs.org/wireguard-tools.js/-/wireguard-tools.js-1.8.0.tgz","fileCount":51,"integrity":"sha512-3vKPfkw0ZyuaeVA+dHrvQRiBffrPiejj7JZf83LmlzACu1HJtzqh1grs3CTFLL8Zj+5sNvKoeToQfMezU1KxqQ==","signatures":[{"sig":"MEQCIFuMsdEFKja4Pps8PHEKC/plxmnJ1DU9ro4Lq0AA6algAiA9AWzy4KM1y711ovqqHmKls9CzA4rNjXr22cSeWKxnmg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":4391389},"main":"./src/index.js","type":"commonjs","types":"./src/index.d.ts","readme":"# Wireguard-tools.js\n\nEfficiently manage your Wireguard interface right from nodejs, no `wg` required.\n\nother tools are wrappers over `wg`, `wireguard-tools.js` is not like that, it is a `C/C++` addon in which you don't need to have `wg` installed, as this module has full compatibility of its own `wg`.\n\n## Support to:\n\n- Userspace [(wireguard-go)](https://git.zx2c4.com/wireguard-go/about/) support.\n- Maneger wireguard interface (linux and windows create if not exist's).\n- Generate `pre-shared`, `private` and `public` keys.\n- [wg-quick](https://man7.org/linux/man-pages/man8/wg-quick.8.html) file support.\n- More info and example check [`docs`](docs/README.md) folder.\n\n> **Note**\n>\n> we have pre-copiled files for:\n> - `Windows`: x64, arm64\n> - `MacOS`: x64/intel, arm64\n> - `Linux`: x64/amd64, arm64\n>\n> else arch and system require copiler supported by `node-gyp` installed to compile Node addon.\n>\n> 1. To manage the Wireguard interfaces in linux, root access is required.\n> 1. Windows user are `wireguard-nt` dll files includes in module\n> 1. Another system's require `wireguard-go` [(check this page)](https://github.com/WireGuard/wireguard-go)\n","default":"./index.mjs","engines":{"node":">=16.0.0"},"exports":{".":{"types":"./src/index.d.ts","default":"./index.mjs","require":"./src/index.js"}},"gitHead":"599827e3882019c0583e983f231f2cd42e697497","private":false,"scripts":{"dev":"node libs/build.mjs build","test":"node libs/build.mjs build --clean && mocha ./testPackage.test.cjs","install":"node libs/build.mjs","prepack":"tsc --build --clean && tsc --build && node libs/build.mjs","postpack":"tsc --build --clean","prebuildify":"node libs/build.mjs build --auto"},"sponsor":{"url":"https://github.com/sponsors/Sirherobrine23"},"_npmUser":{"name":"sirherobrine23","email":"srherobrine20@gmail.com"},"repository":{"url":"git+https://github.com/Sirherobrine23/Wireguard-tools.js.git","type":"git"},"_npmVersion":"10.1.0","description":"Control your wireguard interface from node.js, not a wireguard-tools wrapper!","directories":{},"_nodeVersion":"20.8.0","dependencies":{"node-gyp":"^9.4.0","node-addon-api":"^7.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"mocha":"^10.2.0","ts-node":"^10.9.1","typescript":"^5.2.2","@types/node":"^20.8.3"},"_npmOperationalInternal":{"tmp":"tmp/wireguard-tools.js_1.8.0_1696862369852_0.2097654061514589","host":"s3://npm-registry-packages"}},"1.8.1":{"name":"wireguard-tools.js","version":"1.8.1","keywords":["wireguard","node-addon","wireguard-tools","wireguard-basic-tools","wireguard-utils"],"author":{"url":"https://sirherobrine23.org/","name":"Matheus Sampaio Queiroga","email":"srherobrine20@gmail.com"},"license":"GPL-3.0-or-later","_id":"wireguard-tools.js@1.8.1","maintainers":[{"name":"sirherobrine23","email":"srherobrine20@gmail.com"}],"homepage":"https://github.com/Sirherobrine23/Wireguard-tools.js#readme","bugs":{"url":"https://github.com/Sirherobrine23/Wireguard-tools.js/issues/new"},"dist":{"shasum":"8462d06c32813a36f50601581425af251f3abb89","tarball":"https://registry.npmjs.org/wireguard-tools.js/-/wireguard-tools.js-1.8.1.tgz","fileCount":48,"integrity":"sha512-VbzKhmODFJf8KQwA201XYa0CuqGL3TE8tE6aY+8/e7DBB3iHPZ8zVFFcuVzLcabojFsoJH6RCY6838F5j+j/QA==","signatures":[{"sig":"MEUCIQCfk/9k/cepdBw+rTuoMkjqeJdtpqaFH7ojlHtHa+PRFQIgMK74c6iC4ZC/1F8Rx5UhszX27aBhULUpgCUAvX+1dog=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":4370986},"main":"./src/index.js","type":"commonjs","types":"./src/index.d.ts","default":"./index.mjs","engines":{"node":">=16.0.0"},"exports":{".":{"types":"./src/index.d.ts","default":"./index.mjs","require":"./src/index.js"}},"gitHead":"589c25b3e4b7f5c0153278e082d773046b18c38a","private":false,"scripts":{"dev":"node libs/build.mjs build","test":"node libs/build.mjs build --clean && mocha ./testPackage.test.cjs","install":"node libs/build.mjs","prepack":"tsc --build --clean && tsc --build && node libs/build.mjs","postpack":"tsc --build --clean","prebuildify":"node libs/build.mjs build --auto"},"sponsor":{"url":"https://github.com/sponsors/Sirherobrine23"},"_npmUser":{"name":"sirherobrine23","email":"srherobrine20@gmail.com"},"repository":{"url":"git+https://github.com/Sirherobrine23/Wireguard-tools.js.git","type":"git"},"_npmVersion":"10.2.3","description":"Control your wireguard interface from node.js, not a wireguard-tools wrapper!","directories":{},"_nodeVersion":"20.10.0","dependencies":{"node-gyp":"^10.0.0","node-addon-api":"^7.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"mocha":"^10.2.0","ts-node":"^10.9.1","typescript":"^5.2.2","@types/node":"^20.8.3"},"_npmOperationalInternal":{"tmp":"tmp/wireguard-tools.js_1.8.1_1702418531397_0.53145310838612","host":"s3://npm-registry-packages"}},"1.8.2":{"name":"wireguard-tools.js","version":"1.8.2","keywords":["wireguard","node-addon","wireguard-tools","wireguard-basic-tools","wireguard-utils"],"author":{"url":"https://sirherobrine23.org/","name":"Matheus Sampaio Queiroga","email":"srherobrine20@gmail.com"},"license":"GPL-3.0-or-later","_id":"wireguard-tools.js@1.8.2","maintainers":[{"name":"sirherobrine23","email":"srherobrine20@gmail.com"}],"homepage":"https://sirherobrine23.org/Wireguard/Wireguard-tools.js#readme","bugs":{"url":"https://sirherobrine23.org/Wireguard/Wireguard-tools.js/issues/new"},"dist":{"shasum":"456392e8518b05f18b095eefe0685cec8e4afa63","tarball":"https://registry.npmjs.org/wireguard-tools.js/-/wireguard-tools.js-1.8.2.tgz","fileCount":41,"integrity":"sha512-5lxOocrNr5Qa0DYbNHOYsqgfliFX5U/Qx9VlCL4RS2VxlfxEY5xOEqQhqBX4R0ILHAzCcBpq9gfpnFrx9+v4sA==","signatures":[{"sig":"MEUCIFwvl+G4CTAblzBqX0DZuyuVlGVf4tilla6Cv7aaF4KOAiEA/Y+e4TCb90pg5was0yVFowQWgheTqvCn83wrzbUU7uA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":2465906},"main":"./src/index.js","type":"commonjs","types":"./src/index.d.ts","readme":"# Wireguard-tools.js\n\nEfficiently manage your Wireguard interface right from nodejs, no `wg` required.\n\nother tools are wrappers over `wg`, `wireguard-tools.js` is not like that, it is a `C/C++` addon in which you don't need to have `wg` installed, as this module has full compatibility of its own `wg`.\n\n## Support to:\n\n- Userspace [(wireguard-go)](https://git.zx2c4.com/wireguard-go/about/) support.\n- Maneger wireguard interface (linux and windows create if not exist's).\n- Generate `preshared`, `private` and `public` keys.\n- [wg-quick](https://man7.org/linux/man-pages/man8/wg-quick.8.html) file support.\n- More info and example check [`wiki`](https://sirherobrine23.org/Wireguard/Wireguard-tools.js/wiki).\n\n> **Note**\n>\n> we have pre-copiled files for:\n> - `Windows`: x64, arm64\n> - `MacOS`: x64/intel, arm64/Apple silicon\n> - `Linux`: x64/amd64, arm64/aarch64\n>\n> else arch and system require copiler supported by `node-gyp` installed to compile Node addon.\n>\n> 1. To manage the Wireguard interfaces in linux, root access is required.\n> 1. Windows user are `wireguard-nt` dll files includes in module\n> 1. Another system's require `wireguard-go` [(check this page)](https://github.com/WireGuard/wireguard-go)\n","default":"./index.mjs","engines":{"node":">=16.0.0"},"exports":{".":{"types":"./src/index.d.ts","default":"./index.mjs","require":"./src/index.js"}},"gitHead":"d1bf97a783f0dd971372d65f8c5fe503afda5e90","private":false,"scripts":{"dev":"node libs/build.mjs build","test":"node libs/build.mjs build --clean && node --require ts-node/register --loader ts-node/esm --test src/**/*_test.ts","install":"node libs/build.mjs","prepack":"tsc --build --clean && tsc --build && node libs/build.mjs","postpack":"tsc --build --clean","prebuildify":"node libs/build.mjs build --auto"},"sponsor":{"url":"https://github.com/sponsors/Sirherobrine23"},"_npmUser":{"name":"sirherobrine23","email":"srherobrine20@gmail.com"},"repository":{"url":"git+https://sirherobrine23.org/Wireguard/Wireguard-tools.js.git","type":"git"},"_npmVersion":"10.3.0","description":"Control your wireguard interface from node.js, not a wireguard-tools/wg wrapper!","directories":{},"_nodeVersion":"20.11.0","dependencies":{"node-gyp":"^10.0.1","node-addon-api":"^7.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"ts-node":"^10.9.2","typescript":"^5.3.3","@types/node":"^20.11.0"},"_npmOperationalInternal":{"tmp":"tmp/wireguard-tools.js_1.8.2_1706040067596_0.8184363545380964","host":"s3://npm-registry-packages"}},"1.8.3":{"name":"wireguard-tools.js","version":"1.8.3","keywords":["wireguard","node-addon","wireguard-tools","wireguard-basic-tools","wireguard-utils"],"author":{"url":"https://sirherobrine23.org/","name":"Matheus Sampaio Queiroga","email":"srherobrine20@gmail.com"},"license":"GPL-3.0-or-later","_id":"wireguard-tools.js@1.8.3","maintainers":[{"name":"sirherobrine23","email":"srherobrine20@gmail.com"}],"homepage":"https://sirherobrine23.org/Wireguard/Wireguard-tools.js#readme","bugs":{"url":"https://sirherobrine23.org/Wireguard/Wireguard-tools.js/issues/new"},"dist":{"shasum":"4685faa63e76bec111b29cc84904710e7b9d4364","tarball":"https://registry.npmjs.org/wireguard-tools.js/-/wireguard-tools.js-1.8.3.tgz","fileCount":38,"integrity":"sha512-D78MqLE0vhvvFnkcUFLGNCSv6oEkF3BZxtLxcxukSOyZhRRwGj+IG76FcEQCdL+a9FTTesEQ8fMc6U4k+yaKDQ==","signatures":[{"sig":"MEQCIFMcI1rkaRQXaqIlavzaK5ITWmjID4tcbQEbNG5M5HlbAiAN3vSCpeQObbh2n1CLLPA81tzKblAIRiqSoFM4c2YuXw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":2440639},"main":"./src/index.js","type":"commonjs","types":"./src/index.d.ts","readme":"# Wireguard-tools.js\n\nEfficiently manage your Wireguard interface right from nodejs, no `wg` required.\n\nother tools are wrappers over `wg`, `wireguard-tools.js` is not like that, it is a `C/C++` addon in which you don't need to have `wg` installed, as this module has full compatibility of its own `wg`.\n\n## Support to:\n\n- Userspace [(wireguard-go)](https://git.zx2c4.com/wireguard-go/about/) support.\n- Maneger wireguard interface (linux and windows create if not exist's).\n- Generate `preshared`, `private` and `public` keys.\n- [wg-quick](https://man7.org/linux/man-pages/man8/wg-quick.8.html) file support.\n- More info and example check [`wiki`](https://sirherobrine23.org/Wireguard/Wireguard-tools.js/wiki).\n\n> **Note**\n>\n> we have pre-copiled files for:\n> - `Windows`: x64, arm64\n> - `MacOS`: x64/intel, arm64/Apple silicon\n> - `Linux`: x64/amd64, arm64/aarch64\n>\n> else arch and system require copiler supported by `node-gyp` installed to compile Node addon.\n>\n> 1. To manage the Wireguard interfaces in linux, root access is required.\n> 1. Windows user are `wireguard-nt` dll files includes in module\n> 1. Another system's require `wireguard-go` [(check this page)](https://github.com/WireGuard/wireguard-go)\n","default":"./index.mjs","engines":{"node":">=16.0.0"},"exports":{".":{"types":"./src/index.d.ts","default":"./index.mjs","require":"./src/index.js"}},"gitHead":"38dca1bebe13212a9be0798a0e1c2ab45253e5cd","private":false,"scripts":{"dev":"node libs/build.mjs build","test":"node libs/build.mjs build --clean && node --require ts-node/register --loader ts-node/esm --test src/**/*_test.ts","install":"node libs/build.mjs","prepack":"tsc --build --clean && tsc --build && node libs/build.mjs","postpack":"tsc --build --clean","prebuildify":"node libs/build.mjs build --auto"},"sponsor":{"url":"https://github.com/sponsors/Sirherobrine23"},"_npmUser":{"name":"sirherobrine23","email":"srherobrine20@gmail.com"},"repository":{"url":"git+https://sirherobrine23.org/Wireguard/Wireguard-tools.js.git","type":"git"},"_npmVersion":"10.3.0","description":"Control your wireguard interface from node.js, not a wireguard-tools/wg wrapper!","directories":{},"_nodeVersion":"20.11.0","dependencies":{"node-gyp":"^10.0.1","node-addon-api":"^7.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"ts-node":"^10.9.2","typescript":"^5.3.3","@types/node":"^20.11.0"},"_npmOperationalInternal":{"tmp":"tmp/wireguard-tools.js_1.8.3_1706136622333_0.6408842207463132","host":"s3://npm-registry-packages"}},"2.0.0":{"name":"wireguard-tools.js","version":"2.0.0","keywords":["wireguard","node-addon","wireguard-tools","wireguard-basic-tools","wireguard-utils"],"author":{"url":"https://sirherobrine23.org/","name":"Matheus Sampaio Queiroga","email":"srherobrine20@gmail.com"},"license":"GPL-3.0-or-later","_id":"wireguard-tools.js@2.0.0","maintainers":[{"name":"sirherobrine23","email":"srherobrine20@gmail.com"}],"homepage":"https://sirherobrine23.org/Wireguard/Wireguard-tools.js#readme","bugs":{"url":"https://sirherobrine23.org/Wireguard/Wireguard-tools.js/issues/new"},"dist":{"shasum":"41934d30b01c095254a079d4f262f7e1f6bad7dd","tarball":"https://registry.npmjs.org/wireguard-tools.js/-/wireguard-tools.js-2.0.0.tgz","fileCount":37,"integrity":"sha512-P7V3lkzCr9bIfehuYMMZsUe3M0nGbm8EuAWRG5qWsNwNgGISjrUKNVxJwilHyB+uf/pZ6XFBnMInUfgCxqkJHA==","signatures":[{"sig":"MEUCIGXidv5SMB5EzV57kJNS2hHuTj5gCcVO4nSbUK/oJxTtAiEA6z5EDe5/EQY/suhj8t5HyWT1zrderNiL7/EVJj/WLmo=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":11658691},"main":"./src/index.js","type":"module","types":"./src/index.d.ts","readme":"# Wireguard-tools.js\n\nEfficiently manage your Wireguard interface right from nodejs, no `wg` required.\n\nother tools are wrappers over `wg`, `wireguard-tools.js` is not like that, it is a `C/C++` addon in which you don't need to have `wg` installed, as this module has full compatibility of its own `wg`.\n\n## CommonJS droping support\n\nWith a small disappointment I come to inform you that CommonJS will be ignored in the next updates and will be completely an ESM module, if you don't want to migrate to ESM I recommend staying on version `1.8.1` or even `1.8.3`, which will be the last versions but recent in CommonJS.\n\n## Support to:\n\n- Userspace [(wireguard-go)](https://git.zx2c4.com/wireguard-go/about/) support.\n- Maneger wireguard interface (linux and windows create if not exist's).\n- Generate `preshared`, `private` and `public` keys.\n- [wg-quick](https://man7.org/linux/man-pages/man8/wg-quick.8.html) file support.\n- More info and example check [`wiki`](https://sirherobrine23.org/Wireguard/Wireguard-tools.js/wiki).\n\n> [!NOTE]\n>\n> we have pre-copiled files for:\n> - `Linux`: x64/amd64, arm64/aarch64\n> - `Windows`: x64, arm64\n>\n> 1. To manage the Wireguard interfaces in linux, root access is required.\n> 1. Another system's require `wireguard-go` [(check this page)](https://github.com/WireGuard/wireguard-go)","engines":{"node":">=16.0.0"},"gitHead":"b8b39f4a2f01b3752d259a8739a22b1a47107697","private":false,"scripts":{"dev":"rebory build -DP","test":"rebory build -D && node --no-warnings --loader ts-node/esm src/index_test.js","install":"rebory prebuild","prepack":"tsc --build --clean && tsc --build","postpack":"tsc --build --clean"},"sponsor":{"url":"https://github.com/sponsors/Sirherobrine23"},"_npmUser":{"name":"sirherobrine23","email":"srherobrine20@gmail.com"},"repository":{"url":"git+https://sirherobrine23.org/Wireguard/Wireguard-tools.js.git","type":"git"},"_npmVersion":"10.2.4","description":"Control your wireguard interface from node.js, not a wireguard-tools/wg wrapper!","directories":{},"_nodeVersion":"20.11.0","dependencies":{"rebory":"^0.1.12","node-addon-api":"^7.1.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"ts-node":"^10.9.2","typescript":"^5.3.3","@types/node":"^20.11.19"},"_npmOperationalInternal":{"tmp":"tmp/wireguard-tools.js_2.0.0_1708454710150_0.5092397834718663","host":"s3://npm-registry-packages"}},"2.0.1":{"name":"wireguard-tools.js","version":"2.0.1","keywords":["wireguard","node-addon","wireguard-tools","wireguard-basic-tools","wireguard-utils"],"author":{"url":"https://sirherobrine23.org/","name":"Matheus Sampaio Queiroga","email":"srherobrine20@gmail.com"},"license":"GPL-3.0-or-later","_id":"wireguard-tools.js@2.0.1","maintainers":[{"name":"sirherobrine23","email":"srherobrine20@gmail.com"}],"homepage":"https://sirherobrine23.org/Wireguard/Wireguard-tools.js#readme","bugs":{"url":"https://sirherobrine23.org/Wireguard/Wireguard-tools.js/issues/new"},"dist":{"shasum":"9062911d63ee36cdc89d8d00e70c50a03d993423","tarball":"https://registry.npmjs.org/wireguard-tools.js/-/wireguard-tools.js-2.0.1.tgz","fileCount":34,"integrity":"sha512-NPrUhgvjAqXEQ0xnm5SRNLjNLbpE0Ib6PkXedUEqYjMZ1oaKhE73Mwj+HvoI4KOvTLRUb18IQ1Rcf2czGgdkYA==","signatures":[{"sig":"MEYCIQDQG7C01oIEi5q/zhbUkekC2wDfwMNzgaQfn8X+0Z3D9gIhAPDibtyeqVWZJ8xCc5ioIlD84M0R/Z0cnRHcDYoG0jUE","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":2226981},"main":"./src/index.js","type":"module","types":"./src/index.d.ts","readme":"# Wireguard-tools.js\r\n\r\nEfficiently manage your Wireguard interface right from nodejs, no `wg` required.\r\n\r\nother tools are wrappers over `wg`, `wireguard-tools.js` is not like that, it is a `C/C++` addon in which you don't need to have `wg` installed, as this module has full compatibility of its own `wg`.\r\n\r\n## CommonJS droping support\r\n\r\nWith a small disappointment I come to inform you that CommonJS will be ignored in the next updates and will be completely an ESM module, if you don't want to migrate to ESM I recommend staying on version `1.8.1` or even `1.8.3`, which will be the last versions but recent in CommonJS.\r\n\r\n## Support to:\r\n\r\n- Userspace [(wireguard-go)](https://git.zx2c4.com/wireguard-go/about/) support.\r\n- Maneger wireguard interface (linux and windows create if not exist's).\r\n- Generate `preshared`, `private` and `public` keys.\r\n- [wg-quick](https://man7.org/linux/man-pages/man8/wg-quick.8.html) file support.\r\n- More info and example check [`wiki`](https://sirherobrine23.org/Wireguard/Wireguard-tools.js/wiki).\r\n\r\n> [!NOTE]\r\n>\r\n> we have pre-copiled files for:\r\n> - `Linux`: x64/amd64, arm64/aarch64\r\n> - `Windows`: x64, arm64\r\n>\r\n> 1. To manage the Wireguard interfaces in linux, root access is required.\r\n> 1. Another system's require `wireguard-go` [(check this page)](https://github.com/WireGuard/wireguard-go)","engines":{"node":">=16.0.0"},"gitHead":"1c9d30aa21066fdab45a86316e7521564533a280","private":false,"scripts":{"dev":"rebory build -DP","test":"rebory build -D && node --no-warnings --loader ts-node/esm src/index_test.js","install":"rebory prebuild","prepack":"tsc --build --clean && tsc --build","postpack":"tsc --build --clean"},"sponsor":{"url":"https://github.com/sponsors/Sirherobrine23"},"_npmUser":{"name":"sirherobrine23","email":"srherobrine20@gmail.com"},"repository":{"url":"git+https://sirherobrine23.org/Wireguard/Wireguard-tools.js.git","type":"git"},"_npmVersion":"10.2.3","description":"Control your wireguard interface from node.js, not a wireguard-tools/wg wrapper!","directories":{},"_nodeVersion":"20.10.0","dependencies":{"rebory":"^0.1.12","node-addon-api":"^7.1.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"ts-node":"^10.9.2","typescript":"^5.3.3","@types/node":"^20.11.19"},"_npmOperationalInternal":{"tmp":"tmp/wireguard-tools.js_2.0.1_1708474823426_0.9619820561319044","host":"s3://npm-registry-packages"}},"2.1.0":{"name":"wireguard-tools.js","version":"2.1.0","description":"Control your wireguard interface from node.js, not a wireguard-tools/wg wrapper!","private":false,"type":"module","main":"./src/index.js","types":"./src/index.d.ts","homepage":"https://sirherobrine23.org/Wireguard/Wireguard-tools.js#readme","author":{"name":"Matheus Sampaio Queiroga","email":"srherobrine20@gmail.com","url":"https://sirherobrine23.org/"},"license":"GPL-3.0-or-later","repository":{"type":"git","url":"https://sirherobrine23.org/Wireguard/Wireguard-tools.js.git"},"keywords":["wireguard","node-addon","wireguard-tools","wireguard-basic-tools","wireguard-utils"],"bugs":{"url":"https://sirherobrine23.org/Wireguard/Wireguard-tools.js/issues/new"},"sponsor":{"url":"https://github.com/sponsors/Sirherobrine23"},"publishConfig":{"access":"public"},"engines":{"node":">=16.0.0"},"binary":{"napi_versions":[8]},"scripts":{"install":"cmake-js compile","build":"cmake-js rebuild","test":"cmake-js compile && node --no-warnings --loader ts-node/esm src/index_test.js","prepack":"tsc --build --clean && tsc --build","postpack":"tsc --build --clean"},"devDependencies":{"@types/node":"^20.14.10","ts-node":"^10.9.2","typescript":"^5.5.3"},"dependencies":{"cmake-js":"^7.3.0","node-addon-api":"^8.0.0"},"_id":"wireguard-tools.js@2.1.0","readme":"# Wireguard-tools for Nodejs\n\nManage your Wireguard interfaces directly from Node.js without any wrappers over `wg` or `wg-quick`\n\n> [!WARNING]\n> Require cmake and tools (GCC/GCC++, clang or Visual Studio) to build this addon\n>\n> New versions does't include prebuilt binaries\n\n```js\nimport { setConfig, getConfig, key, Config } from \"../index.js\"\n\nconst tunName = process.platform === \"darwin\" ? \"utun10\" : \"wg3\" // Tunnel name, in MacOS/Darwin require start with utun prefix\nlet currentConfig: Config\ntry {\n  currentConfig = await getConfig(tunName) // Check if exists tun\n} catch {\n  // Create new wireguard tun\n  currentConfig = {\n    name: tunName,\n    privateKey: await key.privateKey(),\n    portListen: 5820,\n    address: [\n      \"10.66.66.1/24\"\n    ],\n    peers: {}\n  }\n}\n\n// Add new Peer\nconst peerPrivate = await key.privateKey()\ncurrentConfig.peers[key.publicKey(peerPrivate)] = {\n  presharedKey: await key.presharedKey(),\n  allowedIPs: [\n    \"10.66.66.2/24\"\n  ]\n}\n\n// Deploy new Config\nawait setConfig(currentConfig)\n```\n\n## Licences\n\n- `Wireguard-tools.js`: GPL-3.0\n\n### Wireguard\n\n- `Embeddable-wg-library`: LGPL-2.1+.\n- `Wireguard-nt`: GPL-2.0\n- `Wireguard-go`: MIT","readmeFilename":"README.md","gitHead":"e64616415e708058333eb60c1d121d9cd8e8692c","_nodeVersion":"22.4.0","_npmVersion":"10.8.1","dist":{"integrity":"sha512-uTL0zzx9ioCD94z3nDFTAewRWJguHfJWA7WPlmOqP73Fln1AqS5OkE3ZbKqtOyt3M5tGJ+c5tMAyoIM+4xYJ9Q==","shasum":"89cf10268ca8ab71490f134c162c95bb5ed85afd","tarball":"https://registry.npmjs.org/wireguard-tools.js/-/wireguard-tools.js-2.1.0.tgz","fileCount":44,"unpackedSize":12247664,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCID144ZCbAq4DEg0ruZdXbvgbJVISco2mXTJbS8wMosRDAiAitlGYvicvml0D9J4tN5WchLcycc//db77uL64w/wRSA=="}]},"_npmUser":{"name":"sirherobrine23","email":"srherobrine20@gmail.com"},"directories":{},"maintainers":[{"name":"sirherobrine23","email":"srherobrine20@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wireguard-tools.js_2.1.0_1720533929269_0.5449981071461909"},"_hasShrinkwrap":false}},"time":{"created":"2022-07-29T17:20:41.524Z","modified":"2024-07-09T14:05:29.693Z","0.1.3":"2022-07-29T17:20:41.722Z","1.0.0":"2022-07-29T18:51:16.888Z","1.0.1":"2022-08-01T17:03:37.603Z","1.0.2":"2022-08-01T20:17:28.585Z","1.1.0":"2022-08-02T03:17:42.816Z","1.1.1":"2022-08-02T21:32:33.147Z","1.2.0":"2022-08-03T20:50:43.962Z","1.3.0":"2022-08-06T21:21:20.452Z","1.3.1":"2022-08-06T23:01:46.506Z","1.3.2":"2022-08-07T23:21:26.633Z","1.3.3":"2022-08-14T01:38:37.157Z","1.3.4":"2022-08-14T06:16:50.878Z","1.4.0":"2022-08-14T06:45:53.483Z","1.4.1":"2022-08-14T21:42:07.640Z","1.4.2":"2022-08-18T21:47:09.599Z","1.5.0":"2022-08-19T01:12:10.862Z","1.5.1":"2022-08-23T16:14:05.360Z","1.5.2":"2022-09-04T02:49:13.785Z","1.5.3":"2023-05-12T15:59:38.977Z","1.6.0":"2023-05-15T21:03:31.461Z","1.7.0":"2023-08-21T18:40:00.040Z","1.7.1":"2023-08-22T16:36:22.742Z","1.7.2":"2023-08-22T20:22:43.153Z","1.7.3":"2023-08-24T14:45:49.214Z","1.7.4":"2023-08-29T02:09:35.872Z","1.7.5":"2023-08-29T03:25:26.162Z","1.7.6":"2023-09-12T03:49:08.185Z","1.7.7":"2023-09-12T16:13:41.244Z","1.7.8":"2023-09-12T17:04:11.734Z","1.8.0":"2023-10-09T14:39:30.222Z","1.8.1":"2023-12-12T22:02:11.753Z","1.8.2":"2024-01-23T20:01:07.831Z","1.8.3":"2024-01-24T22:50:22.563Z","2.0.0":"2024-02-20T18:45:10.418Z","2.0.1":"2024-02-21T00:20:23.696Z","2.1.0":"2024-07-09T14:05:29.516Z"},"bugs":{"url":"https://github.com/Sirherobrine23/Wireguard-tools.js/issues/new"},"author":{"url":"https://sirherobrine23.org/","name":"Matheus Sampaio Queiroga","email":"srherobrine20@gmail.com"},"license":"GPL-3.0-or-later","homepage":"https://github.com/Sirherobrine23/Wireguard-tools.js#readme","keywords":["wireguard","node-addon","wireguard-tools","wireguard-basic-tools","wireguard-utils"],"repository":{"url":"git+https://github.com/Sirherobrine23/Wireguard-tools.js.git","type":"git"},"description":"Control your wireguard interface from node.js, not a wireguard-tools wrapper!","maintainers":[{"name":"sirherobrine23","email":"srherobrine20@gmail.com"}],"readme":"","readmeFilename":""}