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
- Host: GitHub
- URL: https://github.com/hazycora/librespot
- Owner: hazycora
- License: other
- Created: 2023-07-02T22:03:41.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2024-11-30T19:56:29.000Z (over 1 year ago)
- Last Synced: 2025-10-25T21:47:00.908Z (8 months ago)
- Topics: download, librespot, librespot-js, music, spotify, typescript
- Language: TypeScript
- Homepage:
- Size: 354 KB
- Stars: 13
- Watchers: 2
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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.