{"name":"ps-list","version":"6.3.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"},"keywords":["ps","proc","process","processes","list","running","tasklist"],"devDependencies":{"ava":"^1.4.1","tsd":"^0.7.1","xo":"^0.24.0"},"gitHead":"5ebf5ef570296357bd221c166e1d4598c6f52131","bugs":{"url":"https://github.com/sindresorhus/ps-list/issues"},"homepage":"https://github.com/sindresorhus/ps-list#readme","_id":"ps-list@6.3.0","_nodeVersion":"8.15.0","_npmVersion":"6.9.0","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"integrity":"sha512-qau0czUSB0fzSlBOQt0bo+I2v6R+xiQdj78e1BR/Qjfl5OHWJ/urXi8+ilw1eHe+5hSeDI1wrwVTgDp2wst4oA==","shasum":"a2b775c2db7d547a28fbaa3a05e4c281771259be","tarball":"http://registry-npm.ywwl.com/ps-list/download/ps-list-6.3.0.tgz","fileCount":6,"unpackedSize":50744,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcoKvJCRA9TVsSAnZWagAAb5oP/0ndmJ956kccAoPUj9Os\nIH84+XSE18lPVPSa74sd0Kr3ZCMNBrVj3PoiDA41WNW0et+wei0y/4gbyk/y\no92Akf5ntMgFAeN8SlluPFXhjUSacFmbkPpZhFFZMwPj5WJNFLf8SEOht+9x\nN6kHOXSt4ZgUbfIhLQ3gzeP9SMcbAQk7xjXOzc8+slypyGJJ92j+AUM4jEyX\nT3pReJ6hGUcMqY4ZOWvkSEvzgmlKYjEkiPI28qgkemnM0h06ldkvoCWvH5tg\nyJYhkfCH5eVYGPeIUCNx+7eFH5F9tuMDVkjBV9Xnn5DPL+SEsEkqoR+1AE/W\nWwn8y/ztBZFuTYZYpQeIFxSwYgxFY5ko3y3hzn+W7O5WKWKZvDdsBajCcDjq\nKgI6lQrhbTAuAUQomAsd9tj5CzHbuyv5nD4Yv++3cD8ot1bIt9uD/CJxRkx9\nclCYkoqIVMuRDr0EVvns40fOQizxXNaHR7bKZyplftq1J+MUmbZqGBn28DlL\naYO1pru8jY9WhS9J3ItKSe61kmSTP5WI+cbN45D1Qqj9mxBmKz2U92wB+sJE\nQxwmXwg7yBl0X+AXAizmGxKtCTbyfOW67EE97lbeAtni2YAkTaMfVEb06/I5\nJzQ2s7SxSjT8AMybtkf2BmVNZ/xZhrTg1m/YjOW5N1vJHxCNcAGitq87nZYa\nPNMF\r\n=VcYf\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCpkAWVC7DYqN9q8oALcpcMawd+q+24pGOaC24vByGJ1gIhAPieuOtjyWteCSToXvgFv5Ut+ht/xeMfuVa+uiGg/yHt"}],"size":25958,"noattachment":false,"key":"/ps-list/-/ps-list-6.3.0.tgz"},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ps-list_6.3.0_1554033608011_0.12864147505874124"},"_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":1554033608336,"_cnpm_publish_time":1554033608336,"dist-tags":{"latest":"9.0.0"}}