Socket
Socket
Sign inDemoInstall

pidtree

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pidtree - npm Package Compare versions

Comparing version 0.1.1 to 0.1.2

lib/bin.js

4

bin/pidtree.js

@@ -5,2 +5,4 @@ #!/usr/bin/env node

var os = require('os');
//

@@ -19,3 +21,3 @@ // Change the default parent PID if running

}
console.log(data);
console.log(data.join(os.EOL));
});
{
"name": "pidtree",
"version": "0.1.1",
"version": "0.1.2",
"description": "Cross platform children list of a PID",

@@ -30,2 +30,3 @@ "license": "MIT",

"bin",
"lib",
"index.js"

@@ -37,2 +38,3 @@ ],

"scripts": {
"start": "node ./bin/pidtree.js",
"update": "npm-check -u",

@@ -39,0 +41,0 @@ "release": "np",

@@ -109,2 +109,10 @@ <h1 align="center">

## CLI
This package behave similar to `pgrep` on \*unix
```bash
npx pidtree $PPID
```
Just replace $PPID with one of the pids inside your system.
## API

@@ -135,3 +143,3 @@

| err | <code>Error</code> | A possible error. |
| statistics | <code>Array.<Number></code> | The array containing the child pids. |
| statistics | <code>Array.&lt;Number&gt;</code> | The array containing the child pids. |

@@ -138,0 +146,0 @@ ## Related

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc