react-native-readdirp
TypeScript icon, indicating that this package has built-in type declarations

0.1.1 • Public • Published

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

Package Sidebar

Install

npm i react-native-readdirp

Weekly Downloads

4

Version

0.1.1

License

MIT

Unpacked Size

14.7 kB

Total Files

9

Last publish

Collaborators

  • trusted.tomato