@gershy/disk
v0.0.37
Published
Simplified filesystem access
Readme
TODO
Looks like someone needs to write this readme...
Terminology
- "Lore" - a tradition leading to a set of knowledge/facts. Correlates to data storage engines - filesystems vs databases vs api storage etc.
- "Scholar" - one who studies lore. Correlates to a unit of isolation within a Lore
- "Fact" - a specific data point known with a Lore. Correlates with the fundamental unit of storage within a storage engine, e.g. a file, db row, api record.
Tech debt
- This repo is called "disk", but houses both persistence-layer-agnostic code (
Lore) - should probably move agnostic code to @gershy/lore, and rename this repo to @gershy/lore-disk - Need to think about Writable backpressure (for head streams)
- Typing around head stream is a little shaky - e.g. our
Writabletype shadows node.jsWritable
