# spotify-helper

> Enables easy controlling of the player via an application.

Latest version **2.0.1** (published 2017-03-24) · MIT license · 0 weekly downloads

## Install

```sh
npm install spotify-helper
pnpm add spotify-helper
yarn add spotify-helper
bun add spotify-helper
```

## Health

**Score 25/100 (F)** — status: abandoned.

Positive: has types; no vulnerabilities; high quality score.

Warnings: low downloads; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 2.0.1 |
| Published | 2017-03-24 |
| First published | 2015-12-27 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Node | >=4.0.0 |
| Dependencies | 1 |
| Known vulnerabilities | 0 (+1 in 1 direct dependencies) |
| Install scripts | no |
| GitHub stars | 1 |
| Author | ExoZoneDev |
| Maintainers | artdude543, unwrittenfun |
| Keywords | spotify, web, api |

## Links

- npm: https://www.npmjs.com/package/spotify-helper
- Repository: https://git@github.com/ExoZoneDev/Spotify-Helper
- Homepage: https://github.com/ExoZoneDev/Spotify-Helper#readme
- Issues: https://github.com/ExoZoneDev/Spotify-Helper/issues
- npm.io page: https://npm.io/package/spotify-helper

## Dependencies (1)

- [node-fetch](https://npm.io/package/node-fetch.md) ^1.6.3

## Alternatives

- [@opentelemetry/exporter-zipkin](https://npm.io/package/@opentelemetry/exporter-zipkin.md) — 14.8M weekly downloads
- [pusher-js](https://npm.io/package/pusher-js.md) — 2.0M weekly downloads
- [browserify](https://npm.io/package/browserify.md) — 1.7M weekly downloads
- [sqs-consumer](https://npm.io/package/sqs-consumer.md) — 1.7M weekly downloads
- [@sanity/eventsource](https://npm.io/package/@sanity/eventsource.md) — 930.8K weekly downloads

## Recent versions

- 2.0.1 (latest) — 2017-03-24
- 2.0.0 — 2017-03-24
- 1.0.1 — 2015-12-27

## README

# Spotify Helper
NPM helper module to control the Spotify player.

This module allows you to control the Spotify player. From changing player state or changing the song currently playing.

### Installing
```
npm install spotify-helper
```

### Simple Example

This example will show you how the pause the player.

```
const { SpotifyHelper } = require('spotify-helper');
let Spotify = new SpotifyHelper();

Spotify.init()
  .then(function () {
    return Spotify.pause();
  });
```

This example will show you how the play the player.

```
const { SpotifyHelper } = require('spotify-helper');
let Spotify = new SpotifyHelper();

Spotify.init()
  .then(function () {
    return Spotify.play();
  });
```

### Bugs
You can report bugs with the repo issue tracker.

---
_Source: https://npm.io/package/spotify-helper · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
