# unshiftio/url-parse

Small footprint URL parser that works seamlessly across Node.js and browser environments.

Repository: https://github.com/unshiftio/url-parse
Canonical: https://ross.abutalabs.com/products/url-parse
Homepage: http://unshift.io
Language: JavaScript
License: MIT
License Family: permissive
Last push: 2023-01-04T21:12:05+00:00

## Health v2 (maintenance only)
Score: 32/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 4342, "days_push": 1337, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1034, forks 112 (observed 2026-08-28T04:03:18.678703+00:00)

## What it is
A small-footprint URL parser library for JavaScript that works in both Node.js and browser environments, exposing both Node's url-style API and the WHATWG URL interface. It also bundles a querystring module for parsing and stringifying query strings.

## Use cases
- parse urls into components in node and the browser
- parse relative urls against a base url
- extract query string parameters from a url
- stringify query objects into query strings
- parse urls in web workers without DOM access
- keep bundle size small when parsing urls client-side

## When to choose
- you need a tiny isomorphic URL parser for legacy environments lacking the WHATWG URL API
- you need Node-style url.parse output in the browser
- you need bundled querystring parsing/stringifying

## When to avoid
- you target modern Node.js or browsers where the native URL interface is available (the README recommends using it instead)
- you need maximum security and accuracy in URL parsing
- you need active development or new features

## Facets
- artifact type: library
- maturity: maintenance
- function: parser, serialization
- domain: web-development, developer-tools, apis
- platform: browser, cross-platform
- tags: url-parsing, querystring, uri, small-footprint, isomorphic, nodejs, javascript

## Member repositories
- unshiftio/url-parse (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:18.678703+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T07:06:36.371526+00:00, confidence not recorded.
  - readme: https://github.com/unshiftio/url-parse (fetched 2026-08-28T04:03:18.678703+00:00, sha 37ac8788a302)
  - homepage: http://unshift.io (fetched 2026-08-29T13:06:07.340672+00:00, sha 539e0d1684af)
  - registry_npm: https://registry.npmjs.org/url-parse (fetched 2026-08-29T13:06:07.343102+00:00, sha 5ffe9bc5f9b3)
- Data as of 2026-08-30T08:39:29.467469+00:00.
