UNPKG

foxts

Version:

Opinionated collection of common TypeScript utils by @SukkaW

2 lines (1 loc) 111 B
function e(e){let r={};return null==e||new Headers(e).forEach((e,n)=>{r[n]=e}),r}export{e as headersToObject};