Module: helper-content-type

Helper module - Helper functions for the main module whatwg-xhr.
Version:
  • 1.0.0
Author:
  • Essam A. El-Sherif
Source:

Methods

(static) format(obj) → {string}

Format object to media type.
Parameters:
Name Type Description
obj object
Source:
Returns:
Type
string

(static) parse(string) → {object}

Parse media type to object.
Parameters:
Name Type Description
string string | object
Source:
Returns:
Type
object

A Node.js implementation of the WHATWG XMLHttpRequest Living Standard for non-browser environments.