{"name":"ps-list","version":"4.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":">=4"},"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":"3b374fcc37cd729c6436ae007a72fb1943559100","bugs":{"url":"https://github.com/sindresorhus/ps-list/issues"},"homepage":"https://github.com/sindresorhus/ps-list#readme","_id":"ps-list@4.0.0","_shasum":"57c8b3d38161ee8977811cd32a5dc52237fdb299","_from":".","_npmVersion":"2.15.11","_nodeVersion":"4.8.3","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"57c8b3d38161ee8977811cd32a5dc52237fdb299","tarball":"http://registry-npm.ywwl.com/ps-list/download/ps-list-4.0.0.tgz","integrity":"sha512-VHFW/5JRK/slmpkNVfqD5Q0/+xDZNA4Qyel7VUH9eaaTNXMcg4ZtBVu5RwTFqwRPKaRTX9cEYdlMbFU4Zo9J9A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD4kQfp4PGWStOOjFjmECG2W7Bm3tWa7Egg1/Ev2lnIMwIgK9vddIv2WJNT9nYdtcrZhwOzwxYm6ehMl1TZZfnOaSA="}],"size":2227,"noattachment":false,"key":"/ps-list/-/ps-list-4.0.0.tgz"},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ps-list-4.0.0.tgz_1501152893247_0.8937844317406416"},"directories":{},"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":1501152894412,"_cnpm_publish_time":1501152894412,"dist-tags":{"latest":"9.0.0"}}