pnpm
Version:
Fast, disk space efficient package manager
115 lines (114 loc) • 7.24 kB
JSON
{
"_args": [
[
{
"raw": "tasklist@^3.1.0",
"scope": null,
"escapedName": "tasklist",
"name": "tasklist",
"rawSpec": "^3.1.0",
"spec": ">=3.1.0 <4.0.0",
"type": "range"
},
"/home/zoltan/src/pnpm/pnpm/packages/pnpm/node_modules/ps-list"
]
],
"_from": "tasklist@>=3.1.0 <4.0.0",
"_id": "tasklist@3.1.1",
"_inCache": true,
"_location": "/tasklist",
"_nodeVersion": "8.11.3",
"_npmOperationalInternal": {
"host": "s3://npm-registry-packages",
"tmp": "tmp/tasklist_3.1.1_1533836175491_0.7409850048167046"
},
"_npmUser": {
"name": "sindresorhus",
"email": "sindresorhus@gmail.com"
},
"_npmVersion": "6.3.0",
"_phantomChildren": {},
"_requested": {
"raw": "tasklist@^3.1.0",
"scope": null,
"escapedName": "tasklist",
"name": "tasklist",
"rawSpec": "^3.1.0",
"spec": ">=3.1.0 <4.0.0",
"type": "range"
},
"_requiredBy": [
"/ps-list"
],
"_resolved": "https://registry.npmjs.org/tasklist/-/tasklist-3.1.1.tgz",
"_shasum": "84cb49f8359b9ed0451dd1d9b6111da18107dbd5",
"_shrinkwrap": null,
"_spec": "tasklist@^3.1.0",
"_where": "/home/zoltan/src/pnpm/pnpm/packages/pnpm/node_modules/ps-list",
"author": {
"name": "Sindre Sorhus",
"email": "sindresorhus@gmail.com",
"url": "sindresorhus.com"
},
"bugs": {
"url": "https://github.com/sindresorhus/tasklist/issues"
},
"dependencies": {
"neat-csv": "^2.1.0",
"pify": "^2.2.0",
"sec": "^1.0.0"
},
"description": "Wrapper for the Windows `tasklist` command. Returns a list of apps and services with their Process ID (PID) for all tasks running on either a local or a remote computer.",
"devDependencies": {
"ava": "*",
"xo": "*"
},
"directories": {},
"dist": {
"integrity": "sha512-G3I7QWUBSNWaekrJcDabydF6dcvy+vZ2PrX04JYq1p914TOLgpN+ryMtheGavs1LYVevTbTmwjQY8aeX8yLsyA==",
"shasum": "84cb49f8359b9ed0451dd1d9b6111da18107dbd5",
"tarball": "https://registry.npmjs.org/tasklist/-/tasklist-3.1.1.tgz",
"fileCount": 4,
"unpackedSize": 6633,
"npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbbHuQCRA9TVsSAnZWagAAa9oP/0t2MfAI0jbkySLGivxi\nqgYsMkm3GhP814CxbTI/u6+ZGeVcNp2sXo21gAPTCKb6SePzVK4+FjccxDE5\nAZHS8kCI/QsoSt7OaQ6t8kNXAkx/GuXsXE91K5deDSg6ciMawz3BwVrDPqtX\nedUNoDB8hlOnjuwx582sWmJmq7adLYklTtg47BQZFuSIpFv0D1xIrsXCMYvK\nbiUji6y5hv8iIWlyoT6ReRzC1nx02yHYT1VqKv0xqIJjWApi4LsCf+QWXh5U\n3oUoShdGM6D3qiNxAybvmi/YimBVBTZApmK7luJlrnQcRj+0XPrJ+kljtChD\nBZptkV5UhjWbanY/dBe56FAjlztYV9qOd+8ANkWbcBCOvEgxwFY9Rt5LfLjA\nTSkkkWFv26qf3wcAfxwCoFMhnQzstLggJdjHQ9hMOwbTGq6QeyVXVVwt34Pl\nXsPvrR52tIUhD74kNmAUkqS71PhWmQTcdDbA3B73lLbSl2LmXp6nqkc0zuaN\nLAuZrSfCOecb4xqFvSNU4PHhaI7j6AkG6i5CYVXBpx7rbKb3Hqw6c4FeqhB8\ngW/YwtWJU9IA4jNt6fPQKroLA1g5wVTcWZ1OyxoiwrXbcMw/GG9meM5mJF1P\nsrD9ezT3BYkPvKu4M913gUvYuu/f8Wh27UmWaCFsiXgcO8zXBjgbAhCYlLPI\nouwr\r\n=rfra\r\n-----END PGP SIGNATURE-----\r\n"
},
"engines": {
"node": ">=4"
},
"files": [
"index.js"
],
"gitHead": "ba69f5f5fa9536e8c4cd2f61d55bd28245eafcb6",
"homepage": "https://github.com/sindresorhus/tasklist#readme",
"keywords": [
"tasklist",
"task",
"list",
"windows",
"win",
"win32",
"pid",
"process",
"processes",
"services"
],
"license": "MIT",
"maintainers": [
{
"name": "sindresorhus",
"email": "sindresorhus@gmail.com"
}
],
"name": "tasklist",
"optionalDependencies": {},
"readme": "# tasklist [](https://ci.appveyor.com/project/sindresorhus/tasklist/branch/master)\n\n> Wrapper for the Windows [`tasklist`](https://technet.microsoft.com/en-us/library/bb491010.aspx) command. Returns a list of apps and services with their Process ID (PID) for all tasks running on either a local or a remote computer.\n\nCleans up and normalizes the data.\n\n\n## Install\n\n```\n$ npm install --save tasklist\n```\n\n\n## Usage\n\n```js\nconst tasklist = require('tasklist');\n\ntasklist().then(tasks => {\n\tconsole.log(tasks);\n\t/*\n\t[{\n\t\timageName: 'taskhostex.exe',\n\t\tpid: 1820,\n\t\tsessionName: 'Console',\n\t\tsessionNumber: 1,\n\t\tmemUsage: 4415488,\n\t}, …]\n\t*/\n});\n```\n\n\n## API\n\nSee the [`tasklist` docs](https://technet.microsoft.com/en-us/library/bb491010.aspx) for more.\n\n### tasklist([options])\n\nReturns a `Promise<Array>` with running tasks.\n\n#### options\n\nType: `Object`\n\nThe `system`, `username`, `password` options must be specified together.\n\n##### verbose\n\nType: `boolean`<br>\nDefault: `false`\n\nReturn verbose results.\n\nWithout the `verbose` option, `taskkill` returns tasks with the following properties:\n\n- `imageName` (Type: `string`)\n- `pid` (Type: `number`)\n- `sessionName` (Type: `string`)\n- `sessionNumber` (Type: `number`)\n- `memUsage` in bytes (Type: `number`)\n\nWith the `verbose` option set to `true`, it additionally returns the following properties:\n\n- `status` (Type: `string`): One of `Running`, `Suspended`, `Not Responding`, or `Unknown`\n- `username` (Type: `string`)\n- `cpuTime` in seconds (Type: `number`)\n- `windowTitle` (Type: `string`)\n\n**Note:** It's not guaranteed that the `username` and `windowTitle` properties are returned with proper values. If they are *not available*, `'N/A'` may be returned on English systems. In contrast, `'Nicht zutreffend'` may be returned on German systems, for example.\n\n**Verbose example:**\n\n```js\nconst tasklist = require('tasklist');\n\ntasklist({verbose: true}).then(tasks => {\n\tconsole.log(tasks);\n\t/*\n\t[{\n\t\timageName: 'taskhostex.exe',\n\t\tpid: 1820,\n\t\tsessionName: 'Console',\n\t\tsessionNumber: 1,\n\t\tmemUsage: 4415488,\n\t\tstatus: 'Running',\n\t\tusername: 'SINDRESORHU3930\\\\sindre'\n\t\tcpuTime: 0,\n\t\twindowTitle: 'Task Host Window'\n\t}, …]\n\t*/\n});\n```\n\n**Warning:** Using the `verbose` option may have a considerable performance impact (See: [#6](https://github.com/sindresorhus/tasklist/issues/6)).\n\n##### system\n\nType: `string`\n\nName or IP address of a remote computer (don't use backslashes). The default is the local computer.\n\n##### username\n\nType: `string`<br>\nExample: `SINDRESORHU3930\\\\sindre`\n\nUser specified by `User` or `Domain\\User`. The default is the permissions of the current logged on user on the computer issuing the command.\n\n##### password\n\nType: `string`\n\nPassword of the user account for the specified `username`.\n\n##### filter\n\nType: `array`\n\nSpecify the types of processes to include or exclude. [More info.](https://technet.microsoft.com/en-us/library/bb491010.aspx)\n\n\n## Related\n\n- [taskkill](https://github.com/sindresorhus/taskkill) - Wrapper for the Windows `taskkill` command\n\n\n## Maintainers\n\n- [Sindre Sorhus](https://sindresorhus.com)\n- [Mark Tiedemann](https://marksweb.site)\n\n\n## License\n\nMIT\n",
"readmeFilename": "readme.md",
"repository": {
"type": "git",
"url": "git+https://github.com/sindresorhus/tasklist.git"
},
"scripts": {
"test": "xo && ava"
},
"version": "3.1.1"
}