An open API service indexing awesome lists of open source software.

https://github.com/droidxrx/get-files-paths


https://github.com/droidxrx/get-files-paths

Last synced: about 2 months ago
JSON representation

Awesome Lists containing this project

README

        

# GET-FILES-PATHS

This get all files and path (`synchronous`)

### Install

```bash
npm install get-files-paths
yarn add get-files-paths
```

### Usage

```javascript
// CommonJS
const getall = require('get-files-paths');
// ESModule
import getall from 'get-files-paths';

const result = getall(['./', '../server'], '**/node_moules');

console.log(result.all());
console.log(result.onlyFiles());
console.log(result.onlyPaths());
```

# LICENSE

[MIT](LICENSE)