littlefs wrapped in javascript... for some reason...
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.
littlefs Merge commit 'be96fd6f60c9e3231e5025ca14b5d9bb558db8ba' Jan 23, 2018 Added documentation blurbs and license Nov 12, 2017
Makefile Initial commit Nov 12, 2017 Added documentation blurbs and license Nov 12, 2017
demo.html More margin things Nov 12, 2017
lfs_js.c Initial commit Nov 12, 2017
lfs_js.js Added support for lfs_file_truncate Jan 23, 2018
lfs_js_bd.js Initial commit Nov 12, 2017

A javascript wrapper for the little filesystem

This project puts together two things that should probably never go together:
embedded system filesystems, and web-side javascript.

The result is a fully functional javascript API for littlefs, complete with simulated block devices. This was all built using emscripten, a backend for the LLVM that can compile C to javascript. There's no smoke and mirrors here, this is actually running littlefs in your browser.

littlefs -
emscripten -

So you want to see littlefs running in your browser? Just follow this link to the demo!

You can find the full implementation of the demo in demo.html.