node-require-directory icon indicating copy to clipboard operation
node-require-directory copied to clipboard

include/exclude additional argument - basename of path

Open arieljake opened this issue 10 years ago • 0 comments

proposal is to pass path and basename as such:

check = function(filepath, filename) {
...
}
// where filename = require("path").basename(filepath)

module.exports = requireDirectory module, exclude: check

arieljake avatar Feb 25 '16 04:02 arieljake