A work-in-progress FOSS Spotify library in TypeScript
Go to file
hazel 84f557e645
make slightly less horrific
2024-02-23 21:09:40 -06:00
@types rewrite all remaining js code in typescript 2023-10-31 23:01:54 -05:00
docs/examples rewrite all remaining js code in typescript 2023-10-31 23:01:54 -05:00
proto improve types, bump version 2023-04-17 14:51:50 -05:00
src make slightly less horrific 2024-02-23 21:09:40 -06:00
.eslintignore lint 2023-03-11 02:33:53 -06:00
.eslintrc.cjs typescript fixes 2023-10-31 20:20:45 -05: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
package.json drop premium requirement 2024-01-12 20:51:45 -06:00
pnpm-lock.yaml switch to undici fetch 2023-10-31 20:21:22 -05:00
README.md drop premium requirement 2024-01-12 20:51:45 -06:00
tsconfig.json rewrite all remaining js code in typescript 2023-10-31 23:01:54 -05:00

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.