Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ppid property for macOS and Linux #15

Merged
merged 4 commits into from
Jul 23, 2018
Merged

Add ppid property for macOS and Linux #15

merged 4 commits into from
Jul 23, 2018

Conversation

dominguesgm
Copy link
Contributor

Included new test for ppid (checking if value is a number).
Mentioned Linux exclusivity in the readme.
Fixes #9

@@ -19,11 +19,11 @@ const psList = require('ps-list');

psList().then(data => {
console.log(data);
//=> [{pid: 3213, name: 'node', cmd: 'node test.js', cpu: '0.1', memory: '1.5'}, ...]
//=> [{pid: 3213, name: 'node', cmd: 'node test.js', ppid: 1, cpu: '0.1', memory: '1.5'}, ...]
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You forgot to add it here.

@sindresorhus sindresorhus changed the title Added ppid support for Linux Add ppid property for macOS and Linux Jul 23, 2018
@sindresorhus sindresorhus merged commit 3588cd8 into sindresorhus:master Jul 23, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants