1.0.2 • Published 6 years ago

sfr-file-autoscan v1.0.2

Weekly downloads
-
License
MIT
Repository
github
Last release
6 years ago

Simple, Fast, Reliable(SFR)

sfr-file-autoscan

scan and count files based on file names. file names can use regular expressions

npm i sfr-file-autoscan

Usage

Returns an array of file names @path path, default __dirname @regex file name mast be regex, default * all of the files

const path = require('path');
const fileAutoscan = require('sfr-file-autoscan');
const fa = new fileAutoscan({
    path: path.join(__dirname, 'router'),
    regex: /\w+\.router\.js$/
});
fa.get();

Copyright (C) 2019 Jkin.feng. Licensed MIT. For more details, please see LICENSE.

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago

0.0.5

7 years ago

0.0.3

7 years ago

0.0.2

7 years ago

0.0.1

7 years ago