endport
TypeScript icon, indicating that this package has built-in type declarations

2.0.15 • Public • Published

npx使用

npx endport 端口

  • npx endport 8080
  • npx endport 8080 8081

安装使用

npm i -g endport

  1. 解除一个端口占用 endport 8080
  2. 解除多个端口占用,多个端口用空格隔开 endport 8080 8081

tips

内置三个命令行工具endprot killport end-port,效果一样

如果项目代码中需要使用,endport有导出下面一些函数

  1. endPort解除端口占用
  2. endPorts批量解除端口占用
  • 具体细节可以参考dist/types/index.d.ts

Dependents (1)

Package Sidebar

Install

npm i endport

Weekly Downloads

4

Version

2.0.15

License

MIT

Unpacked Size

5.98 kB

Total Files

8

Last publish

Collaborators

  • small_code