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/