Skip to content

Instantly share code, notes, and snippets.

@MadcapJake
MadcapJake / kokanu.mjs
Last active September 22, 2023 17:46 — forked from 2sh/kokanu.mjs
convert powerpoint pdf svgs into pngs for use on courses
#!/usr/bin/env node
// mkdir input && mkdir cleaned && mkdir raster
// pdf2svg Logography\ for\ Kokanu.pdf input/kokanu_%d.svg all
// node kokanu.mjs pre
// node kokanu.mjs post
import fs from 'fs/promises'
import fsx from 'fs'
import readline from 'readline'