Jonkman Microblog
  • Login
Show Navigation
  • Public

    • Public
    • Network
    • Groups
    • Popular
    • People

Conversation

Notices

  1. Tom K (tk@mastodon.social)'s status on Tuesday, 09-Jul-2019 02:51:23 EDT Tom K Tom K

    Huh? There are 113k git repos depending on this JS library, whose purpose is to find an available TCP port. By starting a listener, stopping it, and returning the port it got. Yes, race condition included. https://github.com/sindresorhus/get-port
    (You can just specify port 0 and the operating system will pick an unused one for you)

    In conversation Tuesday, 09-Jul-2019 02:51:23 EDT from mastodon.social permalink

    Attachments

    1. sindresorhus/get-port
      from GitHub
      Get an available port. Contribute to sindresorhus/get-port development by creating an account on GitHub.
  • Help
  • About
  • FAQ
  • TOS
  • Privacy
  • Source
  • Version
  • Contact

Jonkman Microblog is a social network, courtesy of SOBAC Microcomputer Services. It runs on GNU social, version 1.2.0-beta5, available under the GNU Affero General Public License.

Creative Commons Attribution 3.0 All Jonkman Microblog content and data are available under the Creative Commons Attribution 3.0 license.

Switch to desktop site layout.