Sirherobrine23 92c740cc14 Remove .ts files, migrate to vanilla javascript
I am removing the Typescript transpilation part, the project will have full typescript support, Typescript support will not be removed.
2023-09-12 00:35:32 -03:00
2023-05-14 04:32:50 +00:00
2023-09-11 17:21:07 -03:00

Wireguard-tools.js

Efficiently manage your Wireguard interface right from nodejs, no wg required.

other 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.

Support to:

  1. Userpsace (wireguard-go)
  2. Maneger wireguard interface (linux and windows create if not exist's).
  3. Generate pre-shared, private and public keys.
  4. wg-quick file support.

Note

we have pre-copiled files for:

  • Windows: x64, arm64
  • MacOS: x64/intel, arm64
  • Linux: x64/amd64, arm64

else arch and system require copiler supported by node-gyp installed to compile Node addon.

  1. To manage the Wireguard interfaces in linux, root access is required.
  2. Windows user are wireguard-nt dll files includes in module
  3. Another system's require wireguard-go (check this page)

Examples

Moved to examples folder

Languages
C++ 45.4%
C 35.3%
TypeScript 14.8%
CMake 1.9%
Go 1.4%
Other 1.2%