1.0.3 • Published 11 months ago

nodejs-dna v1.0.3

Weekly downloads
-
License
ISC
Repository
-
Last release
11 months ago

Domainnameapi Node.js Module

Welcome to the Domainnameapi Node.js module! This library allows you to interact seamlessly with the Domainnameapi service, providing a simple and efficient way to manage your domain-related tasks.

Installation

To install the module, run:

npm install nodejs-dna

Usage

Importing the Module

First, import the module into your project:

const DomainNameAPI = require('./index');

// Create an instance of your API class
const api = new DomainNameAPI('user', 'pass');

Example Functions

Here are some examples of how to use the module:

Get Reseller Details

api.GetResellerDetails().then((res) => {
  console.log(res);
});

Get Domain List

api.GetList().then((res) => {
  console.log(res);
});

Sync from Registry

api.SyncFromRegistry().then((res) => {
  console.log(res);
});

Modify Privacy Protection Status

api.ModifyPrivacyProtectionStatus('test.site', 1).then((res) => {
  console.log(res);
});

Features

  • Fully Functional: All API functions are operational.
  • Performance-Oriented: Optimized for speed and efficiency.
  • Asynchronous Support: Built to handle asynchronous operations effectively.

Contribution

Feel free to contribute by submitting issues or pull requests.

License

This project is licensed under the MIT License.

1.0.3

11 months ago

1.0.0

11 months ago