{"name":"ps-list","version":"8.1.1","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":"https://sindresorhus.com"},"type":"module","exports":"./index.js","engines":{"node":"^12.20.0 || ^14.13.1 || >=16.0.0"},"scripts":{"test":"xo && ava && tsd"},"keywords":["ps","proc","process","processes","list","running","tasklist"],"devDependencies":{"ava":"^3.15.0","tsd":"^0.18.0","xo":"^0.46.4"},"types":"./index.d.ts","gitHead":"6dbe8d6f67b97e2384e135c11d9a8450709f1b50","bugs":{"url":"https://github.com/sindresorhus/ps-list/issues"},"homepage":"https://github.com/sindresorhus/ps-list#readme","_id":"ps-list@8.1.1","_nodeVersion":"14.21.1","_npmVersion":"8.19.2","dist":{"integrity":"sha512-OPS9kEJYVmiO48u/B9qneqhkMvgCxT+Tm28VCEJpheTpl8cJ0ffZRRNgS5mrQRTrX5yRTpaJ+hRDeefXYmmorQ==","shasum":"9ff1952b26a9a07fcc05270407e60544237ae581","tarball":"http://registry-npm.ywwl.com/ps-list/download/ps-list-8.1.1.tgz","fileCount":7,"unpackedSize":494601,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC7xmCszgnzZOjrHBaBeLVhzKDwA+5pT38MZAHQ5G/aOQIgcZJApS0enAG0FZ8fxkE9MP7NgeU4/124PwOFLJ/wR6o="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjqYnYACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmr9Lg/8Cfpor3IKCEf6R5CgKRnbrmlKyQtYfPE/k+NjYqWEAa9E72kl\r\ny+eDvtaezKs5yRf4tbp3B5CvQCt79C9XihJS/KacHcMO1wfNIN882INYmiA1\r\nj9nZkL6Cp5qgY/LZ/0po4R0NKssOQVi37WeVWrOk1Bsbf/MATu+HLfI8tlc2\r\nXoLhrP/WsXQHkflIaJfzLF1ulke07TLILlgwJuaM9bvajvP0C1EKbln7IeM5\r\nZYFWcXVN++iK6WrI3IjYrlcM2IZfiuo1r9oY02AO3F/awe6MEQqzoRY90g6V\r\nq6JLmdQWenFmAxKIpcAFeybxGUDW37K2+5PHtGKwm/xfUqpBpkybYUYs71Kw\r\nZGCBj1YvpLWX8dn29rFMnxa1bCg468cpJ91lVxZBcbFeG1yo0SWWJLr3USZw\r\nFyelb/tBrwqyzeS9nHyRNvNJAtIh75P1NGX3DUc7M4w35MDoh2k4bjZasgMT\r\nZaBR3TuaKXjXwJo2De6RHqpvd+7o0djWpb9a8p8nfDIMdXI1gDM5m2BlK9Iu\r\nerpFWq+dp10LEvU/PyNCFsfCZwK5XJCZpGHvicNL4H5atV/KFyHglxwt/KxI\r\nsRk1DA3d4LsARnd9ERytvn5s7+MLdQtpo/dFKbmRxXxlVGNW+euUe6fFM+6g\r\nXMS2QJeyY5dO0b6Za/APLjaslooSf2HrsJs=\r\n=G+Cp\r\n-----END PGP SIGNATURE-----\r\n","size":261264,"noattachment":false,"key":"/ps-list/-/ps-list-8.1.1.tgz"},"_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"directories":{},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ps-list_8.1.1_1672055256716_0.03163684392695143"},"_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":1672055256892,"_cnpm_publish_time":1672055256892,"dist-tags":{"latest":"9.0.0"}}