Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

    noip-updaterpublic

    Node.js NoIP Updater

    This script will update NoIP every 12hrs, or --frequency time, where time is the number of hours. It is recommended to use forever to restart the script if it crashes. Example start command using forever: forever start -l forever.log -o out.log -e err.log app.js -u yourUsername -e yourB64PassHere -d your.domain.no-ip.org -s

    To keep your NoIP password out of the bash history, you can prefix the command with a space. (This doesn't always work, credit to catonmat.com)

    The script uses ICanHazIP.com by default to get your public IP address.

    The interpreter for noip-updater is Node.js.

    API

    Programatically, you can call

    var updater = require('noip-updater');
     
    updater.getPublicIP(function(ip) {
        updater.updateNoIP(user, pass, domain, ip, false, function(body, response, error) {
            console.log(body);
        });
    });
     

    Functions

    updater.getPublicIP(cb);
    updater.updateNoIP(user, pass, domain, ip[, useHTTPS[, cb]]);
    

    Keywords

    none

    install

    npm i noip-updater

    Downloadsweekly downloads

    26

    version

    1.0.3

    license

    none

    repository

    githubgithub

    last publish

    collaborators

    • avatar