Skip to content
JS
Package category

URLs and query strings

Parse, build and normalise URLs, query strings, slugs and domains.

312 packages0 comparisons

Packages compared

312 packages
PackageWeekly downloads12-month change52 weeksGzipLast releaseModuleTypesCategories
whatwg-url
An implementation of the WHATWG URL Standard's URL API and parsing machinery
171.3m+95%-4 days ago
17.1.2
CommonJSNoneURLs and query strings
punycode
A robust Punycode converter that fully complies to RFC 3492 and RFC 5891, and works on nearly all JavaScript platforms.
168.3m+68%-2 years ago
2.3.1
ESM + CommonJSNoneURLs and query strings
tr46
An implementation of the Unicode UTS #46: Unicode IDNA Compatibility Processing
158.9m+88%-1 year ago
6.0.0
CommonJSNoneURLs and query strings
@jridgewell/resolve-uri
Resolve a URI relative to an optional base URI
143.7m+151%-2 years ago
3.1.2
ESM + CommonJSBundledURLs and query strings
qs
A querystring parser that supports nesting and arrays, with a depth limit
141.5m+65%-26 days ago
6.16.0
CommonJSNoneURLs and query strings
uri-js
An RFC 3986/3987 compliant, scheme extendable URI/IRI parsing/validating/resolving library for JavaScript.
117.9m+114%-5 years ago
4.4.1
CommonJSBundledURLs and query strings, Cryptography and hashing
encodeurl
Encode a URL to a percent-encoded form, excluding already-encoded sequences
113.3m+66%-2 years ago
2.0.0
-NoneURLs and query strings
fast-uri
Dependency-free RFC 3986 URI toolbox
98.3m+195%-7 days ago
4.2.1
CommonJSBundledURLs and query strings
data-uri-to-buffer
Create an ArrayBuffer instance from a Data URI string
70.6m+142%-5 months ago
8.0.0
ESM onlyBundledURLs and query strings, Node.js utilities
tldts-core
tldts core primitives (internal module)
61.8m+295%-1 day ago
7.4.15
ESM + CommonJSBundledURLs and query strings, TypeScript tooling
tldts
Library to work against complex domain names, subdomains and URIs.
60.5m+301%-1 day ago
7.4.15
ESM + CommonJSBundledURLs and query strings, TypeScript tooling
requires-port
Check if a protocol requires a certain port number to be added to an URL.
40m+37%-10 years ago
1.0.0
CommonJSNoneURLs and query strings
psl
Domain name parser based on the Public Suffix List
33.2m+13%-1 year ago
1.15.0
ESM + CommonJSBundledURLs and query strings
querystringify
Querystringify - Small, simple but powerful query string parser.
30.6m+35%-6 years ago
2.2.0
CommonJSNoneURLs and query strings
url-parse
Small footprint URL parser that works seamlessly across Node.js and browser environments
30.6m+28%-4 years ago
1.5.10
CommonJSNoneURLs and query strings
micromark-extension-gfm-autolink-literal
micromark extension to support GFM autolink literals
30.5m+313%-2 years ago
2.1.0
ESM onlyBundledURLs and query strings, Markdown
mdast-util-gfm-autolink-literal
mdast extension to parse and serialize GFM autolink literals
28.9m+319%-2 years ago
2.0.1
ESM onlyBundledURLs and query strings, Markdown
html-url-attributes
Map of URL attributes in HTML
23.5m+472%-1 year ago
3.0.1
ESM onlyBundledURLs and query strings, Markdown
decode-uri-component
A better decodeURIComponent
23.2m+28%-2 months ago
0.5.0
ESM onlyBundledURLs and query strings
file-uri-to-path
Convert a file: URI to a file path
21.7m+58%-6 years ago
2.0.0
CommonJSBundledURLs and query strings
query-string
Parse and stringify URL query strings
19.9m+52%-24 days ago
9.5.1
ESM onlyBundledURLs and query strings
get-uri
Returns a `stream.Readable` from a URI string
19.7m+60%-3 months ago
8.0.1
ESM onlyBundledURLs and query strings
url
The core `url` packaged standalone for use with Browserify.
19.5m-1%-2 years ago
0.11.4
CommonJSNoneURLs and query strings
punycode.js
A robust Punycode converter that fully complies to RFC 3492 and RFC 5891, and works on nearly all JavaScript platforms.
18.8m+176%-2 years ago
2.3.1
ESM + CommonJSNoneURLs and query strings
strict-uri-encode
A stricter URI encode adhering to RFC 3986
17.1m+49%-9 years ago
2.0.0
-NoneURLs and query strings
@oozcitak/url
An implementation of the URL Living Standard
15.7m+636%-7 months ago
4.0.0
CommonJSBundledURLs and query strings
relateurl
Minify URLs by converting them from absolute to relative.
15.6m+4%-10 years ago
0.2.7
CommonJSNoneURLs and query strings
registry-url
Get the set npm registry URL
15.5m+33%-1 year ago
7.2.0
ESM onlyBundledURLs and query strings
url-join
Join urls and normalize as in path.join.
15.1m+58%-4 years ago
5.0.0
ESM onlyBundledURLs and query strings
fast-decode-uri-component
Fast and safe decodeURIComponent
13.3m+188%-7 years ago
1.0.1
CommonJSNoneURLs and query strings
querystring
Node's querystring module for all engines.
13.1m-11%-5 years ago
0.2.1
CommonJSNoneURLs and query strings
linkifyjs
Find URLs, email addresses, #hashtags and @mentions in plain-text strings, then convert them into HTML <a> links.
12.9m+414%-4 months ago
4.3.3
ESM + CommonJSNoneEmail, React
fast-querystring
A fast alternative to legacy querystring module
12.5m+199%-3 years ago
1.1.2
CommonJSBundledURLs and query strings
url-template
A URI template implementation (RFC 6570 compliant)
11.9m+137%-2 years ago
3.1.1
ESM onlyBundledURLs and query strings
resolve-url
Like Node.js’ `path.resolve`/`url.resolve` for the browser.
10.3m-5%-12 years ago
0.2.1
CommonJSNoneURLs and query strings
urix
Makes Windows-style paths more unix and URI friendly.
10.3m-5%-12 years ago
0.1.0
CommonJSNoneURLs and query strings
querystring-es3
Node's querystring module for all engines. (ES3 compat fork)
9.5m+2%-11 years ago
0.2.1
-NoneURLs and query strings
is-absolute-url
Check if a URL is absolute
8.9m-0%-1 year ago
5.0.0
ESM onlyBundledURLs and query strings
url-parse-lax
Lax URL parsing with support for protocol-less URLs and IPs
6.6m-15%-1 year ago
6.0.0
ESM onlyNoneURLs and query strings
protocols
Get the protocols of an input url.
5.3m+12%-1 year ago
2.0.2
CommonJSNoneURLs and query strings
mini-svg-data-uri
Small, efficient encoding of SVG data URIs for CSS, HTML, etc.
5.3m+72%-4 years ago
1.4.4
CommonJSBundledImage processing, URLs and query strings
urijs
URI.js is a Javascript library for working with URLs.
4.8m+62%-4 years ago
1.19.11
CommonJSNoneURLs and query strings
parse-url
An advanced url parser supporting git urls too.
4.8m+15%-6 months ago
11.1.0
ESM + CommonJSBundledURLs and query strings
is-ssh
Check if an input value is a ssh url or not.
4.5m+6%-1 year ago
1.4.1
CommonJSNoneURLs and query strings
git-up
A low level git url parser.
4.5m+12%-1 year ago
8.1.1
CommonJSBundledURLs and query strings
git-url-parse
A high level git url parser for common git providers.
4.4m+6%-1 year ago
16.1.0
CommonJSBundledURLs and query strings
valid-url
URI validation functions
3.7m+59%-13 years ago
1.0.9
CommonJSNoneSchema validation, URLs and query strings
is-url-superb
Check if a string is a URL
3.5m+43%-4 years ago
6.1.0
ESM onlyBundledURLs and query strings
nuqs
Type-safe search params state manager for React - Like useState, but stored in the URL query string
3.4m+307%-1 month ago
2.10.1
ESM onlyBundledURLs and query strings, React
react-native-url-polyfill
A lightweight and trustworthy URL polyfill for React Native
2.9m+227%-2 months ago
4.0.0
CommonJSBundledURLs and query strings, React

12-month change compares the average of the last 4 weeks of downloads with the first 4 weeks of the 52-week series. Gzip size is for the whole package, as measured by Bundlephobia. "-" means the value has not been fetched.

  • whatwg-urlAn implementation of the WHATWG URL Standard's URL API and parsing machinery
  • punycodeA robust Punycode converter that fully complies to RFC 3492 and RFC 5891, and works on nearly all JavaScript platforms.
  • tr46An implementation of the Unicode UTS #46: Unicode IDNA Compatibility Processing
  • @jridgewell/resolve-uriResolve a URI relative to an optional base URI
  • qsA querystring parser that supports nesting and arrays, with a depth limit
  • uri-jsAn RFC 3986/3987 compliant, scheme extendable URI/IRI parsing/validating/resolving library for JavaScript.
  • encodeurlEncode a URL to a percent-encoded form, excluding already-encoded sequences
  • fast-uriDependency-free RFC 3986 URI toolbox
  • data-uri-to-bufferCreate an ArrayBuffer instance from a Data URI string
  • tldts-coretldts core primitives (internal module)
  • tldtsLibrary to work against complex domain names, subdomains and URIs.
  • requires-portCheck if a protocol requires a certain port number to be added to an URL.
  • pslDomain name parser based on the Public Suffix List
  • querystringifyQuerystringify - Small, simple but powerful query string parser.
  • url-parseSmall footprint URL parser that works seamlessly across Node.js and browser environments
  • micromark-extension-gfm-autolink-literalmicromark extension to support GFM autolink literals
  • mdast-util-gfm-autolink-literalmdast extension to parse and serialize GFM autolink literals
  • html-url-attributesMap of URL attributes in HTML
  • decode-uri-componentA better decodeURIComponent
  • file-uri-to-pathConvert a file: URI to a file path
  • query-stringParse and stringify URL query strings
  • get-uriReturns a `stream.Readable` from a URI string
  • urlThe core `url` packaged standalone for use with Browserify.
  • punycode.jsA robust Punycode converter that fully complies to RFC 3492 and RFC 5891, and works on nearly all JavaScript platforms.
  • strict-uri-encodeA stricter URI encode adhering to RFC 3986
  • @oozcitak/urlAn implementation of the URL Living Standard
  • relateurlMinify URLs by converting them from absolute to relative.
  • registry-urlGet the set npm registry URL
  • url-joinJoin urls and normalize as in path.join.
  • fast-decode-uri-componentFast and safe decodeURIComponent
  • querystringNode's querystring module for all engines.
  • linkifyjsFind URLs, email addresses, #hashtags and @mentions in plain-text strings, then convert them into HTML <a> links.
  • fast-querystringA fast alternative to legacy querystring module
  • url-templateA URI template implementation (RFC 6570 compliant)
  • resolve-urlLike Node.js’ `path.resolve`/`url.resolve` for the browser.
  • urixMakes Windows-style paths more unix and URI friendly.
  • querystring-es3Node's querystring module for all engines. (ES3 compat fork)
  • is-absolute-urlCheck if a URL is absolute
  • url-parse-laxLax URL parsing with support for protocol-less URLs and IPs
  • protocolsGet the protocols of an input url.
  • mini-svg-data-uriSmall, efficient encoding of SVG data URIs for CSS, HTML, etc.
  • urijsURI.js is a Javascript library for working with URLs.
  • parse-urlAn advanced url parser supporting git urls too.
  • is-sshCheck if an input value is a ssh url or not.
  • git-upA low level git url parser.
  • git-url-parseA high level git url parser for common git providers.
  • valid-urlURI validation functions
  • is-url-superbCheck if a string is a URL
  • nuqsType-safe search params state manager for React - Like useState, but stored in the URL query string
  • react-native-url-polyfillA lightweight and trustworthy URL polyfill for React Native

No comparisons for this package yet.