install npm

This commit is contained in:
2019-01-29 19:33:51 +01:00
parent b9a54b97a7
commit 5eedee288e
8785 changed files with 817030 additions and 0 deletions
+10
View File
@@ -0,0 +1,10 @@
'use strict';
var regex = require('unc-path-regex')();
module.exports = function(filepath) {
if (typeof filepath !== 'string') {
throw new TypeError('expected a string');
}
return regex.test(filepath);
};