json
Script
v1
Fork
1
2
3
4
5
import
{
fetch
}
from
"https://esm.town/v/std/fetch"
;
export
async
function
json
(
url
:
string
)
:
Promise
<
any
>
{
return
await
(
await
fetch
(
url
)
)
.
json
(
)
;
}