Skip to content

Latest commit

 

History

History
71 lines (49 loc) · 1.4 KB

README.md

File metadata and controls

71 lines (49 loc) · 1.4 KB

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.