aseemk / requireDir

Node.js helper to require() directories.
MIT License
484 stars 60 forks source link

ignore option #25

Closed TheoryOfNekomata closed 6 years ago

TheoryOfNekomata commented 8 years ago

Possibly a combination of #14 and #5, but instead uses globs/regexp for the extra ignore option.

bondden commented 8 years ago

@Temoto-kun, there's a solution in pull request: https://github.com/aseemk/requireDir/pull/31 (there's also README update with help there)

yocontra commented 6 years ago

done, will be published in next npm release - its a generic filter function so you can use glob matching or regex or whatever you want