JSPM

vodafone-station

1.1.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 2
  • Score
    100M100P100Q42282F
  • License MIT

API wrapper for the Vodafone Station (ARRIS TG3442DE)

Package Exports

  • vodafone-station
  • vodafone-station/dist/index.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (vodafone-station) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Vodafone Station API

npm version

This package is a simple api wrapper for the web interface of the Vodafone Station (modem/router provided by ISPs e.g. Vodafone) Currently only a couple of the web interface functions are implemented.

Installing

Using npm:

npm i vodafone-station

Usage

This example shows how to get an unformatted list of all currently connected devices.

import VodafoneStation from 'vodafone-station';
// creating an vodafoneStation object with the ip address of the target
const vodafoneStation = new VodafoneStation('192.168.0.1');
// logging in with the "password"
await vodafoneStation.login('admin', 'password');
// getting the list of all connected devices
const devices = await vodafoneStation.getConnectedDevices();
// logout to terminate the session
await vodafoneStation.logout();
console.log(devices);