Skip to content

Latest commit

 

History

History
80 lines (58 loc) · 2.16 KB

README.md

File metadata and controls

80 lines (58 loc) · 2.16 KB

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__immanuelemmanuel.adeojo.ibk@gmail.com

Adegoke David – @dhaveed_davidadegoke31@gmail.com

John Foderaro - @johnfoderaro - (johnfoderaro@icloud.com)

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