lp

local-port

Find open or closed local port within a range

Showing:

Popularity

Downloads/wk

401

GitHub Stars

0

Maintenance

Last Commit

7yrs ago

Contributors

0

Package

Dependencies

0

Size (min+gzip)

0.4KB

License

MIT

Type Definitions

Tree-Shakeable

No?

Categories

Readme

local-port Build Status

Find open or closed local port within a range

Usage

    require('local-port').findOpen(3001, function(err, port) {
        if(err)
            console.error(err);

        console.log(port)
    })

API

  • findOpen(start, [end,] callback) => callback(err, port)
  • findClose(start, [end,] callback) =>callback(err, port)
  • isPortTaken(port, callback) => callback(err, taken)

Rate & Review

Great Documentation0
Easy to Use0
Performant0
Highly Customizable0
Bleeding Edge0
Responsive Maintainers0
Poor Documentation0
Hard to Use0
Slow0
Buggy0
Abandoned0
Unwelcoming Community0
100