npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

cloudns

v0.0.7

Published

A Node.js library for controlling and accessing your domains on ClouDNS.

Readme

ClouDNS (Unoffical Node.js API)

Discord Website GitHub followers

I created this little library because apparently ClouDNS has a paywalled API, and that's really dumb.

A little disclaimer, I'm not affiliated with ClouDNS in anyway, so anything I do doesn't represent them nor do they represent me. Anything wrong with your accounts or domains when using this may prevent you from getting support from the ClouDNS Team.

How to install?

npm install cloudns

Important notes.

To use this, you'd need to disable 2FA on your account.

How would I use this?

const ClouDNS = require("cloudns");

Once you've logged into using await ClouDNS.login(options);, if there was no problems with the login, you'd be able to use the other functions.

An example. ヾ( ̄0 ̄ )ノ

Here is a potential use-case for this library, this little snippet takes all the names in the queued variable and binds their IP respectively as an A record.

const ClouDNS = require("./ClouDNS/entry.js");

// Declare some authentication.
const options = {
  
  // Using the session key will ignore email and password.
  //  this is optional unless recapcha is blocking.
  session: "a69vebs3ifmt3ned184snmbxdw9scpou",

  // If your getting blocked by recaptcha, 
  //  you must use session key instead of
  //  email and password.
  email: "[email protected]",
  password: "ClouDNS_Password"
};

// Attempt to login to ClouDNS.
ClouDNS.login(options).then(login => {
  
  if (login.error) {
    // Login has failed somehow, maybe my password is wrong?
    console.error("Login failed");
    process.exit(1);
  }

  let zone_id = 1432921; // Obtainable via `await ClouDNS.getZones();`
  let queued = {
    subdomain: "189.37.194.66",
    jimsminecraft: "81.145.211.161",
    uwucraft: "8.222.154.147",
    ewwitsaweeb: "127.85.78.11"
  };

  // Loop though all the queued bindings.
  Object.keys(queued).forEach(async name => {
    let ip = queued[name];
    
    // This is where the magic happens.
    let record = await ClouDNS.addRecord(zone_id, "A", name, ip);
    
    // Successful.
    if (record.status === 1) {
      console.log("Added " + name + " with an IP of " + ip + " (" + record.id + ")")
    }
  });
});
ClouDNS.getRecords(zone_id).then((records) => {
  if (records.error) {
    // Welp.
  }
  
  records.forEach((record) => {
    let host = record.host;
    let type = record.type;
    let value = record.value;
    
    console.log(host, type, value);
    // ruby.js.org ALIAS oewm15vlo23zlvpk.shw.io
  })
})