npm.io
0.0.4 • Published 10 years ago

clefs-localstorage

Licence
MIT
Version
0.0.4
Deps
2
Vulns
0
Weekly
0
Stars
2

clefs-localstorage

A clefs layer backed by localstorage-fs.

Getting started

Installing

	npm i -S clefs clefs-localstorage

Usage

	import clefs from 'clefs/browser';
	import localstorage from 'clefs-localstorage';

	const fs = clefs([localstorage]);
	const fileContents = await fs.readFile('/path/to/file.txt');
	console.log(fileContents);

Keywords