httprequest
TypeScript icon, indicating that this package has built-in type declarations

0.3.0 • Public • Published

httprequest

latest version published to npm

XMLHttpRequest wrapper.

npm install httprequest

Example

import {Request} from 'httprequest'
 
new Request('POST', '/api/reservations')
.sendData({venue_id: 100}, (err, response) => {
  if (err) throw err
  console.log('got response', res)
})

License

Copyright 2015–2018 Christopher Brown. MIT Licensed.

Dependencies (0)

    Dev Dependencies (1)

    Package Sidebar

    Install

    npm i httprequest

    Weekly Downloads

    12

    Version

    0.3.0

    License

    MIT

    Unpacked Size

    6.22 kB

    Total Files

    4

    Last publish

    Collaborators

    • chbrown