0.1.1 • Published 4 years ago

react-native-readdirp v0.1.1

Weekly downloads
2
License
MIT
Repository
github
Last release
4 years ago

react-native-readdirp

Recursive, React Native version of fs.readdirp.

Installation

react-native-fs is a peer dependency, you'll have to install that first! After that, no more setup is needed than just installing the package:

npm install react-native-readdirp

Usage

import fs from 'react-native-fs';
import readdirp from 'react-native-readdirp';

const uri = fs.ExternalStorageDirectoryPath;

readdirp(uri).forEach(file => {
  console.log(file.path);
});

Contributing

See the contributing guide to learn how to contribute to the repository and the development workflow.

License

MIT