{"versions":{"1.0.0":{"name":"browserify-fs","version":"1.0.0","description":"fs for the browser using level-filesystem and browserify","repository":{"type":"git","url":"git://github.com/mafintosh/browserify-fs"},"keywords":["browserify","fs","level","filesystem"],"dependencies":{"level-filesystem":"^1.0.1","level-js":"^2.1.3","levelup":"^0.18.2"},"bugs":{"url":"https://github.com/mafintosh/browserify-fs/issues"},"homepage":"https://github.com/mafintosh/browserify-fs","_id":"browserify-fs@1.0.0","dist":{"shasum":"f075aa8a729d4d1716d066620e386fcc1311a96f","size":922,"noattachment":false,"tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/browserify-fs/-/browserify-fs-1.0.0.tgz"},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"anonymous","email":"mathiasbuus@gmail.com"},"maintainers":[{"name":"anonymous","email":"mathiasbuus@gmail.com"}],"directories":{},"publish_time":1397439386735,"_cnpm_publish_time":1397439386735,"_hasShrinkwrap":false,"contributors":[]}},"dist-tags":{"latest":"1.0.0"},"name":"browserify-fs","time":{"modified":"2023-07-28T01:06:32.073Z","created":"2022-01-26T23:17:44.494Z","1.0.0":"2014-04-14T01:36:26.735Z"},"readme":"# browserify-fs\n\n[fs](http://nodejs.org/api/fs.html) for the browser using [level-filesystem](https://github.com/mafintosh/level-filesystem) and [browserify](https://github.com/substack/node-browserify)\n\n\tnpm install browserify-fs\n\n## Usage\n\nTo use simply require it and use it as you would fs\n\n``` js\nvar fs = require('browserify-fs');\n\nfs.mkdir('/home', function() {\n\tfs.writeFile('/home/hello-world.txt', 'Hello world!\\n', function() {\n\t\tfs.readFile('/home/hello-world.txt', 'utf-8', function(err, data) {\n\t\t\tconsole.log(data);\n\t\t});\n\t});\n});\n```\n\nYou can also make browserify replace `require('fs')` with browserify-fs using\n\n\tbrowserify -r fs:browserify-fs\n\nUsing the replacement you browserify modules like [tar-fs](https://github.com/mafintosh/tar-fs) and [mkdirp](https://github.com/substack/node-mkdirp)!\n\nCheckout [level-filesystem](https://github.com/mafintosh/level-filesystem) to see which browsers are supported\n\n## License\n\nMIT","users":{}}