xps
Cross-platform library for listing and killing processes.
Last updated 5 years ago by killdream .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install xps 
SYNC missed versions from official npm registry.

xps - Cross-Platform Process Management

Build status NPM version Dependencies status Licence Stability: Experimental

xps is a cross-platform library for listing and killing processes.

Example

var ps = require('xps');

ps.list().fork(
  function(error) {
    throw error
  },
  function(processes) {
    processes.forEach(function(process){
      console.log(process.name + ': ' + process.pid)
    })
  }
);

ps.kill(123).fork(
  function(error){ console.log('Unable to kill 123') },
  function(){ console.log('Killed 123') }
);

Installing

You can grab the latest release from npm:

$ npm install xps

Platform support

xps requires either io.js or Node.js 0.10+

Licence

Copyright (c) 2015 Quildreen Motta.

Released under the MIT licence.

Current Tags

  • 1.0.2                                ...           latest (5 years ago)

3 Versions

  • 1.0.2                                ...           5 years ago
  • 0.0.0-semantically-released                                ...           5 years ago
  • 1.0.0                                ...           5 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 4
Last Day 0
Last Week 1
Last Month 2
Dependencies (5)
Dev Dependencies (6)
Dependents (1)

Copyright 2014 - 2016 © taobao.org |