kill running process on a port.
Freethenport is a module to kill running process on a port either using cli or running from withing your code.
OS X & Linux:
npm install freethenport -g
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));
- 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
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
- Fork it (https://github.com/adeojoemmanuel/free-port/fork)
- Create your feature branch (
git checkout -b feature/fooBar
) - Commit your changes (
git commit -am 'Add some fooBar'
) - Push to the branch (
git push origin feature/fooBar
) - Create a new Pull Request