Closed Robbert closed 8 years ago
Stuff like:
node_modules
I've worked on a nih-filename module that performs similar checks, maybe use that one.
nih-filename
In the meantime we can use the npm module sanitize-filename and check wether sanitize(filename) !== filename.
sanitize-filename
sanitize(filename) !== filename
Added a Gulp task that uses the sanitize function, and added check for the filename length.
sanitize
Stuff like:
node_modules
I've worked on a
nih-filename
module that performs similar checks, maybe use that one.