{"name":"ps-list","version":"3.0.0","description":"Get running processes","license":"MIT","repository":{"type":"git","url":"https://github.com/sindresorhus/ps-list"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=0.10.0"},"scripts":{"test":"xo && ava"},"files":["index.js"],"keywords":["ps","proc","process","processes","list","running","tasklist"],"dependencies":{"pify":"^2.2.0","pinkie-promise":"^1.0.0","tasklist":"^2.0.0"},"devDependencies":{"ava":"*","xo":"*"},"xo":{"ignores":["test.js"]},"gitHead":"2aeea20336b5c8668d2a489810d87bd5bbb2c8b3","bugs":{"url":"https://github.com/sindresorhus/ps-list/issues"},"homepage":"https://github.com/sindresorhus/ps-list","_id":"ps-list@3.0.0","_shasum":"93413408b3a60c0b730ccfafcce06040ffef3409","_from":".","_npmVersion":"2.14.4","_nodeVersion":"4.1.1","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"93413408b3a60c0b730ccfafcce06040ffef3409","tarball":"http://registry-npm.ywwl.com/ps-list/download/ps-list-3.0.0.tgz","integrity":"sha512-/PiriiXT16UYXbfjSosWoQ7UJH9bFjbojJm0S85lD9DTFxDlXCjNDH/5J3Dcu96c28HxPEMWbOpzZjA0kdkMmw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGlJc3xi8CNb5CKC+06ahJSFgr3s7CNOEQQ+pawSjZyiAiBiBB9g5xoz+6AavQw+9qkAgJzt49v5ZR6aAGmY0QHdMw=="}],"size":2242,"noattachment":false,"key":"/ps-list/-/ps-list-3.0.0.tgz"},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"directories":{},"readme":"# ps-list\n\n> Get running processes\n\nWorks on macOS, Linux, and Windows.\n\n## Install\n\n```sh\nnpm install ps-list\n```\n\n## Usage\n\n```js\nimport psList from 'ps-list';\n\nconsole.log(await psList());\n//=> [{pid: 3213, name: 'node', cmd: 'node test.js', ppid: 1, uid: 501, cpu: 0.1, memory: 1.5}, …]\n```\n\n## API\n\n### psList(options?)\n\nReturns a `Promise<object[]>` with the running processes.\n\nOn macOS and Linux, the `name` property is truncated to 15 characters by the system. The `cmd` property can be used to extract the full name.\n\nThe `cmd`, `cpu`, `memory`, and `uid` properties are not supported on Windows.\n\n#### options\n\nType: `object`\n\n##### all\n\nType: `boolean`\\\nDefault: `true`\n\nInclude other users' processes as well as your own.\n\nOn Windows this has no effect and will always be the users' own processes.\n\n## Related\n\n- [fastlist](https://github.com/MarkTiedemann/fastlist) - The binary used in this module to list the running processes on Windows\n","publish_time":1445196843589,"_cnpm_publish_time":1445196843589,"dist-tags":{"latest":"9.0.0"}}