This commit is contained in:
11
node_modules/remark-parse/lib/util/normalize.js
generated
vendored
Normal file
11
node_modules/remark-parse/lib/util/normalize.js
generated
vendored
Normal file
@@ -0,0 +1,11 @@
|
||||
'use strict'
|
||||
|
||||
var collapseWhiteSpace = require('collapse-white-space')
|
||||
|
||||
module.exports = normalize
|
||||
|
||||
// Normalize an identifier. Collapses multiple white space characters into a
|
||||
// single space, and removes casing.
|
||||
function normalize(value) {
|
||||
return collapseWhiteSpace(value).toLowerCase()
|
||||
}
|
||||
Reference in New Issue
Block a user