2.0.2 • Published 4 months ago

search-file-collection v2.0.2

Weekly downloads
-
License
MIT
Repository
-
Last release
4 months ago

Traverse the collection of file names conforming to regular expressions in the specified directory

Install

Install with npm:

npm i search-file-collection

Example

const {find} = require('search-file-collection');

const fileList = find();

console.log(fileList);
const {find} = require('search-file-collection');

const fileList = find({
    path: 'file path',
    regexp: /filename rules/
});

console.log(fileList);

License

Licensed under MIT.

2.0.2

4 months ago

2.0.1

4 months ago

2.0.0

4 months ago

1.0.3

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago