{"name":"ps-list","version":"7.0.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":"0fe33a51b3752462cfd95dffeffdbee58e0a6dfa","bugs":{"url":"https://github.com/sindresorhus/ps-list/issues"},"homepage":"https://github.com/sindresorhus/ps-list#readme","_id":"ps-list@7.0.0","_nodeVersion":"10.18.1","_npmVersion":"6.13.7","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"integrity":"sha512-ZDhdxqb+kE895BAvqIdGnWwfvB43h7KHMIcJC0hw7xLbbiJoprS+bqZxuGZ0jWdDxZEvB3jpnfgJyOn3lmsH+Q==","shasum":"fd740a839786605d257117b899031db9b34b8b4b","tarball":"http://registry-npm.ywwl.com/ps-list/download/ps-list-7.0.0.tgz","fileCount":6,"unpackedSize":52734,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeQyn3CRA9TVsSAnZWagAAu6MP/3735oiAhH4RzOeU2L81\nn1m/Daad7pQdq8dVm1395XIfQDuzpcPyLd0su7akw5U6nxerCYQbUjI62H4O\nttkfiY8vae89KxWpUCOx9NlMG/HeAYsBTz5Bisl2FT/N6jRGDPP4vFnThdjT\nkGkTBSpHsRCQE48Dg1FNjMbbtN9fLAlmI4Mzp6LqLMKUQhcCc70A4H4nfLZJ\nAbQUsIbK926LjeqM0iG8nRsEODhhLRHAOpfYYIdX4TMf+VvucjnI+9Zs5oXm\naTCDP9Zy3wJm91y4IKV0DNWf2+r6nVCu4uvcaNYMqkHKrTUoaa2V44BGh2TJ\nOlUJKHZnPcu/d94Y0Ot3qeP3R+CX7fFsHA/Lsk+wBuIJJzRLwATbvTNK5LED\n/d6uDNuJ+1bvWkjU60oECAEn7vJ8jkirADqIXvOP8ZekeQ8yo1AGhTJrUvp2\n7A+LfeYikXq3R1B/GoFzcbZRUM+BXW/FUWO/XP4ooSVcjWEsRtbYwKjuvjNf\nQdBgoyQWnhpQpvFtdkvn7DS4dysxPV5cbyb06QDmZ8XXDjFx+3zxjdUrAtHZ\ndpCXbQCHkC9S/7IF6zZPKi7fPtgPd/nBdEX5USPT5+/HgriRmlDugnHUEMrz\naD1yYemlGPzeRU+3zJ1OjYEklD5OXaCylW0An5QNeJsG3WvSMIeE4ykfbZAw\ntplu\r\n=SqAV\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIG0w6MRqx1vJINrmUQhuqnLiq1b86oDUmpvgCgJRkWgtAiB58uCcburrX5I/xeAv6bcXIXR2h3kNN+eDU10iOI9rog=="}],"size":26627,"noattachment":false,"key":"/ps-list/-/ps-list-7.0.0.tgz"},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ps-list_7.0.0_1581459958806_0.42818254010072376"},"_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":1581459958912,"_cnpm_publish_time":1581459958912,"dist-tags":{"latest":"9.0.0"}}