WIP - add extractor, generate snippet_data
This commit is contained in:
8
node_modules/is-alphanumeric/index.js
generated
vendored
Normal file
8
node_modules/is-alphanumeric/index.js
generated
vendored
Normal file
@ -0,0 +1,8 @@
|
||||
'use strict';
|
||||
module.exports = function (str) {
|
||||
if (typeof str !== 'string') {
|
||||
throw new TypeError('Expected a string');
|
||||
}
|
||||
|
||||
return !/[^0-9a-z\xDF-\xFF]/.test(str.toLowerCase());
|
||||
};
|
||||
Reference in New Issue
Block a user