openvpn-node-lib

1.0.2 • Public • Published

Node.js OpenVPN Library

This Node.js library provides functionality to manage OpenVPN connections using Node.js. It allows you to start an OpenVPN connection, handle its output, and stop the connection programmatically.

Installation

To use this library, you'll need Node.js installed on your machine. Clone or download this repository and then install the dependencies using npm:

npm i openvpn-node-lib

Usage

Starting an OpenVPN Connection To start an OpenVPN connection, use the startOpenVPN() function:

const openvpn = require('node-openvpn-lib');

openvpn.startOpenVPN(`path/certificate.opvn, path/credentials.txt`);

Readme

Keywords

Package Sidebar

Install

npm i openvpn-node-lib

Weekly Downloads

2

Version

1.0.2

License

ISC

Unpacked Size

2.48 kB

Total Files

3

Last publish

Collaborators

  • atordoar