Skip to content

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

License

Notifications You must be signed in to change notification settings

hazycora/librespot

Repository files navigation

librespot-js

A work-in-progress FOSS Spotify library in JavaScript inspired by librespot.

Installation

npm i librespot

Usage

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, also under the MIT license.