An open API service indexing awesome lists of open source software.

https://github.com/hazycora/librespot

A FOSS library for retrieving metadata and audio streams from Spotify in JavaScript
https://github.com/hazycora/librespot

download librespot librespot-js music spotify typescript

Last synced: 5 months ago
JSON representation

A FOSS library for retrieving metadata and audio streams from Spotify in JavaScript

Awesome Lists containing this project

README

          

# librespot-js

A work-in-progress FOSS Spotify library in JavaScript inspired by [librespot](https://github.com/librespot-org/librespot/).

## Installation

```
npm i librespot
```

## Usage

```js
import Librespot from 'librespot'

const spotify = new Librespot()

await spotify.login('username', 'password')
```

See examples in docs/examples.

## License

librespot-js is under the MIT license.

librespot-js derives from [spotify-zeroconf](https://github.com/elbywan/spotify-zeroconf), also under the MIT license.