This module provides a browser-compatible equivalent for node.js's fs
module when browserifying your build. For more information on Filerjs, a JavaScript implementation of a full POSIX filesystem for the browser, see the filerjs repo on github.
// package.json
{
// ...
"dependencies": {
"filer-browserify": "*"
}
}
// package.json
{
"dependencies": {
"filer-browserify": "*"
},
"browser": {
"fs": "filer-browserify"
}
}
Browserify as normal!
Feel free to file issues as you see them, and hop on #filer on irc.mozilla.org
to discuss bugs you would like to fix.