npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

free-my-port

v1.0.8

Published

Free my port

Downloads

3

Readme

free-my-port

free-my-port is a command-line utility designed to release a specified port on your machine. It simplifies the process of checking for port occupancy, terminating the process that is using it, and notifying you when the port becomes available. With support for configuration files, colored output, and a smooth user experience featuring a progress spinner, free-my-port enhances your port management tasks.

Installation

To install the package globally, execute the following command:

Features

  • 🚀 Free a Single Port: Free an individual port.
  • 🌐 Free Multiple Ports: Free multiple ports specified by a comma-separated list.
  • 📊 Free Port Ranges: Free a range of ports.
  • 🕹️ Interactive Mode: Select ports to free interactively.
  • 🔍 Port Usage Insights: Get details about which processes are using specific ports.
  • 🔄 Retry Mechanism: Retry freeing ports a specified number of times.
  • 🌟 Wildcard Port Freeing: Support freeing multiple ports using wildcard patterns (e.g., free-my-port -p 3000-3010).
npm install -g free-my-port

Usage

Command Line Options

  • -p, --port <port>: Specify the port to free.
  • -c, --config <path>: Path to a configuration file.

Examples

Freeing a Port Directly

To free a port directly, use the -p option followed by the port number:

free-my-port -p 6969

Free Multiple Ports:

free-my-port -p 6969,6970,6971

Free a Range of Ports:

free-my-port -p 6969-7979

Interactive Mode:

free-my-port -i

Specify Number of Retries:

free-my-port -p 3000 -r 3 

Configuration

free-my-port supports configuration files to streamline your port freeing tasks. You can specify default options or aliases for frequently used ports in a configuration file.

Contributions

Contributions to free-my-port are welcomed! Feel free to submit bug reports, feature requests, or even pull requests via the GitHub repository.

Acknowledgments

  • Spinner: Used for providing a smooth progress indication.
  • Chalk: Utilized for adding colors to the console output.

With free-my-port, managing your ports efficiently has never been easier. Whether you're a developer running multiple services or a system administrator juggling various applications, free-my-port simplifies the process of freeing up ports, saving you time and effort.