first commit

This commit is contained in:
pakerpale
2020-06-10 06:11:17 +09:00
commit cf4b72a5f1
473 changed files with 66229 additions and 0 deletions

30
node_modules/toidentifier/index.js generated vendored Executable file
View File

@@ -0,0 +1,30 @@
/*!
* toidentifier
* Copyright(c) 2016 Douglas Christopher Wilson
* MIT Licensed
*/
/**
* 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, '')
}