{"name":"ps-list","version":"5.0.1","description":"Get running processes","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/ps-list.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=6"},"scripts":{"test":"xo && ava"},"keywords":["ps","proc","process","processes","list","running","tasklist"],"dependencies":{"pify":"^3.0.0","tasklist":"^3.1.0"},"devDependencies":{"ava":"*","xo":"*"},"gitHead":"fe0f3911549094bae4902a4a9536a0c819bcc2bb","bugs":{"url":"https://github.com/sindresorhus/ps-list/issues"},"homepage":"https://github.com/sindresorhus/ps-list#readme","_id":"ps-list@5.0.1","_npmVersion":"6.4.1","_nodeVersion":"10.11.0","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"integrity":"sha512-HfafYofNB+Ud+/xdptoYPCkDQ6u1jo9bpgbcyiPtBQ2z+mr1Bb3zGeeXQ30ymBUq3aEJrKLnnvpSZU7WKEiihA==","shasum":"3b2588cc291a8f2bd610d519002cfc64a88c99fd","tarball":"http://registry-npm.ywwl.com/ps-list/download/ps-list-5.0.1.tgz","fileCount":4,"unpackedSize":4292,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbsyPKCRA9TVsSAnZWagAAY0MP/iR4b/TYXQ1T6P+rxVuf\ntnhsncSiTgvfDFNmDGFz+bFitgcIgm3xvMkqN+Gc0gMeEq0WmLhQnqsoUK2M\nu1mYEhGwD0ejLs/NNeznQP/URPKPtczSweuF888IRWn5vfMB/R0QbAdmEmuM\nIHt6cZbzu+Jbf3MTyryjiN//WS+jaHiThawST6WE6G+W4GpeuHoS2QNNyG7a\nsWX+NWrNBO+lfNkTrgKKXYq/DXPpLgqd61GdI4ItRvXJp1lsK0NAKmCw7yu9\n31BITxDTbCUCjlybxqR6ftkoj3OpxRJijKVUQfG25ZoMFuLmx0VXSZlX0/3I\nwz4TZ4Cw1c1calJS0ln2XjC1Um29Tv1HaDZr9aD7X6amabS17GMH1JqEAh6g\nXlMtfYJsoc0jbKeRGpQZlkZ0pE3Wm0u1SSwWrfhX9WgQWeejB/fwOEl4S14C\nDYPj/xkazNaZDg0bEIyhwjEk0zMvUCiZwpUhaln8+TCkhiUgrIQge1hqyfSr\n4ul28Bn7Zz9f+r9o1WGgIUsNvBgwxN2HqB5nIunW68jkANrSdu7UrTsmNZ3O\nMEHLXfJFVKz02WVg13z6nWQ0oNyL3SCKnU+L0ZuoMIvGLMd1O9edC7lnqMjn\nynPZfnqqfD4pbS0my/CI+jQhbZMh05uXXH86b3aYuYqYeMhRUr/JGE595/hS\nlBkc\r\n=/hCw\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDb7pHp0iT049dU/pcxfGr+nNPExFYv1NLftMaDlEhmWQIhAPpYAzIzVdFGpimpVM/mH2+JVxeHXIpISrKVXXRF2doV"}],"size":2311,"noattachment":false,"key":"/ps-list/-/ps-list-5.0.1.tgz"},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ps-list_5.0.1_1538466761397_0.38245986604481286"},"_hasShrinkwrap":false,"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":1538466761501,"_cnpm_publish_time":1538466761501,"dist-tags":{"latest":"9.0.0"}}