Implementation of a basic subset of node's fs v0.12 api for the web with some caveats.
Run the integration tests in your browser.
var co = ;var fs = ;;// Or without co + generators...fs;
This is only known to work in Firefox currently since support for indexedDB as well as es6 features such as promises, generators, proxies, arrow functions, destructuring, and template strings is assumed.
modeargument in the nodejs api do not honor the
mode(since there are no file permissions).
appendFile()methods all coerce values to strings.
WriteStreamare not implemented.
exists()is not implemented since it is slated for deprecation in the nodejs api as of v0.12.