{"_id":"@ashfaqmehmood/react-native-level-fs","name":"@ashfaqmehmood/react-native-level-fs","dist-tags":{"latest":"3.0.2"},"versions":{"3.0.2":{"name":"@ashfaqmehmood/react-native-level-fs","version":"3.0.2","description":"fs for react-native using level-filesystem and asyncstorage-down","repository":{"type":"git","url":"git+https://github.com/ashfaqmehmood/react-native-level-fs.git"},"keywords":["react-component","react-native","iOS","fs","level","filesystem"],"dependencies":{"level-filesystem":"^1.0.1","levelup":"^5.1.1"},"peerDependencies":{"asyncstorage-down":">=3.0.0 <5.0.0"},"bugs":{"url":"https://github.com/ashfaqmehmood/react-native-level-fs/issues"},"homepage":"https://github.com/ashfaqmehmood/react-native-level-fs#readme","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"author":"","license":"ISC","_id":"@ashfaqmehmood/react-native-level-fs@3.0.2","gitHead":"277692185f009d8dc469d51599cd502ecfca9b9e","_nodeVersion":"20.9.0","_npmVersion":"9.8.1","dist":{"integrity":"sha512-0BOspVOy813I9rEJ/u0ahfFqYFQVB/6/1yDTbe42GeBLwT9RETrPors8PX4NJBVv/7fLCkcjQkTwnkhVkqoFNQ==","shasum":"b1d0b99094ce294ce25161df2a580b86e9dcf157","tarball":"https://registry.npmjs.org/@ashfaqmehmood/react-native-level-fs/-/react-native-level-fs-3.0.2.tgz","fileCount":5,"unpackedSize":3190,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCID+qgP1r1ibxDEf/Hv2VdfMbOpGzmYICivs1KUiAq00NAiEAqRHNd2P1cjaYFPIzBO43ILgZhsL0DoNLJZ0O4a2ja8s="}]},"_npmUser":{"name":"ashfaqmehmood","email":"ashfaqmehmood.01@gmail.com"},"directories":{},"maintainers":[{"name":"ashfaqmehmood","email":"ashfaqmehmood.01@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-native-level-fs_3.0.2_1698573002754_0.3955716815206629"},"_hasShrinkwrap":false}},"time":{"created":"2023-10-29T09:50:02.665Z","3.0.2":"2023-10-29T09:50:02.977Z","modified":"2023-10-29T09:50:03.307Z"},"maintainers":[{"name":"ashfaqmehmood","email":"ashfaqmehmood.01@gmail.com"}],"description":"fs for react-native using level-filesystem and asyncstorage-down","homepage":"https://github.com/ashfaqmehmood/react-native-level-fs#readme","keywords":["react-component","react-native","iOS","fs","level","filesystem"],"repository":{"type":"git","url":"git+https://github.com/ashfaqmehmood/react-native-level-fs.git"},"bugs":{"url":"https://github.com/ashfaqmehmood/react-native-level-fs/issues"},"license":"ISC","readme":"# react-native-level-fs\r\n\r\n[fs](http://nodejs.org/api/fs.html) in react-native using [level-filesystem](https://github.com/mafintosh/level-filesystem) and [asyncstorage-down](https://github.com/tradle/asyncstorage-down)\r\n\r\n\tnpm install react-native-level-fs\r\n\r\n## Usage\r\n\r\nTo use simply require it and use it as you would fs\r\n\r\n(package.json)\r\n\r\n```json\r\n{\r\n    ...\r\n    \"browser\": {\r\n       \"fs\": \"react-native-level-fs\" \r\n    }\r\n    ...\r\n}\r\n```\r\n\r\n``` js\r\nvar fs = require('fs');\r\n\r\nfs.mkdir('/home', function() {\r\n\tfs.writeFile('/home/hello-world.txt', 'Hello world!\\n', function() {\r\n\t\tfs.readFile('/home/hello-world.txt', 'utf-8', function(err, data) {\r\n\t\t\tconsole.log(data);\r\n\t\t});\r\n\t});\r\n});\r\n```\r\n\r\n## License\r\n\r\nMIT\r\n","readmeFilename":"README.md"}