projects
/
dotfiles
/
.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
.gitignore added
[dotfiles/.git]
/
.config
/
coc
/
extensions
/
node_modules
/
coc-prettier
/
node_modules
/
is-alphanumeric
/
index.js
1
'use strict';
2
module.exports = function (str) {
3
if (typeof str !== 'string') {
4
throw new TypeError('Expected a string');
5
}
6
7
return !/[^0-9a-z\xDF-\xFF]/.test(str.toLowerCase());
8
};