{"name":"ps-list","version":"7.2.0","description":"Get running processes","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/ps-list.git"},"funding":"https://github.com/sponsors/sindresorhus","author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=10"},"scripts":{"test":"xo && ava && tsd"},"keywords":["ps","proc","process","processes","list","running","tasklist"],"devDependencies":{"ava":"^1.4.1","tsd":"^0.11.0","xo":"^0.25.3"},"gitHead":"46f7d16920ed12c2866ddacc5044df7f8f87b179","bugs":{"url":"https://github.com/sindresorhus/ps-list/issues"},"homepage":"https://github.com/sindresorhus/ps-list#readme","_id":"ps-list@7.2.0","_nodeVersion":"14.4.0","_npmVersion":"6.14.5","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"integrity":"sha512-v4Bl6I3f2kJfr5o80ShABNHAokIgY+wFDTQfE+X3zWYgSGQOCBeYptLZUpoOALBqO5EawmDN/tjTldJesd0ujQ==","shasum":"3d110e1de8249a4b178c9b1cf2a215d1e4e42fc0","tarball":"http://registry-npm.ywwl.com/ps-list/download/ps-list-7.2.0.tgz","fileCount":7,"unpackedSize":494973,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe6dwsCRA9TVsSAnZWagAAimMP/R1PavBbukDsOTvYUOF0\nDh49uBF1ISoRIcm6wR9UE0cQNY3FLAz2aj4tsUvDnVOkguk0UzE+7SUSPc26\nPuMTaWjJAOGOTMsokF0/469pa0SzGGzqtbJDqWki6voJoyjvTal8svdIYMtT\nB23BjaF+JrhlKVGuoqGjLz3Vv651Q402tyd7Cht0IZfgl3eL1SEQuZYnJxCM\ngERZlFjPMDJnS0HSarwHK+rl9fZ2GJKe/k8IEB5ACo6BrGNJGr96TSzagDrq\n5sOHe6WtVAnMDBjCtCjHCAg4FA2+zmXRmEcOND1oJVFYpApP9sCmiFmspDc2\n4ZwIvkWmC/zJ9HYbth4o2sZypJYp31SKJAfjAU63LsMUs6UUYmhWpNDc79tI\nBqqGdq3ObJuRnbiJQcQDaIGREWjgeDJp8qFJi9D81/HtkaXsnD9PUVvOJg8e\nVDmQwpdsNDSUcU5OyQoHf5gHEyyBsBICI8nNhGL58yj0reHB+5DwpwSDB0DS\nyUtpoj5tEY1SwfVTfZwCs9tTmfE8ZA1c6fkkdlZsMQcG5e1ISFpethojgPIu\nXmJiuSN7WwjkUqJfmkTwe4THdZs17nQYum0hr3sJM7LqxFMwM5dsnqXepEOD\nPeSS2FyyXnD6WS22LG2quUX0E3Cb+53IouRQy3gR5MWWN0htCzAzg9zZSlFH\nurAe\r\n=Xyfv\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDVSFTPvmpTqLscyK4UU2lA3Y3zEMrwQQeIcp37kCtScQIgZWKqqH3/jEF+RlYsPuZ8az3850Dd9lhgX2giw2dlxWk="}],"size":261732,"noattachment":false,"key":"/ps-list/-/ps-list-7.2.0.tgz"},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ps-list_7.2.0_1592384555933_0.9717958782201213"},"_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":1592384556119,"_cnpm_publish_time":1592384556119,"dist-tags":{"latest":"9.0.0"}}