Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
@skava/request / src / deps / fromHeadersToSerialized.ts
Size: Mime:
/**
 * @todo @see https://developer.apple.com/documentation/swift/codable
 */
export function fromHeadersToSerialized(headers: Headers) {
  const headersObj = {}
  headers.forEach((value: string | any, key: string) => {
    headersObj[key] = value
  })
  return headersObj
}