kp is a tool for kill process by server port. only used for mac && linux
[sudo] npm install -g liuyi-kp
default server port is 5502
$ kp2
or kill by some port
$ kp2 3002
or wit sudo
$ kp2 3002 -s or kp2 3002 --sudo
kill by some port
#! /usr/bin/env node
var kp =require("liuyi-kp");
ke(3980);
or kill by some port with sudo
#! /usr/bin/env node
var kp=require('liuyi-kp');
kp(3980,'sudo')
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new pull request
- v1.0.1 实现可编程调用
- v1.0.0 初始化版本 CLI,实现 kp 导出
- write by
lilugirl
lilugirl2005@126.com
如果有建议或意见, 请在issue 提问或发送邮件
this repo is released under the MIT License