A work-in-progress FOSS Spotify library in JavaScript
Go to file
hazel 698fafc56b
update git repo URL in package.json
2023-09-17 01:02:46 -05:00
@types lint 2023-03-11 02:33:53 -06:00
docs/examples bump version, reorganise methods 2023-03-11 05:16:48 -06:00
proto improve types, bump version 2023-04-17 14:51:50 -05:00
src export LibrespotOptions 2023-09-17 01:01:57 -05:00
.eslintignore lint 2023-03-11 02:33:53 -06:00
.eslintrc.cjs lint 2023-03-11 02:33:53 -06:00
.gitignore improve types, bump version 2023-04-17 14:51:50 -05:00
.prettierignore lint 2023-03-11 02:33:53 -06:00
.prettierrc lint 2023-03-11 02:33:53 -06:00
LICENSE update README.md and correct LICENSE 2023-04-17 13:50:50 -05:00
README.md Edit notice about premium accounts in README 2023-07-03 14:00:08 -05:00
package.json update git repo URL in package.json 2023-09-17 01:02:46 -05:00
pnpm-lock.yaml fix dependencies 2023-09-16 21:53:59 -05:00
tsconfig.json refactor types 2023-09-16 21:50:15 -05:00

README.md

librespot-js

A work-in-progress FOSS Spotify library in JavaScript inspired by librespot. This library deliberately only works with Spotify Premium accounts, requests to change or "fix" this will be ignored.

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.