Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

cisco-vpn

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cisco-vpn

Wrapper around the Cisco AnyConnect VPN client.

  • 1.0.2
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
5
decreased by-28.57%
Maintainers
1
Weekly downloads
 
Created
Source

cisco-vpn

Wrapper around the Cisco AnyConnect VPN client.

Installation

npm install cisco-vpn

Quickstart

const vpn = require('cisco-vpn')({
    server: 'vpn.example.org',
    username: 'uncreative-username',
    password: 'super-secret-password'
})

vpn.connect()
    .then(() => console.log('connected!'))

// some time later
vpn.disconnect()
    .then(() => console.log('disconnected!'))

API

require('cisco-vpn')(options)

  • options <Object>:
    • exe <String>: default: C:/Program Files (x86)/Cisco/Cisco AnyConnect Secure Mobility Client/vpncli.exe
    • server <String>: required
    • username <String>: required
    • password <String>: required
  • returns the vpn <Object>

vpn.connect()

  • returns a <Promise> which:
    • resolves if the vpn was connected
    • rejects if an error occured

vpn.disconnect()

  • returns a <Promise> which:
    • resolves if the vpn was disconnected
    • rejects if an error occured

License

WTFPL – Do What the F*ck You Want to Public License.

Made with :heart: by @MarkTiedemann.

Keywords

FAQs

Package last updated on 19 Sep 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc