Skip to content

vkalinichev/uniq-port

Repository files navigation

 uniq-port npm build coverage dependencies

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

License

MIT © Vladimir Kalinichev

Releases

No releases published

Packages

No packages published