nordvpn-server-lister
TypeScript icon, indicating that this package has built-in type declarations

0.6.2 • Public • Published

nordvpn-server-lister

CLI / api for listing NordVPN servers

Build Status Codacy Badge Coverage Status code style: prettier David GitHub

Installation

npm install -g nordvpn-server-lister

Usage

CLI

usage: vpn-servers [parameters]
    [-filter.<property> eq|lt|gt|le|ge|ne <value>]...   Filter result
    [-output=<property>]...                             Proprerties to show in result
    [-h]                                                Shows this help message

 Example:
   -filter.flag=SE -filter.load gt 24 -output=name      Lists servers whith flag=SE and load greater than 24

API

import fetch from "nordvpn-server-lister";

(async () => {
  const result = await fetch();

==>
{
  items: [
    {
      "name": "server1",
      "country": "Sweden"
    }...
  ]
}
})();

/nordvpn-server-lister/

    Package Sidebar

    Install

    npm i nordvpn-server-lister

    Weekly Downloads

    7

    Version

    0.6.2

    License

    MIT

    Unpacked Size

    20.7 kB

    Total Files

    45

    Last publish

    Collaborators

    • jaspenlind