1.7.1 • Published 4 months ago
@vonage/vetch v1.7.1
Vonage Vetch SDK for Node.js
This is the Vonage Vetch
er SDK for Node.js used to wrap a request using node-fetch
to call Vonage APIs. To use it you will need a Vonage account. Sign up for free at vonage.com.
For full API documentation refer to developer.vonage.com.
Installation
With NPM
npm install @vonage/vetch
With Yarn
yarn add @vonage/vetch
Using the Vonage Vetch SDK
Vetch will return a VetchResponse
const { request } = require('@vonage/vetch');
const response = await request({
url: 'https://rest.nexmo.com/account/numbers'
})
console.log(response.data);
// Will output the json data from the API response
Options
options
are a superset from the request package. See VetchOptions
for more detail
Testing
Run:
npm run test
1.7.1
4 months ago
1.7.0
4 months ago
1.6.0
7 months ago
1.5.1
8 months ago
1.5.0
9 months ago
1.4.0
11 months ago
1.2.0
1 year ago
1.1.1
1 year ago
1.1.0
1 year ago
1.3.0
1 year ago
1.1.2
1 year ago
1.0.11
1 year ago
1.0.12
1 year ago
1.0.2
1 year ago
1.0.1
1 year ago
1.0.0
1 year ago
1.0.8
1 year ago
1.0.7
1 year ago
1.0.6
1 year ago
1.0.5
1 year ago
1.0.4
1 year ago
1.0.3
1 year ago
1.0.10
1 year ago
0.3.0
2 years ago
0.2.0
2 years ago
0.3.1
2 years ago
0.1.0
2 years ago
3.0.0-beta.4
2 years ago
3.0.0-beta.3
3 years ago
3.0.0-beta.1
3 years ago
3.0.0-beta.0
3 years ago