Skip to content

Instantly share code, notes, and snippets.

@zachBridges
zachBridges / spotify-archive.ts
Created October 23, 2025 00:47 — forked from kmein/spotify-archive.ts
Script to archive your Spotify playlists
import { Base64 } from "https://deno.land/x/bb64/mod.ts";
import { join } from "https://deno.land/std/path/mod.ts";
import { exists } from "https://deno.land/std/fs/mod.ts";
const debug = (x: T): T => {
console.error(x);
return x;
};
const assertEnv = (key: string): string => {