{"id":37527570,"url":"https://github.com/getargv/getargv.js","last_synced_at":"2026-01-20T18:08:08.771Z","repository":{"id":65231392,"uuid":"588438334","full_name":"getargv/getargv.js","owner":"getargv","description":"Node.js bindings for libgetargv","archived":false,"fork":false,"pushed_at":"2025-11-18T14:35:32.000Z","size":273,"stargazers_count":0,"open_issues_count":5,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-11-18T16:41:09.846Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://getargv.github.io/getargv.js/interfaces/GetArgv.html","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/getargv.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2023-01-13T05:41:02.000Z","updated_at":"2025-11-18T14:35:36.000Z","dependencies_parsed_at":"2024-08-09T18:46:29.516Z","dependency_job_id":"638ae91d-39e9-4e7e-b15e-7988f775df95","html_url":"https://github.com/getargv/getargv.js","commit_stats":{"total_commits":37,"total_committers":1,"mean_commits":37.0,"dds":0.0,"last_synced_commit":"72ece1e49fe7d58c3745de7d27d910b502c53cb5"},"previous_names":[],"tags_count":32,"template":false,"template_full_name":null,"purl":"pkg:github/getargv/getargv.js","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/getargv%2Fgetargv.js","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/getargv%2Fgetargv.js/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/getargv%2Fgetargv.js/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/getargv%2Fgetargv.js/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/getargv","download_url":"https://codeload.github.com/getargv/getargv.js/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/getargv%2Fgetargv.js/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28478047,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-16T06:30:42.265Z","status":"ssl_error","status_checked_at":"2026-01-16T06:30:16.248Z","response_time":107,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":[],"created_at":"2026-01-16T08:25:14.485Z","updated_at":"2026-01-16T08:25:17.143Z","avatar_url":"https://github.com/getargv.png","language":"JavaScript","funding_links":["https://github.com/sponsors/CamJN"],"categories":[],"sub_categories":[],"readme":"\u003ch1\u003e\u003cimg src=\"logo.svg\" width=\"200\" alt=\"getargv\"\u003e\u003c/h1\u003e\n\n[![Node.js](https://github.com/getargv/getargv.js/actions/workflows/node.yml/badge.svg)](https://github.com/getargv/getargv.js/actions/workflows/node.yml)\n[![npm version](https://badge.fury.io/js/@camjn%2Fgetargv.svg)](https://badge.fury.io/js/@camjn%2Fgetargv)\n\nThis module allows you to query the arguments of other processes on macOS.\n\n## Module Installation\n\n - Install `libgetargv` to your system (see below).\n - Install the module and add to the application's package.json by executing:\n\n    $ npm install --save-optional @camjn/getargv\n\nSaving this module as optional is important because it can only build on macOS, so npm needs to be able to exclude it on other OSs.\n\n## Library Installation\n\n - To get access to `libgetargv`, sign up for an appropriate [sponsorship tier](https://github.com/sponsors/CamJN).\n - Clone the `libgetargv` repo: `git clone https://github.com/getargv/getargv.git`.\n - Running `make install_dylib`, installs the library to the `/usr/local/` prefix by default; you can change the install location with the `PREFIX` `make` variable: `make PREFIX=/opt install_dylib`.\n\n## Building `libgetargv`\n\nI've built `libgetargv` on macOS 10.7-13, using only the \u003cabbr title=\"Command Line Tools\"\u003eCLT\u003c/abbr\u003e package, not the full Xcode install. If you need to override variables, do so inside the `make` command, eg: `make EXTRA_CPPFLAGS=-DMACRO EXTRA_CFLAGS=-std=c17 dylib`.\n\n## Usage\n\n```js\nimport { get_argv_of_pid as get_argv_of_pid_as_string, get_argv_and_argc_of_pid as get_argv_of_pid_as_array } from \"@camjn/getargv\";\nget_argv_of_pid_as_string(some_process_id) //=\u003e \"arg0\\x00arg1\"\nget_argv_of_pid_as_array(some_process_id) //=\u003e [\"arg0\",\"arg1\"]\n```\n\nDocs here: https://getargv.github.io/getargv.js/interfaces/GetArgv.html\n\n## Development\n\nAfter checking out the repo, run `npm i` to install dependencies. Then, run `npm run test` to run the tests. You can also run `npm run console` for an interactive prompt that will allow you to experiment.\n\nTS code goes in the `lib` dir, C code goes in the `src` dir.\n\nTo install this module onto your local machine, run `npm install`. To release a new version, run `npm version patch` to update the version number in `package.json` and create a git tag for the version, and push git commits and the created tag to the git origin; and then run `npm publish`, which will push the module to [npm](https://www.npmjs.com).\n\n## Contributing\n\nBug reports and pull requests are welcome on GitHub at https://github.com/getargv/getargv.js.\n\n## License\n\nThe module is available as open source under the terms of the [BSD 3-clause License](https://opensource.org/licenses/BSD-3-Clause).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgetargv%2Fgetargv.js","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgetargv%2Fgetargv.js","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgetargv%2Fgetargv.js/lists"}