1.0.1 • Published 4 years ago

duckdns v1.0.1

Weekly downloads
3
License
MIT
Repository
github
Last release
4 years ago

duckdns

npm version

An another updater tool & lib for DuckDNS.

Table of Contents

Installation

# for projects
$ npm i duckdns --save

# for cli tool
$ npm i duckdns -g

Lib Usage

const {clear, updateIpAddress} = require('duckdns');

(async function() {
  const res = await updateIpAddress('ip-address', 'your-domain', 'your-token');
  console.log(res);
})();

CLI Usage

# simple usage
$ duckdns --token abc --ip 0.0.0.0 --domain just4test

# show help
$ duckdns --help