discover-chromecasts

1.0.2 • Public • Published

discover-chromecasts NPM version

Discover/detect all Chromecast devices on a network.

Installation

Install the package with NPM:

$ npm install discover-chromecasts

Usage

Example:

import discoverChromecasts from "discover-chromecasts";
 
discoverChromecasts({ timeout: 5000 })
.then(chromecasts => {
  chromecasts.forEach(chromecast => {
    console.log(chromecast);
  });
}).catch(err => {
  console.error(err.message);
});

Disclaimer

The tool is not officially affiliated with Google in any way. Use at own risk.

Code originally forked from chromecast-scanner.

Dependencies (2)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i discover-chromecasts

    Weekly Downloads

    1

    Version

    1.0.2

    License

    MIT

    Last publish

    Collaborators

    • dstil-dev
    • dstil-admin