clear-port

1.0.1 • Public • Published

clear-port

This package will kill any process hogging the given port.

Installation

This package is available on npm. It can be installed using the package manager of your choice:

# via npm 
npm i clear-port
 
# via yarn 
yarn add clear-port

Usage

There is a single exported function for this package. It simply takes the port number you wish to clear, as such:

const clearPort = require("clear-port");
 
// where you wish to clear port number 1234
await clearPort(1234);

Readme

Keywords

none

Package Sidebar

Install

npm i clear-port

Weekly Downloads

38

Version

1.0.1

License

MIT

Unpacked Size

210 kB

Total Files

17

Last publish

Collaborators

  • findmypast-tech