New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

bt-smart-hub-devices

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bt-smart-hub-devices

Gets a list of devices from the BT SmartHub

  • 1.0.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
0
decreased by-100%
Maintainers
1
Weekly downloads
 
Created
Source

node-bt-smart-hub-devices

Gets a list of devices from the BT SmartHub

Usage

This module only exposes one method, getList. getList accepts the IP address of the router as it's only argument and then returns a promise. This promise is then resolved to an array of objects containing data about the devices listed by the BT SmartHub.

The object contains the following:

  • hostname - The hostname of the device.
  • macAddress - The MAC address of the device.
  • ip - The current IP of the device.
  • active - Whether or not the device is currently connected.

Example

'use strict';
const deviceLister = require('bt-smart-hub-devices');

deviceLister.getList('192.168.1.254').then((devices) => {
    console.log(devices);
});

FAQs

Package last updated on 13 Oct 2016

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