-
-
Notifications
You must be signed in to change notification settings - Fork 3
Description
Feature Use Case
They're aren't many Node libraries for RAMDisks out there and I assume you created your own solution because the others didn't suffice(?)
I'd like to use a RAMDisk for testing a library that outputs files, i.e. in jaredpalmer/tsdx#289 (comment) . I believe MPL should be ok to use in TSDX as a dev dependency (though in prod I'm not sure it'd be compatible with MIT, but I'm quite rusty on my license/copyright law)
Alternatives Considered
node-ramdisk
appears to be a bit harder to use.
memfs
just replaces the fs
library, but not the actual system paths. Would be great to use memfs
for this purpose, but I think that'd only be possible in a single-process testing set-up which unfortunately doesn't currently work for TSDX's test set-up at least. There might be some other gotchas there too.
If you know of anything else relevant, would be great to hear about it! I wasn't able to find much.
Feature Proposal
Create a separate RAMDisk package that's used by this plugin.