Chromecast Discover
Discovers Chromecasts via mdns
Installation
npm install chromecast-discover
Usage
import chromecastDiscover from 'chromecast-discover';
chromecastDiscover.on('online', (data) => {
console.log('Found chromecast: ', data);
});
chromecastDiscover.start();
Development
After checking out the repo, run npm test
to run the tests.
To release a new version:
- npm test
- npm version major|minor|patch
- npm publish
This will run the tests, update the version, create a git tag for the version, push git commits and tags. Publish the module file to npmjs.com.
Contributing
Bug reports and pull requests are welcome on GitHub at https://github.com/johnf/chromecast-discover-node. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the Contributor Covenant code of conduct.
License
The gem is available as open source under the terms of the ISC License.