Universal FS interface for React Native or Expo
npm install native-universal-fsnative-universal-fs
===
A universal file system for React Native or Expo.
Will auto select the native module which is available.
``bash`
npm install native-universal-fs
Use module like react-native-fs.
`js
import fs from 'native-universal-fs';
fs.readFile('path/to/file.txt', 'utf8').then((data) => {
console.log(data);
});
`
- [x] expo-file-system (NOTE: appendFile and write are not supported)@dr.pogodin/react-native-fs
- [x] react-native-fs`
- [x]
MIT
---
Built and maintained by BRICKS.