0.0.8 • Published 2 years ago

node-namecheap-api v0.0.8

Weekly downloads
-
License
ISC
Repository
github
Last release
2 years ago

NameCheap API library for JavaScript

Usage : Add lib to your project npm install node-namecheap-api

import Library and initialize Api Lib with required params USER, API_KEY, CLIENT_ID .

const { NameCheap } = require("node-namecheap-api");

const nameCheap = new NameCheap(
  process.env.NAMECHEAP_USER,
  process.env.NAMECHEAP_API_KEY,
  process.env.NAMECHEAP_CLIENT_IP,
  !process.env.development // should be true when production mode
);

nameCheap.domains.check(search)
  .then(response=>console.log(response))
	.catch(err=>{console.log(err)})


// Search prices of a com domain
 nameCheap.users.getPricing(ProductTypes.DOMAIN, ProductCategories.DOMAINS, ActionNames.REGISTER, "COM");

Only these supported for now, adding more functionality while I move forward on my side project

0.0.8

2 years ago

0.0.7

2 years ago

0.0.3

3 years ago

0.0.2

3 years ago

0.0.5

3 years ago

0.0.4

3 years ago

0.0.6

3 years ago

0.0.1

3 years ago