ultradns-node

1.0.2 • Public • Published

ultradns-node

A Node.js client for interacting with the UltraDNS API.

Installation

npm install ultradns-node

Usage

First, import the module:

const UltraApi = require('ultradns-node');

Then, create a new instance with your username and password:

const client = await UltraApi.connect('your-username', 'your-password');

You can then use the client to make requests to the UltraDNS API.

Making GET Requests

client.get('/path/to/resource').then(response => {
    console.log(response);
});

Debug Mode

To enable debug mode and get more detailed logs:

client.toggleDebug();

Setting a Custom User Agent

client.setUserAgent('Your Custom User Agent String');

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

License

MIT

Readme

Keywords

Package Sidebar

Install

npm i ultradns-node

Weekly Downloads

3

Version

1.0.2

License

MIT

Unpacked Size

15.9 kB

Total Files

11

Last publish

Collaborators

  • sbarbett