art-rest-client
Promise-based rest-client library. Makes HTTP/HTTPS easy in both NODE and BROWSER.
Last updated 3 months ago by shanebdavis .
ISC · Original npm · Tarball · package.json
$ cnpm install art-rest-client 
SYNC missed versions from official npm registry.

ArtRestClient Build Status

Promise-based rest-client javascript library. Makes HTTP/HTTPS easy.

Works both in browser and NodeJs.

Features

  • promise based
  • streamlined JSON requests
  • streamlined binary support
  • CORS friendly

Install

npm install art-rest-client

Example

RestClient = require './art-rest-client'

RestClient.getJson "http://somewhere.com/users/123"
.then ({username, email}) ->
  RestClient.putJson "http://somewhere.com/users/123",
    username: "Mr New #{username}"

Current Tags

  • 1.7.0                                ...           latest (3 months ago)

8 Versions

  • 1.7.0                                ...           3 months ago
  • 1.6.8                                ...           a year ago
  • 1.6.7                                ...           a year ago
  • 1.6.5                                ...           2 years ago
  • 1.4.1                                ...           3 years ago
  • 1.1.1                                ...           3 years ago
  • 1.1.0                                ...           3 years ago
  • 1.0.0                                ...           3 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 5
Last Day 0
Last Week 1
Last Month 6
Dependencies (3)
Dev Dependencies (0)
None
Dependents (2)

Copyright 2014 - 2017 © taobao.org |