https://github.com/vultr/vultr-node
Vultr Node API client
https://github.com/vultr/vultr-node
vultr vultr-api vultr-javascript vultr-js vultr-node
Last synced: 25 days ago
JSON representation
Vultr Node API client
- Host: GitHub
- URL: https://github.com/vultr/vultr-node
- Owner: vultr
- License: mit
- Created: 2019-05-30T13:31:24.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2024-04-19T17:32:47.000Z (about 1 year ago)
- Last Synced: 2025-05-07T17:15:15.311Z (25 days ago)
- Topics: vultr, vultr-api, vultr-javascript, vultr-js, vultr-node
- Language: JavaScript
- Homepage:
- Size: 3.83 MB
- Stars: 86
- Watchers: 4
- Forks: 31
- Open Issues: 14
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE.md
Awesome Lists containing this project
README
[](https://github.com/vultr/vultr-node/actions/workflows/release.yml)
[](https://github.com/vultr/vultr-node/actions/workflows/coverage.yml)
[](https://badge.fury.io/js/%40vultr%2Fvultr-node)
[](https://github.com/vultr/vultr-node/blob/master/LICENSE.md)# vultr-node
Official Vultr client node module.
## Installation
```sh
npm install @vultr/vultr-node
```## Usage
Vultr uses a PAT (Personal Access Token) to interact/authenticate with the APIs. An API Key can be generated and acquired from the API menu in [settings](https://my.vultr.com/settings/#settingsapi).
### Initialize
```js
const VultrNode = require('@vultr/vultr-node')// Initialize the instance with your configuration
const vultr = VultrNode.initialize({
apiKey: 'your-api-key-here',
baseUrl: 'https://example.com', // Optional
rateLimit: 600 // Optional
})
```### Calling Endpoints
```js
// Call endpoints using Promises
vultr.account.getAccountInfo().then((response) => {
console.log(response)
})
```## Versioning
This project follows [SemVer](https://semver.org/) for versioning. For the versions available, [see the tags on this repository](https://github.com/vultr/vultr-node/releases)
## Documentation
This implements Vultr API V2. For documentation on all endpoints, please visit https://www.vultr.com/api/. To use Vultr API V1, please use the version of the library on the [V1 branch](https://github.com/vultr/vultr-node/tree/v1), or any version of this library before 2.0.0.
For documentation specific to this client please visit https://vultr.github.io/vultr-node
## Contributing
Feel free to send pull requests our way! Please see the [contributing guidelines](CONTRIBUTING.md).
## License
This project is licensed under the MIT License - see the [LICENSE](LICENSE.md) file for details.
## Authors
- [**Spencer Kordecki**](https://github.com/spencerkordecki)
- [**Fady Farid**](https://github.com/afady)
- [**Glenn Dobson**](https://github.com/afatalerrror)