UNPKG
coffee-fmt
Version:
latest (0.12.0)
0.12.0
0.11.0
0.10.2
0.10.1
0.10.0
0.7.0
0.6.3
0.6.2
0.6.1
0.6.0
0.5.2
0.5.1
0.5.0
0.4.2
0.4.1
0.4.0
0.2.0
0.1.4
0.1.3
0.1.2
0.1.0
a `gofmt` inspired Coffeescript formatter/beautifier.
github.com/sterpe/coffee-fmt
sterpe/coffee-fmt
coffee-fmt
/
test
/
foo.coffee
11 lines
(8 loc)
•
209 B
text/coffeescript
View Raw
1
2
3
4
5
6
7
8
9
10
11
hello derek how is it going?
for
c
, i
in
"Hello World!"
k =
1
+
1
-
2
>=
3
<=
4
>
5
<
6
for
c
, i
in
"Hello World"
k = (a,b)
->
if
b? then
return
a f =
b
()[
0
]
for
c
, i
in
"Hello World"
f
(
b
())