Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

node-soundtouch

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-soundtouch

Bose Soundtouch API for node.js

  • 0.1.1
  • latest
  • Source
  • npm
  • Socket score

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

node-soundtouch

node-soundtouch is a Node.js library that implements the Bose Soundtouch API.

It is currently in an alpha state and only implements as much of the API as I currently need. Eventually though the intent is to support the full API.

This library is authored in TypeScript and compiled into ES6. It uses ES6 promises and can be used with async/await or promise chaining.

Installation

npm install --save node-soundtouch

This package includes TypeScript typings that should be automatically detected.

Usage

Below is an example in ES6/TypeScript

import {DiscoveryService, Key} from "node-soundtouch";

const device = await DiscoveryService.findDevice("My Device");

if (device) {
  await device.setVolume(30);
  await device.pressKey(Key.ShuffleOn);
  await device.powerOn();
  await device.pressKey(Key.Preset1);
}

Contributing

Contributions are welcome, though I do have a vision of how I want this project to reach v1.0 so feel free to open an issue before creating a pull request to see if we're on the same page.

Keywords

FAQs

Package last updated on 19 Sep 2017

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