{"name":"ps-list","version":"5.0.0","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"},"files":["index.js"],"keywords":["ps","proc","process","processes","list","running","tasklist"],"dependencies":{"pify":"^3.0.0","tasklist":"^3.1.0"},"devDependencies":{"ava":"*","xo":"*"},"gitHead":"8d41645004ffce739dc970f80b28a44c9c236960","bugs":{"url":"https://github.com/sindresorhus/ps-list/issues"},"homepage":"https://github.com/sindresorhus/ps-list#readme","_id":"ps-list@5.0.0","_npmVersion":"5.6.0","_nodeVersion":"8.11.3","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"integrity":"sha512-EnMjo990nDlzBVoV/m2Vo2+Ja3sO1Ikgo3TcLF2KI1DVW3SYEt8zouS40X4Z/tfULam5R3ig8a/rhmvE3mRq5w==","shasum":"18bcc80e49e4bb6b46a7138aa0d2aedebb7311ef","tarball":"http://registry-npm.ywwl.com/ps-list/download/ps-list-5.0.0.tgz","fileCount":4,"unpackedSize":4223,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbVaVvCRA9TVsSAnZWagAA2d8P+gKWMOq09H7X5j6STW3D\n9mtpEg8Htc19usnxfNBq4ks1wAsi4/h6f/LcWj/DkSZx+jDv6fGoZZyc23jN\n8KJxHVuac8cq2NG+9oAOjyAohNQZ9mX8sDH1GteA+Ht8lDbtQFk8tNNqn2y2\nBPiyeD2lbMouF8LsuN6UuCxIyDKmjFxraZYBBMAjUX5/RHewYqLys5qqlLle\n5aJee/bfHE20JT5wbn1HPdbtjYnJ+sXF2MY5r9MoA9w3XJDoitQxk/IQBJoU\nIDkzM6TD3cmIFlLbtvYIIE/xPk2qHkyVSEgYlZfiYxEEcgvPn01LCnDtTXC2\nw1P3O0qzw0FrvE1EN8MsKUfNVDF7jaMWxctL4vWhsbPFgTOUpfjyKhn6vHaS\namWBXeRfMN5CSsrpzUTvURUivOOYwJ/nbOLwQO1TuhWc9rqV7Ljv6p9GYMXg\nEQ7SMNAIipT8077Zr9bvBeLQrESN4ovWSRG5DzVn0MYjna3M4AwClUA86ynZ\nM5Bik5eWY1+8+e21e+HwPkApTdzmZz+LNWEF36Zrti6UP1buKO1BrSD4Cm5Z\ncrFl3/Rj9n1NUWeRXxgZI+l40mKHEKKK7I67GUJUitsKU/PjtchBRWWgnbKV\n+UCYJRBzPlL/gNXCo80uMLZXphYcXovuzO3QWK85qfpUAkIGxdT/XilSAVwc\n4HKl\r\n=N5np\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIA6FaESkum/VvHk47p9gyc/tsWsmk6zdMAh3o9UjJQZNAiBA7Fw+Vyvqs3RguaLxwJvgnvK5s6tBIqw90Lb7Af+t/g=="}],"size":2292,"noattachment":false,"key":"/ps-list/-/ps-list-5.0.0.tgz"},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ps-list_5.0.0_1532339567114_0.7394966712475668"},"_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":1532339567180,"_cnpm_publish_time":1532339567180,"dist-tags":{"latest":"9.0.0"}}