win

winport

Library for getting information about ports and names of processes for windows

Showing:

Popularity

Downloads/wk

1

GitHub Stars

4

Maintenance

Last Commit

7yrs ago

Contributors

0

Package

Dependencies

0

License

MIT

Type Definitions

Tree-Shakeable

No?

Categories

Readme

winport

WinPort - library for getting information about ports and names of processes for windows.

Install

npm i winport

API

getPidByPort(port, callback) - get process id by port.

getNameByPid(pid, callback) - get name by process id.

Example

var winport = require('winport'),
    pid     = 80;
    
    winport.getPidByPort(80, function(error, pid) {
        if (error)
            console.log(error);
        else
            winport.getNameByPid(pid, function(error, name) {
                console.log(error || name);
            });
    });

License

MIT

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
No reviews found
Be the first to rate

Alternatives

No alternatives found

Tutorials

No tutorials found
Add a tutorial