Skip to content

adeojoemmanuel/free-port

Repository files navigation

freethenport

kill running process on a port.

NPM Version Build Status Downloads Stats

Freethenport is a module to kill running process on a port either using cli or running from withing your code.

Installation

OS X & Linux:

npm install freethenport -g

Usage example

kill running process from a port using command line.

node freethenport portNumber

e.g

node freethenport 8129

kill running porcess from your code

 freeport(port)
      .then(res => console.log(res))
      .catch(error => console.error(error));

Release History

  • 1.0.0
    • Published on npm (module code lunched)
  • 2.0.1
    • CHANGE: Update docs (module code remains unchanged)
  • 2.0.2
    • CHANGE: Update docs (module code remains unchanged)
  • 2.0.3
    • Updated function nameing
  • 2.1.0
    • Redeveloped kill port method in function.js
  • 2.3.0
    • Added windows support

Meta

Adeojo Emmanuel – @imm__immanuel[email protected]

Adegoke David – @dhaveed_[email protected]

John Foderaro - @johnfoderaro - ([email protected])

See LICENSE for more information.

https://github.com/adeojoemmanuel/free-port

Contributing

  1. Fork it (https://github.com/adeojoemmanuel/free-port/fork)
  2. Create your feature branch (git checkout -b feature/fooBar)
  3. Commit your changes (git commit -am 'Add some fooBar')
  4. Push to the branch (git push origin feature/fooBar)
  5. Create a new Pull Request

About

free occupied port on your system

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published