Create/delete RAM disk, macOS/Linux only.
$ yarn add ramdsk
const createRamDisk: (name: string, size: number) => Promise<string>
const deleteRamDisk: (diskPath: string) => Promise<void>
import { createRamDisk, deleteRamDisk } from 'ramdsk'
const diskPath = await createRamDisk('test', 1024 * 512)
console.log(diskPath)
// /Volumes/test
await deleteRamDisk(diskPath)