JSPM

  • Created
  • Published
  • Downloads 1939930
  • Score
    100M100P100Q229409F

small xhr abstraction

Package Exports

  • xhr

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (xhr) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

xhr

A small xhr wrapper

Example

var xhr = require("xhr")

xhr({
    method: "GET",
    data: someJSON,
    uri: "/foo",
    headers: {
        "Content-Type": "application/json"
    }
})

MIT Licenced