Retrieve current IP address
npm install chkip
var chkip = require('chkip');
chkip((ip) => {
console.log(ip);
});
Output should be XXX.XXX.XXX.XXX
npm test
In lieu of a formal style guide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code.