UNPKG
alks
Version:
latest (3.24.7)
3.24.7
3.24.6
3.24.5
3.24.3
3.24.2
3.24.1
3.24.0
3.22.1
3.22.0
3.21.2
3.21.1
3.21.0
3.20.2
3.20.1
3.20.0
3.19.1
3.19.0
3.18.0
3.17.1
3.17.0
3.16.0
3.15.0
3.14.0
3.13.1
3.13.0
3.12.2
3.12.1
3.12.0
3.11.1
3.11.0
3.10.0
3.9.2
3.9.1
3.9.0
3.8.0
3.7.4
3.7.3
3.7.2
3.7.1
3.7.0
3.6.0
3.5.1
3.5.0
3.4.1
3.4.0
3.3.0
3.2.6
3.2.5
3.2.4
3.2.3
3.2.2
3.2.1
3.2.0
3.1.4
3.1.3
3.1.2
3.1.1
3.1.0
3.0.12
3.0.11
3.0.10
3.0.9
3.0.8
3.0.7
3.0.6
3.0.5
3.0.4
3.0.3
3.0.2
3.0.1
3.0.0
2.17.0
2.16.0
2.15.3
2.15.2
2.15.1
2.15.0
2.14.0
2.13.0
2.11.1
2.11.0
2.10.2
2.10.1
2.10.0
2.9.0
2.8.2
2.8.1
2.8.0
2.7.2
2.7.1
2.7.0
2.6.1
2.6.0
2.5.0
2.4.0
2.3.0
2.1.1
2.1.0
2.0.1
2.0.0
1.5.1
1.5.0
1.4.0
1.3.2
1.3.1
1.3.0
1.2.1
1.2.0
1.1.0
1.0.3
1.0.2
1.0.1
1.0.0
0.4.10
0.4.9
0.4.8
0.4.7
0.4.6
0.4.5
0.4.4
0.4.3
0.4.2
0.4.0
0.3.0
0.2.0
0.1.1
0.1.0
0.0.5
0.0.4
0.0.3
0.0.2
0.0.1
CLI for working with ALKS
github.com/Cox-Automotive/ALKS-CLI
Cox-Automotive/ALKS-CLI
alks
/
src
/
lib
/
trim.ts
9 lines
(7 loc)
•
148 B
text/typescript
View Raw
1
2
3
4
5
6
7
8
9
import
{ isEmpty }
from
'underscore'
;
export
function
trim
(
str: string
) {
if
(
isEmpty
(str)) {
return
str; }
return
String
(str).
trim
(); }