0.9.3 • Published 6 years ago

json-client v0.9.3

Weekly downloads
1,306
License
MIT
Repository
github
Last release
6 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

6 years ago

0.9.2

6 years ago

0.9.1

6 years ago

0.9.0

6 years ago

0.8.5

6 years ago

0.8.4

8 years ago

0.8.3

8 years ago

0.8.2

8 years ago

0.8.1

8 years ago

0.8.0

8 years ago

0.7.0

8 years ago

0.6.0

8 years ago

0.5.4

8 years ago

0.5.3

8 years ago

0.5.2

8 years ago

0.5.1

8 years ago

0.4.7

8 years ago

0.5.0

8 years ago

0.4.6

9 years ago

0.4.5

9 years ago

0.4.4

9 years ago

0.4.3

9 years ago

0.4.2

9 years ago

0.4.1

9 years ago

0.4.0

9 years ago

0.3.0

9 years ago

0.2.4

9 years ago

0.2.3

9 years ago

0.2.2

9 years ago

0.2.1

9 years ago

0.2.0

9 years ago

0.1.5

9 years ago

0.1.4

9 years ago

0.1.3

9 years ago

0.1.2

9 years ago

0.1.1

9 years ago

0.1.0

9 years ago