0.9.3 • Published 7 years ago

json-client v0.9.3

Weekly downloads
1,306
License
MIT
Repository
github
Last release
7 years ago

json client

Simple library for requesting data from JSON APIs.

Returns promises only. Standard callbacks are not supported.

const jsonClient = require('json-client');
const client = jsonClient('https://api.example.com/v1');

await client('get', 'users/123');

Installation

$ npm install json-client

Notes

json client uses fetch to make requests internally. It does this via the fetch-everywhere package.

In theory, fetch-everywhere should support all environments. If yours isn't yet covered, please open an issue on the repo.

Support

Please open an issue on this repository.

Authors

License

MIT licensed - see LICENSE file

0.9.3

7 years ago

0.9.2

7 years ago

0.9.1

7 years ago

0.9.0

7 years ago

0.8.5

7 years ago

0.8.4

9 years ago

0.8.3

9 years ago

0.8.2

9 years ago

0.8.1

9 years ago

0.8.0

9 years ago

0.7.0

9 years ago

0.6.0

9 years ago

0.5.4

10 years ago

0.5.3

10 years ago

0.5.2

10 years ago

0.5.1

10 years ago

0.4.7

10 years ago

0.5.0

10 years ago

0.4.6

10 years ago

0.4.5

10 years ago

0.4.4

10 years ago

0.4.3

10 years ago

0.4.2

10 years ago

0.4.1

10 years ago

0.4.0

10 years ago

0.3.0

10 years ago

0.2.4

10 years ago

0.2.3

10 years ago

0.2.2

10 years ago

0.2.1

10 years ago

0.2.0

10 years ago

0.1.5

10 years ago

0.1.4

10 years ago

0.1.3

10 years ago

0.1.2

10 years ago

0.1.1

10 years ago

0.1.0

10 years ago