{"name":"ps-list","version":"6.2.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":">=8"},"scripts":{"test":"xo && ava && tsd-check"},"keywords":["ps","proc","process","processes","list","running","tasklist"],"devDependencies":{"ava":"^1.3.1","tsd-check":"^0.3.0","xo":"^0.24.0"},"gitHead":"158f5db0eb7a265687c6bc3590aec1522758eca0","bugs":{"url":"https://github.com/sindresorhus/ps-list/issues"},"homepage":"https://github.com/sindresorhus/ps-list#readme","_id":"ps-list@6.2.0","_nodeVersion":"8.15.0","_npmVersion":"6.8.0","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"integrity":"sha512-oVK9yBK0N1Ly/ZLga661kugSvl8vZfwvwQv7vWN17aeg/CE7DXD4wpvmS87XgKa4ux3ewiaQJodzcqA1btYnoA==","shasum":"430e48e9603ca64b70be88a75bdd23d84be2ec6c","tarball":"http://registry-npm.ywwl.com/ps-list/download/ps-list-6.2.0.tgz","fileCount":6,"unpackedSize":50234,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcgihqCRA9TVsSAnZWagAALlEP/AhHWyMT6w5px6AX5fbv\ncfffQMMsd5VWOVokgRRT3E+jwSwBIKI2eIRY+XPgIROaiAkHHaGn5/3RwuJO\nKULW7rvSL5mUMP/CuvXZxvl1rFlAtfBCvSTeOiFNCejQ5GGCG8m9UCsB5Xwi\nj6Lg285qeALp99dEN/XzbRo9TIBZgaTh2ex/vjgOsJsZqr/KaEHrUjxLoATx\nwKHP6EVAQbBfCGMXA69W8ROi8HaA8WuF3g40HubNC+bVQT4im26p0IUenrzH\nEfT5ScwEjPQKvqkYoBziz64EzXoarun8wemk5/vF63njbuJ/Pp2RIZ5ISQNF\nFzEy/3t+AyYR1bKffmvekauxLMr9U0p1+OiDbjbcsmN2MMiUWeCMLWhNee7Y\nAU8wkbsys0tYWJvrcBx7mffTDilLzbIn8g0IvDGi/AgvIHmMnalHwzgXaAsJ\nn4KKOu9kDNQPRHM8MInFUBj2D0/blGWa4IRizbLK3pAzFj3d8n6aGen2C0pQ\nphKmFPk+mDRS8Fn+87YyHLxONFE2h95ZlkUbStb9TCfMeUZiEL7W607CXZQA\nglXUlJA/C+OB3ju8CWyfvSx9cUzSwl/SJVuy/YuyqP29YvNW5WU44izbRZNI\n7IC4VCdanidlAxQAbHZH5DI9RU8ab5QZN2Hlrze0vYCHV2yQGknFFUXeug4W\n9auJ\r\n=Nzee\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFpXORYQ3VKPphrtBg+0fx/qxtMNb0SXx4yoGjTTBqSzAiBPrekI8vbd6edYyiFATHgx5WtFXgDLuNfWOaRAE3KHdA=="}],"size":25830,"noattachment":false,"key":"/ps-list/-/ps-list-6.2.0.tgz"},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ps-list_6.2.0_1552033897407_0.7515551966523435"},"_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":1552033897610,"_cnpm_publish_time":1552033897610,"dist-tags":{"latest":"9.0.0"}}