clefs-simpleobject
v0.0.4
Published
An fs abstraction backed by an object
Downloads
7
Readme
clefs-simpleobject
A clefs layer backed by localstorage-fs.
Getting started
Installing
npm i -S clefs clefs-simpleobject
Usage
import clefs from 'clefs/browser';
import simpleobject from 'clefs-simpleobject';
const fs = clefs([simpleobject]);
const fileContents = await fs.readFile('/path/to/file.txt');
console.log(fileContents);