first commit

This commit is contained in:
rayd1o committed 2026-03-05 11:46:58 +08:00
commit e7033775d8
20657 files changed
+1988940

No files matched your search

+9
View File
@@ -0,0 +1,9 @@
var hyphen2camel = function (str) {
return str
.toLowerCase()
.replace(/-[a-z]/g, function (match) {
return match.slice(1).toUpperCase() ;
});
};
module.exports = hyphen2camel;