Converts tcp/ip ports numbers to binary (0 to 65536)
npm install tcpip-port-to-bin --save
var tcpipPortToBin = require('tcpip-port-to-bin');
var binaryPort = tcpipPortToBin('22');
console.log('binaryPort', binaryPort);
npm test
Add unit tests for any new or changed functionality. Lint and test your code via the npm test.
- 0.1.0 Initial release