awesome-repositories.com
Blog
awesome-repositories.com

Entdecke die besten Open-Source-Repositories mit KI-gestützter Suche.

EntdeckenKuratierte SuchenOpen-Source-AlternativenSelf-hosted SoftwareBlogSitemap
ProjektÜber unsRanking-MethodikPresseMCP-Server
RechtlichesDatenschutzAGB
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
sindresorhus avatar

sindresorhus/query-string

0
View on GitHub↗
6,904 Stars·451 Forks·JavaScript·MIT·3 Aufrufe

Query String

This is a suite of JavaScript utilities for the bidirectional conversion and manipulation of URL components and query parameters. It provides a mechanism for parsing URL query strings into data objects and serializing those objects back into URL-encoded strings.

The library includes functions for filtering, isolating, and modifying parameters within a full URL or query string. It supports the construction of complete web links by combining base addresses with formatted query parameters.

The toolset covers data transformation primitives such as alphabetical key sorting, input sanitization, and type-casting for numbers and booleans. It also handles the stringification of nested arrays and the removal of specific keys via predicate-based filtering.

Features

  • URL Data Parsing - Converts complex URL query strings into structured JavaScript objects for application logic.
  • URL Utilities - Provides a lightweight JavaScript utility for parsing and manipulating URL components.
  • Query String Parsers - Provides bidirectional conversion between URL query strings and JavaScript data objects.
  • Query String Encoding - Transforms flat JavaScript objects into standard URL-encoded query strings.
  • Query String Construction - Transforms data objects into URL-encoded query strings for API requests and web addresses.
  • Request Parameter Serialization - Encodes data objects and arrays into formatted query strings for web requests.
  • URL Construction - Combines base addresses with processed parameters to generate complete and valid web links.
  • Predicate Property Filtering - Removes specific keys from data objects or strings using custom boolean predicate functions.
  • Type Conversion and Casting - Casts string values into numbers or booleans during the parsing of query parameters.
  • String Manipulators - Offers a set of functions to filter, isolate, and modify parameters within URLs.
  • Array Parameter Serialization - Converts nested arrays into repeated query parameters to maintain compatibility with server-side expectations.
  • Parameter Encoding Schemes - Manages the encoding of arrays and primitives to ensure compatibility with various server implementations.
  • Query Parameters - Removes or retains specific keys from a query string based on a provided list of identifiers.
  • Query String Extraction - Isolates the query portion of a full URL to facilitate easier parsing and manipulation.
  • String-Manipulation - Parses and stringifies URL query parameters.
  • String Utilities - URL query string parser and stringifier.
  • URL and Network Utilities - Parses and stringifies URL query parameters.
  • 路由和链接(Routing And URLs) - Listed in the “路由和链接(Routing And URLs)” section of the Awesome Frontend awesome list.

Star-Verlauf

Star-Verlauf für sindresorhus/query-stringStar-Verlauf für sindresorhus/query-string

KI-Suche

Entdecke weitere awesome Repositories

Beschreibe in einfachen Worten, was du brauchst — die KI bewertet tausende kuratierte Open-Source-Projekte nach Relevanz.

Start searching with AI

Open-Source-Alternativen zu Query String

Ähnliche Open-Source-Projekte, sortiert nach der Anzahl der gemeinsamen Funktionen mit Query String.
  • medialize/uri.jsAvatar von medialize

    medialize/URI.js

    6,228Auf GitHub ansehen↗

    URI.js is a full-featured JavaScript library for parsing, building, normalizing, and mutating URLs and their components programmatically. It provides a mutable-component object model that exposes each URL part as a separate object with getter and setter methods, enabling direct manipulation of schemes, hosts, paths, query strings, and fragments. The library implements strict RFC 3986 compliance for encoding, decoding, and normalization of URI components, and includes a template expansion engine that substitutes variables using operator-specific rules. The library distinguishes itself through

    JavaScript
    Auf GitHub ansehen↗6,228
  • ljharb/qsAvatar von ljharb

    ljharb/qs

    8,940Auf GitHub ansehen↗

    qs is a query string parsing and serialization library used to convert URL query strings into JavaScript objects and transform objects or arrays back into URI-encoded strings. It functions as a secure parser and URI encoding utility, specifically designed to handle nested data structures. The library distinguishes itself through configurable nesting styles and array serialization formats. It provides support for custom character encoding logic and utilizes charset sentinels to manage conversions between UTF-8 and ISO-8859-1. To prevent resource exhaustion and security vulnerabilities, the pr

    JavaScript
    Auf GitHub ansehen↗8,940
  • masterminds/sprigAvatar von Masterminds

    Masterminds/sprig

    4,692Auf GitHub ansehen↗

    Sprig is a comprehensive library of helper functions designed to extend the Go text template engine. It provides a wide array of custom functions that can be injected into the engine to enable complex data manipulation and logic directly within templates. The project offers specialized capabilities for cryptography, including the generation of private keys, X.509 certificates, and secure password hashes. It also includes advanced logic extensions for semantic versioning comparison, ternary evaluations, and the resolution of environment variables from the host operating system. The library co

    Gogotemplatetemplates
    Auf GitHub ansehen↗4,692
  • 47ng/nuqsAvatar von 47ng

    47ng/nuqs

    10,591Auf GitHub ansehen↗

    nuqs is a TypeScript library for managing React component state through the browser's URL query string. It provides a type-safe hook-based approach that synchronizes component state with the address bar, enabling shareable and bookmarkable application states. The library handles parsing and serializing URL query parameters into typed JavaScript values, supporting integers, floats, booleans, dates, and custom types with bijectivity verification. The library distinguishes itself through its comprehensive approach to URL state management, combining batch URL updates that merge multiple parameter

    TypeScriptquery-paramsreactsearch-params
    Auf GitHub ansehen↗10,591
Alle 30 Alternativen zu Query String anzeigen→

Häufig gestellte Fragen

Was macht sindresorhus/query-string?

This is a suite of JavaScript utilities for the bidirectional conversion and manipulation of URL components and query parameters. It provides a mechanism for parsing URL query strings into data objects and serializing those objects back into URL-encoded strings.

Was sind die Hauptfunktionen von sindresorhus/query-string?

Die Hauptfunktionen von sindresorhus/query-string sind: URL Data Parsing, URL Utilities, Query String Parsers, Query String Encoding, Query String Construction, Request Parameter Serialization, URL Construction, Predicate Property Filtering.

Welche Open-Source-Alternativen gibt es zu sindresorhus/query-string?

Open-Source-Alternativen zu sindresorhus/query-string sind unter anderem: medialize/uri.js — URI.js is a full-featured JavaScript library for parsing, building, normalizing, and mutating URLs and their… ljharb/qs — qs is a query string parsing and serialization library used to convert URL query strings into JavaScript objects and… masterminds/sprig — Sprig is a comprehensive library of helper functions designed to extend the Go text template engine. It provides a… 47ng/nuqs — nuqs is a TypeScript library for managing React component state through the browser's URL query string. It provides a… snd/url-pattern — easier than regex string matching patterns for urls and other strings. turn strings into data or data into strings. tmenier/flurl — Flurl is a .NET fluent URL builder and HTTP client wrapper designed for constructing complex web addresses and sending…