Skip to content

nexys-system/namecheap-sdk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Namecheap SDK

npm version Build and Test Package Publish Code style Bundlephobia

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/