clefs-fs
v0.0.4
Published
An clefs layer backed by a node's fs module
Downloads
12
Readme
clefs-localstorage
A clefs layer backed by localstorage-fs.
Getting started
Installing
npm i -S clefs clefs-fs
Usage
import clefs from 'clefs/browser';
import clefFs from 'clefs-fs';
const fs = clefs([clefFs]);
const fileContents = await fs.readFile('/path/to/file.txt');
console.log(fileContents);