update node_modules

This commit is contained in:
bitkarrot
2022-03-21 00:06:21 -07:00
parent a725bca03a
commit c6038ac85d
1156 changed files with 0 additions and 207393 deletions

32
node_modules/toidentifier/index.js generated vendored
View File

@@ -1,32 +0,0 @@
/*!
* toidentifier
* Copyright(c) 2016 Douglas Christopher Wilson
* MIT Licensed
*/
'use strict'
/**
* Module exports.
* @public
*/
module.exports = toIdentifier
/**
* Trasform the given string into a JavaScript identifier
*
* @param {string} str
* @returns {string}
* @public
*/
function toIdentifier (str) {
return str
.split(' ')
.map(function (token) {
return token.slice(0, 1).toUpperCase() + token.slice(1)
})
.join('')
.replace(/[^ _0-9a-z]/gi, '')
}