1.0.0 ⢠Published 5 years ago
@jsvfs/adapter-noop v1.0.0
JSVFS Adapter: No-op
The default adapter for jsvfs. Useful for testing or for using jsvfs purely in-memory with no access to persistent storage.
If you're looking to use jsvfs, it's probably best to start with @jsvfs/core.
This module is the default noop backend for jsvfs and already imported if you have installed @jsvfs/core.
If you're looking to create new adapters, please use @jsvfs/types and look to @jsvfs/adapter-node-fs as an example.
Supported Features
- Async commits: nope.
- Pass-through reads: nada.
- Snapshots: nay.
- Flush: nein.
- Journaling: ēŖå·
š Because everything is a no-op!
Installation
Get it from npm:
npm install --save @jsvfs/adapter-noopDocumentation
Complete documentation of jsvfs can be found at the jsvfs site.