ports

v1.1.0
Manage a registry of unique port assignments
ports unique horses

Ports registry

Manage a registry of unique port assignments for an operating system. Store user-defined meta-data with each port.

The registry lives in ~/.ports

Note that this module currently doesn’t check whether a port is actually available. That’s TBD.

I want my app to register itself with local-tld!

var ports = require("ports");
ports.getPort("yourfancyproject");

License

Apache 2 License

Copyright

(c) 2013 Jan Lehnardt [email protected]

npm i ports

Metadata

Downloads

Maintainers