UNPKG
@chix/flow
Version:
latest (2.9.14)
2.9.14
2.9.13
2.9.8
2.9.7
2.9.3
2.9.2
2.9.0
2.8.0
2.7.9
2.7.8
2.7.6
2.7.5
2.7.4
2.7.3
2.7.1
2.7.0
2.4.4
2.4.3
2.4.2
2.4.1
2.4.0
2.3.0
2.2.1
2.2.0
2.1.1
1.16.3
1.16.1
1.16.0
1.15.4
1.15.3
1.15.2
1.15.1
1.15.0
1.3.7
1.3.6
1.3.5
1.3.4
1.3.3
1.3.2
1.3.1
1.3.0
Chiχ Flow
github.com/chixio/chix/packages/chix-flow
chixio/chix
@chix/flow
/
lib
/
compile
/
fix.js
10 lines
•
277 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
"use strict"
;
Object
.
defineProperty
(
exports
,
"__esModule"
, {
value
:
true
});
var
namify =
require
(
"namify"
);
function
fix
(
str
) { str =
namify
(str); str =
isNaN
(
parseInt
(str[
0
],
10
)) ? str :
'_'
+ str;
return
str; }
exports
.
fix
= fix;
//# sourceMappingURL=fix.js.map