UNPKG

@zkochan/pnpm

Version:

Fast, disk space efficient package manager

111 lines (110 loc) 4.65 kB
{ "_args": [ [ { "raw": "ps-list@^4.0.0", "scope": null, "escapedName": "ps-list", "name": "ps-list", "rawSpec": "^4.0.0", "spec": ">=4.0.0 <5.0.0", "type": "range" }, "/home/zkochan/src/pnpm/packages/pnpm/node_modules/process-exists" ] ], "_from": "ps-list@>=4.0.0 <5.0.0", "_id": "ps-list@4.1.0", "_inCache": true, "_location": "/ps-list", "_nodeVersion": "8.11.1", "_npmOperationalInternal": { "host": "s3://npm-registry-packages", "tmp": "tmp/ps-list_4.1.0_1525184817258_0.5471445870209914" }, "_npmUser": { "name": "sindresorhus", "email": "sindresorhus@gmail.com" }, "_npmVersion": "5.6.0", "_phantomChildren": {}, "_requested": { "raw": "ps-list@^4.0.0", "scope": null, "escapedName": "ps-list", "name": "ps-list", "rawSpec": "^4.0.0", "spec": ">=4.0.0 <5.0.0", "type": "range" }, "_requiredBy": [ "/process-exists" ], "_resolved": "https://registry.npmjs.org/ps-list/-/ps-list-4.1.0.tgz", "_shasum": "8ffd6434add37f9dd1a9f19ab1beb42c9db60dae", "_shrinkwrap": null, "_spec": "ps-list@^4.0.0", "_where": "/home/zkochan/src/pnpm/packages/pnpm/node_modules/process-exists", "author": { "name": "Sindre Sorhus", "email": "sindresorhus@gmail.com", "url": "sindresorhus.com" }, "bugs": { "url": "https://github.com/sindresorhus/ps-list/issues" }, "dependencies": { "pify": "^3.0.0", "tasklist": "^3.1.0" }, "description": "Get running processes", "devDependencies": { "ava": "*", "xo": "*" }, "directories": {}, "dist": { "integrity": "sha512-DSpMj8PI5W7v2G4+rE+BymTKZPjlu6t/M1N6rPAa6Hwn+/e8jDmFJaq8/kpoGCvwd75g2h5DbjF2MduOMNyrsQ==", "shasum": "8ffd6434add37f9dd1a9f19ab1beb42c9db60dae", "tarball": "https://registry.npmjs.org/ps-list/-/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" }, "engines": { "node": ">=4" }, "files": [ "index.js" ], "gitHead": "ddfdd986116756def47c2c49deba7bc231c3fc4b", "homepage": "https://github.com/sindresorhus/ps-list#readme", "keywords": [ "ps", "proc", "process", "processes", "list", "running", "tasklist" ], "license": "MIT", "maintainers": [ { "name": "sindresorhus", "email": "sindresorhus@gmail.com" } ], "name": "ps-list", "optionalDependencies": {}, "readme": "# ps-list [![Build Status](https://travis-ci.org/sindresorhus/ps-list.svg?branch=master)](https://travis-ci.org/sindresorhus/ps-list) [![Build status](https://ci.appveyor.com/api/projects/status/i733mfqw11sja2xf/branch/master?svg=true)](https://ci.appveyor.com/project/sindresorhus/ps-list/branch/master)\n\n> Get running processes\n\nWorks on macOS, Linux, and Windows.\n\n\n## Install\n\n```\n$ npm install ps-list\n```\n\n\n## Usage\n\n```js\nconst psList = require('ps-list');\n\npsList().then(data => {\n\tconsole.log(data);\n\t//=> [{pid: 3213, name: 'node', cmd: 'node test.js', cpu: '0.1', memory: '1.5'}, ...]\n});\n```\n\n> The `cpu` and `memory` percentage is not supported on Windows.\n\n\n## API\n\n### psList([options])\n\nReturns a `Promise<Array>` with the running processes.\n\n#### options\n\nType: `Object`\n\n##### all\n\nType: `boolean`<br>\nDefault: `true`\n\nReturn 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\n## License\n\nMIT © [Sindre Sorhus](https://sindresorhus.com)\n", "readmeFilename": "readme.md", "repository": { "type": "git", "url": "git+https://github.com/sindresorhus/ps-list.git" }, "scripts": { "test": "xo && ava" }, "version": "4.1.0" }