@kody/spotify
src/exports/list-playlists.ts
12 lines · 439 B · TypeScriptimport { listPlaylists } from '../lib/spotify-api.ts'
import type { ListPlaylistsParams } from '../lib/export-types.ts'
/**
* List the authenticated user's Spotify playlists.
* @example
* import listPlaylists from 'kody:@kody/spotify/list-playlists'
* const playlists = await listPlaylists({ limit: 10 })
*/
export default async function spotifyListPlaylists(params: ListPlaylistsParams = {}) {
return await listPlaylists(params)
}