@nexys/namecheap
v0.0.7
Published
[![npm version](https://img.shields.io/npm/v/@nexys/namecheap.svg)](https://www.npmjs.com/package/@nexys/namecheap) [![Build and Test Package](https://github.com/nexys-system/namecheap-sdk/actions/workflows/test.yml/badge.svg)](https://github.com/nexys-sy
Downloads
6
Readme
Namecheap SDK
Get Started
import NamecheapClient from '@nexys/namecheap';
const username = "xx";
const apiKey = "xx";
const clientIp = "xx";
const c = new NamecheapClient({ username, apiKey, clientIp });
// available methods
c.getHosts()
c.setHosts()
c.addHosts()
c.deleteHosts()
Namecheap official documentation
https://www.namecheap.com/support/api/methods/domains-dns/set-hosts/