dat-rm
Delete files from dat
archives using glob patterns.
Supports both raw hyperdrive
instances and Beaker Browser's DatArchive
API.
Usage
var rm = { var dat = await DatArchive // delete all Markdown files in the archive await // delete all jpg images and prune any directories left empty await // delete entire subdirectory, including its contents await } // Instead of using `await`, you can pass in a callback toovar hyperdrive = var rm = var dat =
License
Apache-2.0