# openvpn-node-lib

> package to connect on open vpn with certificate and password

Latest version **1.0.2** (published 2023-11-27) · ISC license · 0 weekly downloads

## Install

```sh
npm install openvpn-node-lib
pnpm add openvpn-node-lib
yarn add openvpn-node-lib
bun add openvpn-node-lib
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.2 |
| Published | 2023-11-27 |
| First published | 2023-11-27 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 2.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Willy Silva |
| Maintainers | atordoar |
| Keywords | node, openvpn, library |

## Links

- npm: https://www.npmjs.com/package/openvpn-node-lib
- npm.io page: https://npm.io/package/openvpn-node-lib

## Dependencies (1)

- [child_process](https://npm.io/package/child_process.md) ^1.0.2

## Alternatives

- [replicas-cli](https://npm.io/package/replicas-cli.md) — 3.0K weekly downloads
- [env-contract](https://npm.io/package/env-contract.md) — 133 weekly downloads
- [@openveo/api](https://npm.io/package/@openveo/api.md) — 61 weekly downloads
- [@ryniaubenpm2/cumque-error-reiciendis](https://npm.io/package/@ryniaubenpm2/cumque-error-reiciendis.md) — 54 weekly downloads
- [ts-global-type-extra](https://npm.io/package/ts-global-type-extra.md) — 11 weekly downloads

## Recent versions

- 1.0.2 (latest) — 2023-11-27
- 1.0.1 — 2023-11-27
- 1.0.0 — 2023-11-27

## README

# 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:

```bash
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`);

```

---
_Source: https://npm.io/package/openvpn-node-lib · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
