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

Let use file with no extension

Open Elindorath opened this issue 7 years ago • 0 comments

As this package is used by yargs in the .commandDir() function (there) , I'd like to be able to require js files with no extension. Since it doesn't necessarily reflect the file type, I think it would be a good proposal to allow that.

Elindorath avatar May 26 '18 00:05 Elindorath