1.10.0 • Published 6 months ago

art-rest-client v1.10.0

Weekly downloads
819
License
ISC
Repository
github
Last release
6 months ago

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}"

Info

uses XMLHttpRequest2:

Future?

The new-new is 'fetch' - seems to be getting decent support

1.10.0

6 months ago

1.9.3

2 years ago

1.9.2

3 years ago

1.9.1

3 years ago

1.9.0

3 years ago

1.8.11

3 years ago

1.8.9

4 years ago

1.8.10

4 years ago

1.8.8

4 years ago

1.8.7

4 years ago

1.8.5

4 years ago

1.8.4

4 years ago

1.8.3

4 years ago

1.8.2

4 years ago

1.8.1

4 years ago

1.8.0

4 years ago

1.7.0

4 years ago

1.6.8

5 years ago

1.6.7

5 years ago

1.6.5

6 years ago

1.4.1

7 years ago

1.1.1

7 years ago

1.1.0

7 years ago

1.0.0

7 years ago