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
tldts-icann
Library to work against complex domain names, subdomains and URIs. Only contains ICANN section.
2.8m+195%-1 day ago
7.4.15
ESM + CommonJSBundledURLs and query strings, TypeScript tooling
git-remote-origin-url
Get the remote origin URL of a Git repository
2.5m+1%-5 years ago
4.0.0
ESM onlyNoneURLs and query strings
original
Generate the origin from an URL or check if two URL/Origins are the same
2.5m+0%-8 years ago
1.0.2
CommonJSNoneURLs and query strings
nerf-dart
maps a URL to an identifier
2.4m+25%-11 years ago
1.0.0
CommonJSNoneURLs and query strings
fast-url-parser
Extremely fast implementation of node core url library
2.3m+0%-11 years ago
1.1.3
CommonJSNoneURLs and query strings
valid-data-url
Detect if a string is a data URL
2.1m+97%-3 years ago
5.0.0
CommonJSNoneURLs and query strings, Schema validation
parseuri
Mighty but tiny URI parser
2m-3%-2 years ago
3.0.2
ESM onlyNoneURLs and query strings
url-to-options
Convert a WHATWG URL to an http(s).request options object.
2m+1%-7 years ago
2.0.0
-NoneURLs and query strings
parse-github-url
Parse a github URL into an object.
1.9m+35%-5 months ago
1.0.4
CommonJSNoneURLs and query strings
isurl
Determine whether a value is a URL instance.
1.8m+7%-29 days ago
5.0.0
ESM onlyNoneURLs and query strings
uri-template-matcher
A lightweight URI template matcher based on RFC 6570
1.7m+70897%-10 months ago
1.1.2
--URLs and query strings
packageurl-js
JavaScript library to parse and build "purl" aka. package URLs. This is a microlibrary implementing the purl spec at https://github.com/package-url
1.5m+12%-2 years ago
2.0.1
--URLs and query strings
picoquery
A small library for parsing and serialisation query strings
1.5m+1807%-1 year ago
2.5.0
--URLs and query strings
get-npm-tarball-url
Create the tarball URL of a npm package
1.4m+1%-2 years ago
2.1.0
--URLs and query strings
postman-url-encoder
Implementation of the WHATWG URL Standard
1.2m+22%-1 year ago
3.0.8
CommonJSNoneURLs and query strings
@cspell/url
URL parsing and manipulation utilities for cspell
1m---today
10.3.4
ESM onlyBundledURLs and query strings
@kamilkisiela/fast-url-parser
Extremely fast implementation of node core url library
879.9k---2 years ago
1.1.4
CommonJSNoneURLs and query strings
uri-templates
URI Templates (RFC6570) including de-substitution
816.7k+48%-10 years ago
0.2.0
CommonJSNoneURLs and query strings
file-url
Convert a file path to a file url: `unicorn.jpg` → `file:///Users/sindresorhus/unicorn.jpg`
751.4k+10%-5 years ago
4.0.0
ESM onlyNoneURLs and query strings
native-url
Brings the node url api layer to whatwg-url class
745.9k-25%-6 years ago
0.3.4
ESM + CommonJSBundledURLs and query strings
new-github-release-url
Generate a URL for opening a new GitHub release with prefilled tag, body, and other fields
739k+14%-4 years ago
2.0.0
ESM onlyNoneURLs and query strings
qs-esm
A modernized, esm-only fork of qs without unnecessary polyfills
676.8k+335%-15 days ago
8.0.2
ESM onlyBundledURLs and query strings
@googlemaps/url-signature
Sign a URL for Google Maps Platform requests.
663.1k---1 year ago
1.0.40
ESM + CommonJSBundledMaps and geolocation, URLs and query strings
linkify-react
React element interface for linkifyjs
661.6k+55%-4 months ago
4.3.3
ESM + CommonJSNoneEmail, React
openapi-server-url-templating
OpenAPI Server URL templating parser, validator and substitution mechanism.
661.3k+62%-1 year ago
1.3.0
ESM + CommonJSBundledTemplating, URLs and query strings
url-value-parser
extracts and replaces values and IDs in URLs
653.7k+18%-4 years ago
2.2.0
CommonJSBundledURLs and query strings
humanize-url
Humanize a URL: `https://sindresorhus.com` → `sindresorhus.com`
641.4k+240%-5 years ago
3.0.0
ESM onlyNoneURLs and query strings
filenamify-url
Convert a URL to a valid filename
637.3k+266%-1 year ago
4.0.0
ESM onlyBundledURLs and query strings
@rushstack/lookup-by-path
Strongly typed trie data structure for path and URL-like strings.
632.8k---2 days ago
0.10.17
ESM + CommonJSBundledURLs and query strings, Build tools
serialize-query-params
A library for simplifying encoding and decoding URL query parameters.
626.6k+66%-9 months ago
2.0.4
ESM + CommonJSBundledURLs and query strings
url-polyfill
Polyfill URL and URLSearchParams
571.9k+36%-1 year ago
1.1.14
CommonJSNonePolyfills and shims, URLs and query strings
schemes
IANA Uniform Resource Identifier (URI) Schemes list, including crowd sourced unofficial ones
560.5k+94%-5 years ago
1.4.0
CommonJSNoneURLs and query strings
is-relative-url
Check if a URL is relative
555.2k+18%-10 days ago
4.1.1
ESM onlyBundledURLs and query strings
tldjs
JavaScript API to work against complex domain names, subdomains and URIs.
524.1k+605%-1 year ago
2.3.2
ESM + CommonJSNoneURLs and query strings
github-url-from-git
Parse a github git url and return the github repo url
477.7k+13%-9 years ago
1.5.0
CommonJSNoneURLs and query strings
url-toolkit
Build an absolute URL from a base URL and a relative URL (RFC 1808). No dependencies!
467.6k+12%-4 years ago
2.2.5
CommonJSBundledURLs and query strings
urlgrey
urlgrey is a library for url querying and manipulation
443.3k-26%-2 years ago
2.1.0
CommonJSNoneURLs and query strings
is-valid-domain
Validate domain name
423.1k+16%-4 years ago
0.1.6
CommonJSBundledSchema validation, URLs and query strings
url-extras
Browser-compatible implementations of some of Node.js' URL utilities
418.6k--10 months ago
0.1.0
ESM onlyBundledURLs and query strings, Polyfills and shims
use-query-params
React Hook for managing state in URL query parameters with easy serialization.
397.2k+41%-10 months ago
2.2.2
ESM + CommonJSBundledURLs and query strings, React
desm
get the file directory from import.meta.url
389.1k+5%-2 years ago
1.3.1
ESM onlyBundledURLs and query strings
parse-domain
Splits a hostname into subdomains, domain and (effective) top-level domains
364.7k+101%-1 month ago
8.4.0
ESM onlyBundledURLs and query strings
idna-uts46-hx
Convert Domain Names correctly from IDN to Punycode and vice-versa and offer TR46 processing.
347.7k-4%-7 days ago
6.2.2
ESM onlyBundledURLs and query strings, CLI tools and terminal utilities
urlsafe-base64
URL Safe Base64 encoding
339k+64%-11 years ago
1.0.0
CommonJSNoneCryptography and hashing, URLs and query strings
url-pattern
easier than regex string matching patterns for urls and other strings. turn strings into data or data into strings.
335.8k+123%-9 years ago
1.0.3
CommonJSBundledRouting, URLs and query strings
url-regex
Regular expression for matching URLs
307k-23%-7 years ago
5.0.0
-NoneURLs and query strings
original-url
Reconstruct the original URL used in an HTTP request based on the HTTP request headers
306.9k+9%-7 years ago
1.2.3
CommonJSNoneURLs and query strings
url-set-query
small function to append a query string to a URL
306.8k-17%-11 years ago
1.0.0
CommonJSNoneURLs and query strings
new-github-issue-url
Generate a URL for opening a new GitHub issue with prefilled title, body, and other fields
304.2k+64%-1 year ago
1.1.0
ESM onlyBundledURLs and query strings
mongodb-uri
A parser and formatter for MongoDB URIs.
260.5k+55%-12 years ago
0.9.7
CommonJSNoneURLs and query strings, ORMs and query builders

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.

  • tldts-icannLibrary to work against complex domain names, subdomains and URIs. Only contains ICANN section.
  • git-remote-origin-urlGet the remote origin URL of a Git repository
  • originalGenerate the origin from an URL or check if two URL/Origins are the same
  • nerf-dartmaps a URL to an identifier
  • fast-url-parserExtremely fast implementation of node core url library
  • valid-data-urlDetect if a string is a data URL
  • parseuriMighty but tiny URI parser
  • url-to-optionsConvert a WHATWG URL to an http(s).request options object.
  • parse-github-urlParse a github URL into an object.
  • isurlDetermine whether a value is a URL instance.
  • uri-template-matcherA lightweight URI template matcher based on RFC 6570
  • packageurl-jsJavaScript library to parse and build "purl" aka. package URLs. This is a microlibrary implementing the purl spec at https://github.com/package-url
  • picoqueryA small library for parsing and serialisation query strings
  • get-npm-tarball-urlCreate the tarball URL of a npm package
  • postman-url-encoderImplementation of the WHATWG URL Standard
  • @cspell/urlURL parsing and manipulation utilities for cspell
  • @kamilkisiela/fast-url-parserExtremely fast implementation of node core url library
  • uri-templatesURI Templates (RFC6570) including de-substitution
  • file-urlConvert a file path to a file url: `unicorn.jpg` → `file:///Users/sindresorhus/unicorn.jpg`
  • native-urlBrings the node url api layer to whatwg-url class
  • new-github-release-urlGenerate a URL for opening a new GitHub release with prefilled tag, body, and other fields
  • qs-esmA modernized, esm-only fork of qs without unnecessary polyfills
  • @googlemaps/url-signatureSign a URL for Google Maps Platform requests.
  • linkify-reactReact element interface for linkifyjs
  • openapi-server-url-templatingOpenAPI Server URL templating parser, validator and substitution mechanism.
  • url-value-parserextracts and replaces values and IDs in URLs
  • humanize-urlHumanize a URL: `https://sindresorhus.com` → `sindresorhus.com`
  • filenamify-urlConvert a URL to a valid filename
  • @rushstack/lookup-by-pathStrongly typed trie data structure for path and URL-like strings.
  • serialize-query-paramsA library for simplifying encoding and decoding URL query parameters.
  • url-polyfillPolyfill URL and URLSearchParams
  • schemesIANA Uniform Resource Identifier (URI) Schemes list, including crowd sourced unofficial ones
  • is-relative-urlCheck if a URL is relative
  • tldjsJavaScript API to work against complex domain names, subdomains and URIs.
  • github-url-from-gitParse a github git url and return the github repo url
  • url-toolkitBuild an absolute URL from a base URL and a relative URL (RFC 1808). No dependencies!
  • urlgreyurlgrey is a library for url querying and manipulation
  • is-valid-domainValidate domain name
  • url-extrasBrowser-compatible implementations of some of Node.js' URL utilities
  • use-query-paramsReact Hook for managing state in URL query parameters with easy serialization.
  • desmget the file directory from import.meta.url
  • parse-domainSplits a hostname into subdomains, domain and (effective) top-level domains
  • idna-uts46-hxConvert Domain Names correctly from IDN to Punycode and vice-versa and offer TR46 processing.
  • urlsafe-base64URL Safe Base64 encoding
  • url-patterneasier than regex string matching patterns for urls and other strings. turn strings into data or data into strings.
  • url-regexRegular expression for matching URLs
  • original-urlReconstruct the original URL used in an HTTP request based on the HTTP request headers
  • url-set-querysmall function to append a query string to a URL
  • new-github-issue-urlGenerate a URL for opening a new GitHub issue with prefilled title, body, and other fields
  • mongodb-uriA parser and formatter for MongoDB URIs.

No comparisons for this package yet.