Have opinions about JavaScript? We want to hear them. Take the 2018 JavaScript Ecosystem Survey »

uniq-port

1.0.1 • Public • Published

uniq-port npm build coverage dependencies

Generates a string-based unique port number in a safe range

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

install

npm i uniq-port

Downloadsweekly downloads

21

version

1.0.1

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability