{"name":"ps-list","version":"6.1.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":"70fa23b51f48a30715aef2dac2afb7deabed3533","bugs":{"url":"https://github.com/sindresorhus/ps-list/issues"},"homepage":"https://github.com/sindresorhus/ps-list#readme","_id":"ps-list@6.1.0","_nodeVersion":"8.15.0","_npmVersion":"6.6.0","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"integrity":"sha512-uNhwERiQ7chzQ9zbqYVx45UbrIyZDci+5lGhrSB8sa4TDtU2/0rQbTAQDeFjXbut5zml76A5Nc7GzWJ2xYhOrw==","shasum":"6dd35ff4ce03beab6fe12c9ef02058c812a8e1e4","tarball":"http://registry-npm.ywwl.com/ps-list/download/ps-list-6.1.0.tgz","fileCount":5,"unpackedSize":49382,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcRJOFCRA9TVsSAnZWagAAFBEP/0RxS1H7CYSX1QCaDAMx\naEaaHTC9kigx+c8Bnxn0PtiDXTfi5EUJfbTi5nkg1Bca6K56uoF1IirjkgZR\nsh4b3x5NNWh73Y6XktVKVj/iWYxFSACW2VuUdHLNfIj8Hs02oqclsmrC2djZ\nAn/TWoev30sgfXQXlVJC5+IXU0qh41+l4sz8T5vlzZTnLR6AAkR8DRJIA4w1\n6wvQl2Pc/86VtPESrmLSy/tA83F1YZMik+aCH0ArXI96z1iazXIeIPfPWcqR\nOu3/sTyj33r7L4dOmmxNcmsyuQPPU+NL9T3toyoU788ksYDhZFDlpzbs4/kK\nCXkk1E/ULSwqpmk+X0FDVR7L/ykCEb5CAGMvz6nvGNrS/sZ1VOPt0GirqflI\nazuiTUOKzRP8d7RnuoHO7LMi6fIlOt4CNZsN9qYW009InA4Kk9ksHqjpcHO4\ncyC3WVejHsLQDrxeai7LTnbO98ieV96wSRBYlBfLZIGZ8oZFUr2J80iFr+hy\nxMSLilf7fQPy5DzSMm9wvZQ5ueNuWQ9mPpUzNMF4lbOWZj8L8tdmuTqTh0FA\npsaEx3MuLuI0fXvbJLwXw/rMF/evrkdA0kQNYfXxvCmBNIS2EXwps10oYlVg\nyxnUIe5tNZXOegkvgMz9WVSf1njWfvXsXv95LfeHmF2krxQgZKuGWYlAeQ19\nfTyL\r\n=lNkb\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDhc2c0Fm0c2dd/UPdUlW9Y5IPgAg20uDflsQP7D39waAiEAkUXaM6TWDP/DEf0VRXWby5EyrC4bSQOyyhXiYyFF1Ic="}],"size":25570,"noattachment":false,"key":"/ps-list/-/ps-list-6.1.0.tgz"},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ps-list_6.1.0_1547998084296_0.809416074437078"},"_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":1547998084491,"_cnpm_publish_time":1547998084491,"dist-tags":{"latest":"9.0.0"}}