☰
Debian Codegraph
@
0.10.64+dfsg1+~1.1.0-2
/
/
string
/
#
/
hyphen-to-camel.js
☽
☼
string/#/hyphen-to-camel.js
code
plain
raw
symbols
SCIP
Expat
2011-2020 Mariusz Nowak <
[email protected]
> (https://www.medikoo.com/)
debian/copyright
1
"use strict"
;
2
3
var
replace =
String
.
prototype
.
replace
, re =
/-([a-z0-9])/g
;
4
var
toUpperCase
=
function
(ignored, a) {
return
a.
toUpperCase
(); };
5
6
module.
exports
=
function
() {
return
replace.
call
(this, re, toUpperCase); };