{"name":"ps-list","version":"6.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":">=8"},"scripts":{"test":"xo && ava"},"keywords":["ps","proc","process","processes","list","running","tasklist"],"devDependencies":{"ava":"^0.25.0","xo":"^0.23.0"},"gitHead":"45a45d882040f76aa3eb10f67893fc9e430b26bc","bugs":{"url":"https://github.com/sindresorhus/ps-list/issues"},"homepage":"https://github.com/sindresorhus/ps-list#readme","_id":"ps-list@6.0.0","_npmVersion":"6.4.1","_nodeVersion":"8.12.0","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"integrity":"sha512-7uWjusNLnMtej5NxY8QV5nbfVoMbyxqOy1kAZMekIHk9NzCUgIjfFfdqdMjYq7+uYNlriKqjgLTrXSfEHxgSZg==","shasum":"c0ec6b677b77ddbf24b0587fdbda187f7c8ea5c0","tarball":"http://registry-npm.ywwl.com/ps-list/download/ps-list-6.0.0.tgz","fileCount":5,"unpackedSize":49476,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbwgvCCRA9TVsSAnZWagAAPwIP/3qyOkb/3NHYR6qgUYz8\npNl0djzcNp+HcPzBJRVInyh6yDElVKzVEBfVeat/zdiDBlnyyXfpHwVbwird\nduyOiXK3910o1CAqVSNGY0WcoezLL6NZyOZbZH34eYGe8tTwABRb0aU7taPM\n39tsvy6ZfHEgnYxu5e7/Jf+NbYebTjK/V+/Megk/nRfa4vfvDSyNUojIEDnx\nZ7bAfcM25m1WWpaEEzOyzAaZF+IExPCY7nT63YkekK04aKHhZDowHD5t8+RS\n2r6T5iZVLC96FU2sWVFHVZS7Re5h0d6IHanB0euHLUOrwDhtXhHhEkL+1g/Q\nDSLYSLjg01Cwg/Ag85ofVRiWWe6KOBcRZk9TsaV6xndT5KtQ1sXhQJzPWgmr\nFs8bfLjL4Y6z3PhrGiXNm4Mq8bmkkLIrVUsMMwxZiWf3l6Xu/UCcW3XSqf2L\nR5E3uU1lzgHuVZ7vEq41bLXh7XE/IRAH1rQKuZxoNUTFLxO4PawlVGyvcARp\nNSiLIfFoatv5jKEtuecQdB96YL15OauzyCdr/VLfzYUiRxlyRhE8pfnJzVe1\nPvWiBRpLdwbsIqk9zNkvSZwhhsQs5vGFE8frnmoS0ZYGbGYsud0uduvnnARa\nT3jtbAzL2bGmpLFdRK8QFMR1J69d4NKOv8VFleld9f6phqrI/+PyCCLzPDk+\nrt1Z\r\n=T58L\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDlGXdf5DQwAetIfKZ6cfn4Yt64TKhe8/6Sqp1/G3Sc0AiEA+/T1mpzEfaNASO+kiD/SMg4QiqLDjkY9tkNOvf+TzKA="}],"size":25620,"noattachment":false,"key":"/ps-list/-/ps-list-6.0.0.tgz"},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ps-list_6.0.0_1539443649475_0.10033436179159816"},"_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":1539443649665,"_cnpm_publish_time":1539443649665,"dist-tags":{"latest":"9.0.0"}}