stretchr/arg.js
Lightweight URL argument and parameter parser observed · 2026-08-28
Health v2 · maintenance only
23/100
- Activity 0
- Release rhythm 8
- Longevity 100
Flags: no_license
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 4724
- days_rel: n/a
- days_push: 3374
- n_releases_24m: 0
Adoption not part of the score
1053 stars · 44 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A lightweight JavaScript library for parsing URL query string and hash parameters, including nested objects and arrays. It provides simple accessors like Arg(key) to read values from both the query segment and the hash segment of a URL.
Use cases
- parse query string parameters from a url in javascript
- read url arguments including hash fragment params
- get nested objects and arrays from query parameters
- parse url params with default values
- build urls with query parameters and anchors
- coerce query string values to native types
When to choose
- you need a tiny dependency-free way to read query and hash parameters in the browser
- your URLs encode nested objects or arrays in query parameters
- you want simple key-based access with optional defaults and type coercion
When to avoid
- you need a modern, actively maintained library with recent security updates
- you are using a framework with a built-in router or query parsing solution
- you need server-side URL parsing with full WHATWG URL standards compliance
Facets
library · maturity maintenance
parser developer-tools web-development frontend developer-tools browser url-parameters query-string querystring-parser javascript lightweight nodejs
1 source
- readme: https://github.com/stretchr/arg.js · fetched 2026-08-28 · f5ad44b9c6e0
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| stretchr/arg.js | main | 23 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem