Adding application and DockerImage

هذا الالتزام موجود في:
2026-07-29 02:33:01 +03:00
الأصل 3e2e01add3
التزام 2c6df58cef
624 ملفات معدلة مع 68945 إضافات و0 حذوفات

32
q1-deploy-monitor/node_modules/toidentifier/index.js مولّد مباع Normal file
عرض الملف

@@ -0,0 +1,32 @@
/*!
* 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, '')
}