UNPKG

foxts

Version:

Opinionated collection of common TypeScript utils by @SukkaW

1 lines 146 B
"use strict";exports.headersToObject=function(e){return e instanceof Headers?Object.fromEntries(e):null==e?{}:Object.fromEntries(new Headers(e))};