1.1.0 • Published 5 years ago

port-to-kill v1.1.0

Weekly downloads
5
License
MIT
Repository
github
Last release
5 years ago

Port To Kill

It kill process that is running in an specific port

Platforms tested

Windows Server 2012 R2 | MacOS High Sierra

Prerequisites

This project work with NodeJS in the server side

Installation

$ npm install port-to-kill

Getting Started

const portToKill = require('port-to-kill');
const port = 3000;


portToKill(port)
	.then(() => console.log('Kill port ', port))
	.catch(err => console.log(`Kill port ${ port }. Erro: `, err));

Author

  • Ozires R.S.O.F

License

This project is licensed under the MIT License