nordvpn-server-lister
v0.6.2
Published
A tool for listing NordVPN servers
Downloads
90
Readme
nordvpn-server-lister
CLI / api for listing NordVPN servers
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"
}...
]
}
})();