{"name":"ps-list","version":"4.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":">=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":"ddfdd986116756def47c2c49deba7bc231c3fc4b","bugs":{"url":"https://github.com/sindresorhus/ps-list/issues"},"homepage":"https://github.com/sindresorhus/ps-list#readme","_id":"ps-list@4.1.0","_npmVersion":"5.6.0","_nodeVersion":"8.11.1","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"integrity":"sha512-DSpMj8PI5W7v2G4+rE+BymTKZPjlu6t/M1N6rPAa6Hwn+/e8jDmFJaq8/kpoGCvwd75g2h5DbjF2MduOMNyrsQ==","shasum":"8ffd6434add37f9dd1a9f19ab1beb42c9db60dae","tarball":"http://registry-npm.ywwl.com/ps-list/download/ps-list-4.1.0.tgz","fileCount":4,"unpackedSize":4138,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa6HkyCRA9TVsSAnZWagAAX3wP+wegrL4yZkt7kVitBvOe\nFWY6S1qkxZFqPPhmQc5lp2qyFHv8s7VjhER1MprDO/MrUr90CX4BBB4ptzW9\nuAHTHEXPEi8hMy+ql/NHCNZ1sv79YppXk1yU433sonFdLbOTrXfZ8Qh1zPvL\n3dyqzZNnLcfNdbxE6wxzZpvCfQjO8YujTlthQ6g9khndcf5UYZ/v9kAdQH+Z\noMtbRJBMRWFDnPbWyReTHP7jnv8/oLd294tHv3RY+zmECSC0m/i5SWIHs6rt\nDDugjx2SFUL/cM0SJBc/Pu6/SNT+E+avBBkpEycg5UNjAegH2wxkOpQbKMaY\n2jB1sA+51l8VC8BadjuTe3aF7uLk95DGtU22ZvkgfiYpAQ7TAZD/ZuR1WEQS\nwhm5a5O9mfj2X8aL4sKJmh/q6QNOVwj+nPXn6qNs4eJN3U6aaQmBIUXpskj3\nWxdqvQxQdKAn3S/VUt68izBGN5MfYX29Mw4mYzrpcFx0geBBe20Hg0rIpQMY\nbg6QyHtv1zMGqJSgiP0/oOH14+3x6UEXfmaIi+8lXSFjoY+2GwzDpH5u14Bc\npFIHvqrWnXvcmeC2EVM+qRVoPKgDuTdGJo9aDKERkUufBjfgVBZk/CIuPSim\nwGrkPKKB3/lBWGvhJjaPMprRzEjmbkkX2iQ2bbapWGf6qhnUxZz4PvgRMF9p\nfLQE\r\n=x79b\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEGTbS24UN7kQYHN6ZmzOqQos7poi44QqVwMaXCfPMuWAiBz3xOZVJd++4FvtIUttJMpYZgBwy6QdYDCev2+fGuRuA=="}],"size":2249,"noattachment":false,"key":"/ps-list/-/ps-list-4.1.0.tgz"},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ps-list_4.1.0_1525184817258_0.5471445870209914"},"_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":1525184817357,"_cnpm_publish_time":1525184817357,"dist-tags":{"latest":"9.0.0"}}