A lightweight library for interacting with the Spotify API
const {SpotifyClient} = require("spotifydotjs")
const client = new SpotifyClient({
accessToken: "ACCESS TOKEN",
refreshToken: "REFRESH TOKEN",
cliendId: "CLIENT ID",
clientSecret: "CLIENT SECRET"
})
client.me().then(console.log).catch(console.error)
Contributions are always welcome!