{"id":16758429,"url":"https://github.com/kessler/parse-arguments","last_synced_at":"2025-06-20T01:04:36.343Z","repository":{"id":57124441,"uuid":"260045161","full_name":"kessler/parse-arguments","owner":"kessler","description":"parse command line style positional and named arguments, eg. `cmd positional --name=foo`","archived":false,"fork":false,"pushed_at":"2020-04-29T22:47:46.000Z","size":3,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-20T01:03:00.668Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kessler.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-04-29T21:01:47.000Z","updated_at":"2020-05-21T06:15:30.000Z","dependencies_parsed_at":"2022-08-27T12:53:05.342Z","dependency_job_id":null,"html_url":"https://github.com/kessler/parse-arguments","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/kessler/parse-arguments","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kessler%2Fparse-arguments","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kessler%2Fparse-arguments/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kessler%2Fparse-arguments/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kessler%2Fparse-arguments/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kessler","download_url":"https://codeload.github.com/kessler/parse-arguments/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kessler%2Fparse-arguments/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260857363,"owners_count":23073435,"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":[],"created_at":"2024-10-13T04:05:16.769Z","updated_at":"2025-06-20T01:04:31.321Z","avatar_url":"https://github.com/kessler.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# parse-arguments\nA small lib for parsing command line arguments strings or arrays. E.g:\n\n```\"positional --flag --namedArgument=namedParam\"```\n\n# Install\n```\nnpm i -S @kessler/parse-arguments\n```\n\n# Example\n```js\nconst parseArguments = require('@kessler/parse-arguments')\n\nconst { positional, named, warnings } = parseArguments('positional --flag --named1 val1 --named2=val2')\n\n// an array works too:\nparseArguments(['positional', '--flag', '--namedArgument', 'namedParam'])\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkessler%2Fparse-arguments","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkessler%2Fparse-arguments","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkessler%2Fparse-arguments/lists"}