1.8.0 • Published 12 months ago
@vonage/vetch v1.8.0
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.8.0
12 months ago
1.7.2
12 months ago
1.7.1
1 year ago
1.7.0
2 years ago
1.6.0
2 years ago
1.5.1
2 years ago
1.5.0
2 years ago
1.4.0
2 years ago
1.2.0
2 years ago
1.1.1
2 years ago
1.1.0
2 years ago
1.3.0
2 years ago
1.1.2
2 years ago
1.0.11
2 years ago
1.0.12
2 years ago
1.0.2
3 years ago
1.0.1
3 years ago
1.0.0
3 years ago
1.0.8
3 years ago
1.0.7
3 years ago
1.0.6
3 years ago
1.0.5
3 years ago
1.0.4
3 years ago
1.0.3
3 years ago
1.0.10
3 years ago
0.3.0
3 years ago
0.2.0
3 years ago
0.3.1
3 years ago
0.1.0
3 years ago
3.0.0-beta.4
3 years ago
3.0.0-beta.3
4 years ago
3.0.0-beta.1
4 years ago
3.0.0-beta.0
4 years ago