UNPKG

@soitora/plex-guid-grabber

Version:

Grab the GUID of a Plex entry on demand

12 lines (9 loc) 249 B
import fs from "fs"; const deleteDirectory = "dist"; fs.rm(deleteDirectory, { recursive: true }, (err) => { if (err) { console.error(err.message); return; } console.log(`Deleted the ${deleteDirectory} directory.`); });