{"id":14976955,"url":"https://github.com/zagrios/query-process","last_synced_at":"2025-10-27T21:31:58.185Z","repository":{"id":216389829,"uuid":"741195442","full_name":"Zagrios/query-process","owner":"Zagrios","description":"Gather information about running processes","archived":false,"fork":false,"pushed_at":"2024-01-14T01:09:47.000Z","size":1317,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-08T14:03:04.380Z","etag":null,"topics":["cross-platform","linux","napi-rs","nodejs","processes","rust","winapi","windows"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Zagrios.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2024-01-09T22:26:53.000Z","updated_at":"2024-06-25T12:06:44.000Z","dependencies_parsed_at":"2024-01-11T00:55:00.532Z","dependency_job_id":"45c7c30d-3210-4345-bb2c-79e9b1fc66a5","html_url":"https://github.com/Zagrios/query-process","commit_stats":{"total_commits":35,"total_committers":1,"mean_commits":35.0,"dds":0.0,"last_synced_commit":"4fceb6263541ecd878d459ada43d76634f153c56"},"previous_names":["zagrios/query-process"],"tags_count":3,"template":false,"template_full_name":"napi-rs/package-template","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Zagrios%2Fquery-process","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Zagrios%2Fquery-process/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Zagrios%2Fquery-process/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Zagrios%2Fquery-process/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Zagrios","download_url":"https://codeload.github.com/Zagrios/query-process/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238561660,"owners_count":19492760,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cross-platform","linux","napi-rs","nodejs","processes","rust","winapi","windows"],"created_at":"2024-09-24T13:54:44.229Z","updated_at":"2025-10-27T21:31:57.709Z","avatar_url":"https://github.com/Zagrios.png","language":"JavaScript","readme":"# Query-Process\n\u003ca href=\"https://github.com/Zagrios/query-process/actions\"\u003e\u003cimg alt=\"GitHub CI Status\" src=\"https://github.com/Zagrios/query-process/workflows/CI/badge.svg\"\u003e\u003c/a\u003e\n\n `query-process` is a native Node.js npm library built with NAPI-RS, designed for querying information about external processes. Its initial capability includes checking if a process is running with elevated privileges, with plans for additional features in future updates.\n\n## Installation\n\n```\nnpm install query-process\n```\n\n## Configuration\n`query-process` is configured to support multiple platforms, as specified in the `napi` section of `package.json`. This includes various architectures such as Linux, Windows, and Android.\n\n## Usage\n\nAfter installation, you can require query-process in your Node.js application.\n\n```js\nimport queryProcess from 'query-process';\n```\n```js\nconst queryProcess = require('query-process');\n```\n\n# Features\nThe library currently supports:\n- `isElevated`: Synchronously checks if a process is running with elevated privileges.\n\nMore features are planned for future releases.\n\n## Examples\n\n### isElevated\n```js\nimport { isElevated } from 'query-process';\n\ntry {\n  const elevated = isElevated(123);\n  console.log(elevated);\n} catch (err) {\n  console.error(err);\n}\n```\n\n# Test or Contributing\n\n- Clone this repo\n- Install latest stable Rust\n- Install Node.js 10+\n- Install dependencies with `npm install`\n- Build Rust bindings with `npm run build`\n- Run `npm test`\n\n## Release package\n\nWe use GitHub actions to automatically publish npm packages.\n\n```bash\n# 1.0.0 =\u003e 1.0.1\nnpm version patch\n\n# or 1.0.0 =\u003e 1.1.0\nnpm version minor\n```\n\n# License\n`query-process` is made available under the MIT License. For more information, see the LICENSE file in the repository.\n\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzagrios%2Fquery-process","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzagrios%2Fquery-process","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzagrios%2Fquery-process/lists"}