free-dns

1.0.9 • Public • Published

FreeDNS

NPM version Build Status Coverage Status Known Vulnerabilities Dependencies Downloads Install Size Contributors Pull Requests Welcome

A wrapper for the FreeDNS API.

This module is unofficial and is in no way associated with FreeDNS.

Server-Side Usage

const freeDNS = require("free-dns");
 
freeDNS.setup({
    userName: "nitro404",
    password: "p4ssw0rd"
});
 
freeDNS.updateHosts(
    {
        host: "nitro404.freedns.org",
        ipAddress: "64.230.32.69"
    },
    function(error, hosts) {
        if(error) {
            return console.error(error);
        }
 
        return console.log(hosts);
    }
);

Installation

To install this module:

npm install free-dns

Building

To build the distribution files for this module:

npm run build

or

gulp build

Readme

Keywords

Package Sidebar

Install

npm i free-dns

Weekly Downloads

12

Version

1.0.9

License

MIT

Unpacked Size

15.1 kB

Total Files

3

Last publish

Collaborators

  • nitro404