{"name":"ps-list","version":"7.1.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":"a9425169681331bcf5e1ffec1bae8a45f71b1bbe","bugs":{"url":"https://github.com/sindresorhus/ps-list/issues"},"homepage":"https://github.com/sindresorhus/ps-list#readme","_id":"ps-list@7.1.0","_nodeVersion":"10.20.1","_npmVersion":"6.14.5","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"integrity":"sha512-3hBSPXo4bsVX295Jr4TFgqEmQoI93SZDShX6kK3uHh6PlVhvZt4evi/9uqU43VBLjV6xDGueW35gjn1QNjgxug==","shasum":"f134c78fce689da1f243a28d1dd0bf438569c151","tarball":"http://registry-npm.ywwl.com/ps-list/download/ps-list-7.1.0.tgz","fileCount":7,"unpackedSize":27005,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJezIbzCRA9TVsSAnZWagAAAzsP/ilWwW+9k+FxpzEISo5D\noqlHEkSOJLU7TCGORSJgWWUqkhbrgsd2d2gCBOpkhHk/IJHiKovqVsWZKC1m\nOrGVheqe9vDz2az2Q1uahU6Z0xhP++/mEghvHT6qMObA5WGZtEusdoV++gTf\ngLLduPTcd3nIB5z7A1B9Oo66zoBrEGwdJG8NlTu9RfWkm4C8w+f9WJf7dieb\nceCNI0Vl4wYL8TJhJeN9QEft4J13kRF2o4m19bIqAqtaAyC8E2O689lYvWoO\nAMQbYwlhtM9KxJBgnzwfBEm35S2DG04kMYcipWjtrHaNCbwKU6r9mtw/Y+pP\nBaH1mXcFILvFlKlVnDAsO84ieijbFHbPJkTeTeoZYBg6je5szoLKUFS6rQD5\nHxaCxpU6PEoENl9ETgXmiBf+bTRhfEFFTsZj2ShQSYCk3kBcEjjznPSklf4y\nlMF2ERYFuHZwUifO2PolDSPZA6nplzK01de3eRG4ACfe58SlErRn38NuqeU0\nQiIKXlU6QsV0IAP5/7fWiS1HOLSedxkyZQWgAXlHP2coic/q8xOGbN7Y8Sy+\nIV5bDUWEJUkNEGe1uql8IJ6fP6dYXYDAyKBYx4aQyD21ovXjFLYF7TMvwkMK\n08LHPa46dii4jgPasHDvpR7KV+me9txG0xF4aEnIhIb8n22S0jClQ8yV1ie7\nHnA1\r\n=TmdX\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIChxHW8zM1TnECLioC5xDqgY07V8pJ7LWVAYmsM1YKskAiEAh6aKXK59Qr207EIeBpb4znd2dv34OWA0fX/Xte37h7E="}],"size":17769,"noattachment":false,"key":"/ps-list/-/ps-list-7.1.0.tgz"},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ps-list_7.1.0_1590462194506_0.14333373530001237"},"_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":1590462194731,"_cnpm_publish_time":1590462194731,"dist-tags":{"latest":"9.0.0"}}