JSPM

httpplease-promises

0.1.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 262
  • Score
    100M100P100Q81003F
  • License MIT

A plugin that adds promise support to httpplease

Package Exports

  • httpplease-promises

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 (httpplease-promises) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

httpplease-promises

A plugin that adds promise support to httpplease.

Usage

var httpplease = require('httpplease'),
    promises = require('httpplease-promises'),
    http = httpplease.use(promises);

http
    .get('http://example.com')
    .then(function (res) {
        console.log(res.body); // or whatever.
    });