uniq-port 
Generates invariant disjoint safe-ranged port numbers based on a string (e.g. appname).
Install
NPM
npm install uniq-port
Yarn
yarn add uniq-port
Usage
const uniqPort = require( 'uniq-port' )
uniqPort( 'your-unique-app-name' ) //-> 65293
uniqPort( 'uniq-port' ) //-> 54115