Skip to content

mybigday/native-universal-fs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

native-universal-fs

A universal file system for React Native or Expo.

Will auto select the native module which is available.

Installation

npm install native-universal-fs

Usage

Use module like react-native-fs.

import fs from 'native-universal-fs';

fs.readFile('path/to/file.txt', 'utf8').then((data) => {
  console.log(data);
});

Supported

  • expo-file-system (NOTE: appendFile and write are not supported)
  • @dr.pogodin/react-native-fs
  • react-native-fs

License

MIT


Built and maintained by BRICKS.

About

Unified FS interface for React Native or Expo

Resources

Stars

Watchers

Forks

Packages

No packages published