fetchHeaders2
Script
v1
Fork
1
2
3
4
5
import
{
fetch
}
from
"https://esm.town/v/std/fetch"
;
export
let
fetchHeaders2
=
Object
.
fromEntries
(
(
await
fetch
(
"https://swapi.dev/api/people/1/"
)
)
.
headers
)
;