download
raw
222 Bytes
'use strict'
module.exports = function toCamelCase (name) {
if (name[0] === '@') {
name = name.slice(1).replace('/', '-')
}
return name.replace(/-(.)/g, function (match, g1) {
return g1.toUpperCase()
})
}

Xet Storage Details

Size:
222 Bytes
·
Xet hash:
c776f647ef4b52cf11952ee2edb134cc20607211e0d37f0f84f4d8e333604365

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.