Manage a registry of unique port assignments for an operating system. Store user-defined meta-data with each port.
The registry lives in ~/.ports.json
Export an environment variable to override the location for the registry:
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 ports!
var ports = require("ports"); ports.getPort("yourfancyproject");
Apache 2 License
(c) 2013 Jan Lehnardt firstname.lastname@example.org