UNPKG

@meat-nuggets/wireguard-tools

Version:

The best way to interact with WireGuard from Node

8 lines (7 loc) 278 B
import { execFunction } from "./exec"; /** * Checks that Wireguard is installed and available in path at 'wg' and returns the version string. * * Will throw on Error if wg is not installed */ export declare const checkWgIsInstalled: (exec: execFunction) => Promise<string>;