httpinkie

0.1.0 • Public • Published

httpinkie Build Status

HTTP as a Promise

Install

$ npm install --save httpinkie

Usage

var http = require('httpinkie');
 
http.request({host: 'google.com'})
    .then(console.log);

HTTP

request(req)

req

Required
Type: Object

HTTP request object with additional fields:

  • timeout
  • body

License

MIT © Vsevolod Strukchinsky

Package Sidebar

Install

npm i httpinkie

Weekly Downloads

0

Version

0.1.0

License

MIT

Last publish

Collaborators

  • floatdrop