node package manager
Love JavaScript? Your insights can make it even better. Take the 2017 JavaScript Ecosystem Survey »

randport

randport

Get a random port.

Example

var randport = require('randport');
randport(function(err, port){});

License

MIT