Giter Club home page Giter Club logo

p-killa's Introduction

p-killa

A Node process killer for Windows and Linux and OSX.

Features

  • Kill a process specifying the port it is listening to.
  • Kill multiple processes occupying multiple ports.
  • ...the above, with a delay

Install

The easiest way to use p-killa is to install it globally.

npm i -g p-killa

Commands

kill a single process

p-killa --ports 4000

kill a multiple processes

p-killa --ports 4000,3000,8080,9090

kill a multiple processes with a 5 seconds delay

p-killa --ports 4000,3000,8080,9090 --delay 5

Sponsors

This project is maintained and sponsored by:

Contribute

This project has been bootstrapped using nod and coded with the amazing IntelliJ IDEA.

To hack a little bit with it you can additionally run npm run auto-build-install, which transpiles es6 and installs the module globally. If you are developing on windows but want to test it on linux you can run the provided docker container.

First, build and bash into the container by running. docker-test\linux\run.cmd

Now you can play around opening and shutting down ports. I use http-server -pp 4000 . & followed by p-killa --ports 4000 --delay 5 for example.

If you want to test it on your host just run npm run test

p-killa's People

Contributors

ggcaponetto avatar

Stargazers

Vinícius Gajo avatar  avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.