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
state-in-url
Store state in URL as in object, types and structure are preserved, with TS validation. Same API as React.useState, wthout any hasssle or boilerplate. Next.js@14-16, react-router@6-7, remix@2, and Astro.
2.8k+21%-2 days ago
8.0.0
ESM onlyBundledStatic site generators and meta-frameworks, State management
use-url-storage-state
React hook for syncing state with URL parameters
2.6k+412660%-3 months ago
1.2.0
ESM onlyBundledReact, Routing
@pondorasti/remark-img-links
Prefix relative image paths with an absolute URL.
2.6k---5 years ago
1.0.8
CommonJSNoneMarkdown, URLs and query strings
url-escape-tag
A template tag for escaping url parameters based on ES2015 tagged templates.
2.6k-25%-10 years ago
1.0.0
CommonJSNoneURLs and query strings
set-query-string
Updates/sets the browser's query string in place without adding to browser history.
2.6k+333%-9 years ago
2.2.0
CommonJSNoneURLs and query strings
next-url-state
React hooks for managing state in URL search parameters with Next.js
2.5k--1 month ago
1.0.9
ESM + CommonJSBundledReact, State management
instagram-url-direct
Get direct url to download from Instagram media links
2.5k-61%-1 year ago
2.0.7
ESM + CommonJSBundledURLs and query strings, Video and audio
http-request-to-url
Get url of an http client request
2.4k-1%-5 years ago
1.1.0
CommonJSNoneHTTP clients, URLs and query strings
q-flat
Flatten a nested object using query string syntax.
2.4k-23%-8 years ago
1.0.7
CommonJSBundledURLs and query strings
url-regexp
RegExp object to match and validate URL(s).
2.4k-43%--
1.0.2
CommonJSNoneURLs and query strings
@gjsify/url
Node.js url module for Gjs
2.4k---1 day ago
0.52.0
ESM onlyBundledNode.js utilities, URLs and query strings
django-js-reverse
JavaScript url handling for Django that doesn't hurt.
2.4k+217%--
0.10.1-a.0
CommonJSNoneURLs and query strings
@cypress/parse-domain
Splits an url into sub-domain, domain and effective top-level-domain
2.4k---6 years ago
2.4.0
CommonJSBundledURLs and query strings, Security
binary-querystring
query string parser to binary
2.2k+99%-8 years ago
0.1.2
CommonJSNoneURLs and query strings
is-github-url
Check if a passed string is a valid GitHub URL
2.2k+197%--
1.2.2
CommonJSNoneURLs and query strings
ascii-url-encoder
ASCII url ecoder and decoder
2.2k+48%--
1.2.0
CommonJSBundledURLs and query strings
@jsdevtools/rehype-url-inspector
A rehype plugin to inspect, validate, or rewrite URLs anywhere in an HTML document
2.2k---6 years ago
2.0.2
CommonJSBundledMarkdown, URLs and query strings
@gjsify/querystring
Node.js querystring module for Gjs
2.2k---1 day ago
0.52.0
ESM onlyBundledURLs and query strings, Node.js utilities
slugs
pure JavaScript url slug generator for Node.JS with minimal dependencies
2.1k+97%-12 years ago
0.1.3
CommonJSNoneURLs and query strings, Strings and text
url-assembler
Assemble urls from route-like templates (/path/:param)
2.1k-53%-6 years ago
2.1.1
CommonJSNoneURLs and query strings, ORMs and query builders
object-query-string
Stringify objects as URL Query Strings, a lightweight mock of jQuery.param without any dependencies!
2k-75%-4 years ago
1.2.0
CommonJSBundledURLs and query strings, Node.js utilities
@sailshq/qs
A querystring parser that supports nesting and arrays, with a depth limit
2k---9 years ago
4.0.2
CommonJSNoneURLs and query strings
file-box
Pack a File into Box for easy move/transfer between servers no matter of where it is.(local path, remote url, or cloud storage)
1.9k+84%--
1.4.15
ESM + CommonJSBundledURLs and query strings
express-query-int
Convert query strings to numbers for express/connect applications.
1.9k+111%-8 years ago
3.0.0
CommonJSNoneURLs and query strings, HTTP servers and web frameworks
nuqs-svelte
Svelte adaptation of the `nuqs` library for managing URL query strings as state.
1.9k+399%-1 year ago
1.2.2
ESM onlyBundledURLs and query strings, Svelte
nanoquery
Tiny querystring module
1.8k+62%-7 years ago
1.3.0
CommonJSNoneURLs and query strings
url-mask
Utility for masking url userinfo
1.7k+1357%--
1.0.5
CommonJSNoneURLs and query strings
get-url-origin
Get origin from url string in Node.js
1.7k-82%--
1.0.1
CommonJSBundledURLs and query strings, Node.js utilities
redux-query-sync
Synchronise URL query parameters and redux state.
1.6k+18%-6 years ago
0.1.10
CommonJSNoneURLs and query strings, State management
parse-db-url
parse database URLs into configuration objects
1.6k+1%-5 years ago
2.3.0
CommonJSNoneURLs and query strings
uri-tag
ES6 template literal tag to encode URI components
1.5k+6%--
2.0.0
ESM + CommonJSBundledURLs and query strings
shorten-repo-url
Shorten GitHub URLs like GitHub shortens Issues and Commit URLs
1.5k+242%--
6.0.1
ESM onlyBundledURLs and query strings
urlon
URL Object Notation. JSON-like encoding for URLs
1.5k-60%--
3.1.0
CommonJSNoneURLs and query strings
join-url
Like `path.join` but for urls.
1.5k-35%-9 years ago
2.0.0
CommonJSNoneURLs and query strings
rehype-url-inspector
A rehype plugin to inspect, validate, or rewrite URLs anywhere in an HTML document
1.5k+15%-6 years ago
2.0.2
CommonJSBundledMarkdown, URLs and query strings
is-urlsearchparams
Determine whether a value is a URLSearchParams instance.
1.4k-27%-1 month ago
2.0.0
ESM onlyNoneURLs and query strings
query-extend
like _.extend, just for url queries.
1.4k+103%-11 years ago
0.2.0
CommonJSNoneURLs and query strings
location-bar
A microlib for managing browser's location bar via pushState and hashChange APIs. This lib makes it easy to listen to URL changes and update the URL.
1.4k-13%--
3.0.1
CommonJSNoneURLs and query strings
@frida/url
Node.js's url module for Frida
1.3k---4 years ago
1.0.2
ESM onlyNoneURLs and query strings
@frida/querystring
Node.js's querystring module for Frida
1.3k---4 years ago
1.0.0
ESM onlyNoneURLs and query strings
mongo-uri
I parse mongo URIs; especially the tricky repl set ones.
1.3k+46%--
0.1.2
CommonJSNoneURLs and query strings, Database clients and drivers
linkify-jquery
jQuery interface for linkifyjs
1.3k+13%-4 months ago
4.3.3
ESM + CommonJSNoneEmail, URLs and query strings
crop-url
Truncate a url so that it doesn't appear so long visually
1.3k+146%--
4.0.1
CommonJSNoneURLs and query strings
gulp-css-url-adjuster
Adjust urls inside css
1.3k-12%--
0.2.3
CommonJSNoneURLs and query strings
bitbucket-url-to-object
Extract user, repo, and other interesting properties from Bitbucket URLs
1.3k-76%--
0.3.0
CommonJSNoneURLs and query strings
html-urls
Extract all href and src URLs from HTML markup for crawling, auditing, and link checks.
1.3k+76%-1 month ago
2.5.5
CommonJSNoneURLs and query strings
node-url-shortener
node-url-shortener helps you to shorten your big URLs.
1.3k+13%--
2.0.3
CommonJSNoneURLs and query strings
use-hash-param
React hook for handling parameters in URL fragment
1.2k-27%-2 years ago
0.3.1
ESM + CommonJSBundledReact, Cryptography and hashing
inquire
Generate advanced URL query strings.
1.2k-45%-12 years ago
0.4.8
CommonJSNoneURLs and query strings
is-css
Check if a path or url points to a css file
1.1k-58%--
4.0.0
CommonJSNoneURLs and query strings

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.

  • state-in-urlStore state in URL as in object, types and structure are preserved, with TS validation. Same API as React.useState, wthout any hasssle or boilerplate. Next.js@14-16, react-router@6-7, remix@2, and Astro.
  • use-url-storage-stateReact hook for syncing state with URL parameters
  • @pondorasti/remark-img-linksPrefix relative image paths with an absolute URL.
  • url-escape-tagA template tag for escaping url parameters based on ES2015 tagged templates.
  • set-query-stringUpdates/sets the browser's query string in place without adding to browser history.
  • next-url-stateReact hooks for managing state in URL search parameters with Next.js
  • instagram-url-directGet direct url to download from Instagram media links
  • http-request-to-urlGet url of an http client request
  • q-flatFlatten a nested object using query string syntax.
  • url-regexpRegExp object to match and validate URL(s).
  • @gjsify/urlNode.js url module for Gjs
  • django-js-reverseJavaScript url handling for Django that doesn't hurt.
  • @cypress/parse-domainSplits an url into sub-domain, domain and effective top-level-domain
  • binary-querystringquery string parser to binary
  • is-github-urlCheck if a passed string is a valid GitHub URL
  • ascii-url-encoderASCII url ecoder and decoder
  • @jsdevtools/rehype-url-inspectorA rehype plugin to inspect, validate, or rewrite URLs anywhere in an HTML document
  • @gjsify/querystringNode.js querystring module for Gjs
  • slugspure JavaScript url slug generator for Node.JS with minimal dependencies
  • url-assemblerAssemble urls from route-like templates (/path/:param)
  • object-query-stringStringify objects as URL Query Strings, a lightweight mock of jQuery.param without any dependencies!
  • @sailshq/qsA querystring parser that supports nesting and arrays, with a depth limit
  • file-boxPack a File into Box for easy move/transfer between servers no matter of where it is.(local path, remote url, or cloud storage)
  • express-query-intConvert query strings to numbers for express/connect applications.
  • nuqs-svelteSvelte adaptation of the `nuqs` library for managing URL query strings as state.
  • nanoqueryTiny querystring module
  • url-maskUtility for masking url userinfo
  • get-url-originGet origin from url string in Node.js
  • redux-query-syncSynchronise URL query parameters and redux state.
  • parse-db-urlparse database URLs into configuration objects
  • uri-tagES6 template literal tag to encode URI components
  • shorten-repo-urlShorten GitHub URLs like GitHub shortens Issues and Commit URLs
  • urlonURL Object Notation. JSON-like encoding for URLs
  • join-urlLike `path.join` but for urls.
  • rehype-url-inspectorA rehype plugin to inspect, validate, or rewrite URLs anywhere in an HTML document
  • is-urlsearchparamsDetermine whether a value is a URLSearchParams instance.
  • query-extendlike _.extend, just for url queries.
  • location-barA microlib for managing browser's location bar via pushState and hashChange APIs. This lib makes it easy to listen to URL changes and update the URL.
  • @frida/urlNode.js's url module for Frida
  • @frida/querystringNode.js's querystring module for Frida
  • mongo-uriI parse mongo URIs; especially the tricky repl set ones.
  • linkify-jqueryjQuery interface for linkifyjs
  • crop-urlTruncate a url so that it doesn't appear so long visually
  • gulp-css-url-adjusterAdjust urls inside css
  • bitbucket-url-to-objectExtract user, repo, and other interesting properties from Bitbucket URLs
  • html-urlsExtract all href and src URLs from HTML markup for crawling, auditing, and link checks.
  • node-url-shortenernode-url-shortener helps you to shorten your big URLs.
  • use-hash-paramReact hook for handling parameters in URL fragment
  • inquireGenerate advanced URL query strings.
  • is-cssCheck if a path or url points to a css file

No comparisons for this package yet.