silverwolf-x's picture
download
raw
365 Bytes
// @ts-check
import { rm } from 'fs/promises'
import { join } from 'path'
const args = process.argv.slice(2)
if (args.length === 0) {
throw new Error('rm.mjs: requires a least one parameter')
}
for (const arg of args) {
const path = join(process.cwd(), arg)
console.log(`rm.mjs: deleting path "${path}"`)
await rm(path, { recursive: true, force: true })
}

Xet Storage Details

Size:
365 Bytes
·
Xet hash:
46bb75f30e4e495b9e253fd1ddb14913bdc8d86e70c14168ca0843a5fea1c2b4

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.