Socket
Socket
Sign inDemoInstall

mysterium-vpn-js

Package Overview
Dependencies
5
Maintainers
4
Versions
116
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

mysterium-vpn-js

Javascript SDK for Mysterium node


Version published
Maintainers
4
Weekly downloads
17
increased by13.33%

Weekly downloads

Readme

Source

mysterium-vpn-js

npm version pipeline status

Javascript SDK for mysteriumnetwork/node

Installation

NPM:

npm i mysterium-vpn-js

Yarn:

yarn add mysterium-vpn-js

Usage

ES6 module

import tequilapi from 'mysterium-vpn-js'

tequilapi.identityList().then((identities) => {
  console.log(identities)
})

Output:

{
  "identities": [
    { "id": "0xf2732f2100d19d74b1b5484037ebf6c13736d1bc" }
  ]
}

Node.js require syntax

const tequilapi = require('mysterium-vpn-js').default

tequilapi.healthCheck().then((res) => {
  console.log(res)
})

Output:

{
  "uptime": "75h23m14.658120675s",
  "process": 19857,
  "version":"0.2.3",
  "buildInfo": {
    "commit": "91840225277923a61de2bf5683a24532ee638559",
    "branch": "0.2.3",
    "buildNumber": "1389"
  }
}

Tequilapi Client API

See src/tequilapi-client.ts for all available Tequilapi operations.

You may also check out Tequilapi REST API documentation.

Contributing

  • Run CI build: yarn ci

Keywords

FAQs

Last updated on 08 Nov 2023

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc