README
duckdns
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