Socket
Socket
Sign inDemoInstall

react-native-level-fs

Package Overview
Dependencies
41
Maintainers
3
Versions
8
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    react-native-level-fs

fs for react-native using level-filesystem and asyncstorage-down


Version published
Weekly downloads
6.9K
decreased by-3.61%
Maintainers
3
Install size
1.34 MB
Created
Weekly downloads
 

Readme

Source

react-native-level-fs

fs in react-native using level-filesystem and asyncstorage-down

npm install react-native-level-fs

Usage

To use simply require it and use it as you would fs

(package.json)

{
    ...
    "browser": {
       "fs": "react-native-level-fs" 
    }
    ...
}
var fs = require('fs');

fs.mkdir('/home', function() {
	fs.writeFile('/home/hello-world.txt', 'Hello world!\n', function() {
		fs.readFile('/home/hello-world.txt', 'utf-8', function(err, data) {
			console.log(data);
		});
	});
});

License

MIT

Keywords

FAQs

Last updated on 20 Apr 2018

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc