{"_id":"@cjser/ps-list__v8_1_1","name":"@cjser/ps-list__v8_1_1","dist-tags":{"latest":"8.1.1-cjser.2"},"versions":{"8.1.1-cjser.2":{"name":"@cjser/ps-list__v8_1_1","version":"8.1.1-cjser.2","description":"Get running processes","license":"MIT","repository":{"type":"git","url":"https://code.moenext.com/3rdeye/cjser.git"},"funding":"https://github.com/sponsors/sindresorhus","author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"type":"module","exports":{"require":"./dist-cjser/index.cjs","default":"./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"},"main":"./dist-cjser/index.cjs","cjser":{"sourceVersion":"8.1.1","cjserVersion":2,"original":{"name":"ps-list","version":"8.1.1","exports":"./index.js","repository":"sindresorhus/ps-list","files":["index.js","index.d.ts","vendor/*.exe"],"scripts":{"test":"xo && ava && tsd"}}},"_id":"@cjser/ps-list__v8_1_1@8.1.1-cjser.2","gitHead":"a4bef54d7d22d3d9a6b84528457938d84cd65fe7","_nodeVersion":"20.14.0","_npmVersion":"10.7.0","dist":{"integrity":"sha512-Zrc7moV5GY9wzodx1yCbOYOjqtHyjumdhv1iMw7zEss16TogT8Mhwrb8qG6eTaOag0dxCzk19lp6RMExj4C2Jw==","shasum":"4f5711b46f23d5c5c7a079d2ddb5c4d1017c7e45","tarball":"https://registry.npmjs.org/@cjser/ps-list__v8_1_1/-/ps-list__v8_1_1-8.1.1-cjser.2.tgz","fileCount":8,"unpackedSize":501279,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIBiOLkBTixNnoKg4n85QCmQ5aOQZ8kUGYOKnHGubAgLlAiEAnLQ5V6xt0x6SNG8GKazzwngX6nRdSn9Ge4CIZ0lxjqg="}]},"_npmUser":{"name":"nanahira","email":"nanahira@momobako.com"},"directories":{},"maintainers":[{"name":"nanahira","email":"nanahira@momobako.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/ps-list__v8_1_1_8.1.1-cjser.2_1778159681432_0.4086482355115797"},"_hasShrinkwrap":false}},"time":{"created":"2026-05-07T13:14:41.376Z","8.1.1-cjser.2":"2026-05-07T13:14:41.614Z","modified":"2026-05-07T13:14:41.801Z"},"maintainers":[{"name":"nanahira","email":"nanahira@momobako.com"}],"description":"Get running processes","keywords":["ps","proc","process","processes","list","running","tasklist"],"repository":{"type":"git","url":"https://code.moenext.com/3rdeye/cjser.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"license":"MIT","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\n## cjser\n\nThis package is a CommonJS-compatible build generated by cjser for projects that still need `require()` support. The source version matches the original npm package version, with a cjser prerelease suffix for this generated build.\nOriginal repository: https://github.com/sindresorhus/ps-list\n","readmeFilename":"readme.md","_rev":"1-c104f99c45999f7a6e1e268bad003896"}