awesome-repositories.com
Blog
MCP
awesome-repositories.com

Descoperă cele mai bune repository-uri open source cu căutare AI.

ExploreazăCăutări recomandateAlternative open-sourceSoftware self-hostedBlogHartă site
ProiectDespreCum realizăm clasamentulPresăServer MCP
LegalConfidențialitateTermeni
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
ljharb avatar

ljharb/qs

0
View on GitHub↗
8,940 stele·889 fork-uri·JavaScript·BSD-3-Clause·5 vizualizări

Qs

qs este o bibliotecă de parsare și serializare a query string-urilor, utilizată pentru a converti șirurile de interogare URL în obiecte JavaScript și pentru a transforma obiectele sau array-urile înapoi în șiruri codificate URI. Funcționează ca un parser securizat și utilitar de codificare URI, conceput special pentru a gestiona structuri de date imbricate.

Biblioteca se distinge prin stiluri de imbricare configurabile și formate de serializare a array-urilor. Oferă suport pentru logică personalizată de codificare a caracterelor și utilizează santinele de seturi de caractere pentru a gestiona conversiile între UTF-8 și ISO-8859-1.

Pentru a preveni epuizarea resurselor și vulnerabilitățile de securitate, proiectul implementează limitarea numărului de parametri și restricții stricte privind adâncimea de parsare. Include, de asemenea, capabilități pentru gestionarea valorilor null, filtrarea cheilor bazată pe predicate și funcții de codificare pluggable pentru a gestiona modul în care sunt serializate datele.

Features

  • URI Encoding Utilities - Provides a comprehensive utility for transforming strings into URI-encoded formats and back, specializing in nested data structures.
  • Query String Parsing - Converts complex, nested URL query strings into structured JavaScript objects with configurable depth limits.
  • Nested Object Serializers - Transforms JavaScript objects and arrays into URI-encoded query strings with configurable nesting styles.
  • Array Parameter Serialization - Implements multiple formats for serializing arrays into URL query parameters, including indices and brackets.
  • Query String Encoding - Transforms JavaScript objects and arrays into URI-encoded query strings for web requests and API calls.
  • Query Parameter Parsers - Implements parameter limits and nesting depth restrictions to prevent vulnerabilities like prototype pollution.
  • Query String Construction - Offers a tool for building URI query strings from JavaScript objects and arrays with configurable formats.
  • Custom Value Encoders - Allows the substitution of default URI encoding logic with custom functions to support diverse character sets.
  • Parsing Depth Limits - Implements constraints on maximum nesting levels during parsing to prevent stack overflow and resource exhaustion attacks.
  • Deserialization Depth Limiting - Enforces a maximum nesting level during object reconstruction to prevent resource exhaustion and DoS attacks.
  • Character Encoding Converters - Supports converting query strings between UTF-8 and ISO-8859-1 using automatic charset detection.
  • Parameter Count Limits - Protects system resources by rejecting query strings that exceed a predefined maximum number of key-value pairs.
  • HTTP Request Parameter Management - Manages the transmission of data via query strings by filtering and limiting the number of parameters.
  • Parameter Count Limits - Prevents denial-of-service attacks by enforcing a maximum limit on the number of parameters allowed in a query string.
  • URL and Network Utilities - Robust query string parsing and stringification.
  • 路由和链接(Routing And URLs) - Listed in the “路由和链接(Routing And URLs)” section of the Awesome Frontend awesome list.

Istoric stele

Graficul istoricului de stele pentru ljharb/qsGraficul istoricului de stele pentru ljharb/qs

Căutare AI

Explorează mai multe repository-uri excelente

Descrie ce ai nevoie în limbaj simplu — AI-ul sortează mii de proiecte open source selectate în funcție de relevanță.

Start searching with AI

Alternative open-source pentru Qs

Proiecte open-source similare, clasificate după numărul de funcționalități comune cu Qs.
  • sindresorhus/query-stringAvatar sindresorhus

    sindresorhus/query-string

    6,904Vezi pe GitHub↗

    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, an

    JavaScript
    Vezi pe GitHub↗6,904
  • 47ng/nuqsAvatar 47ng

    47ng/nuqs

    10,591Vezi pe GitHub↗

    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
    Vezi pe GitHub↗10,591
  • medialize/uri.jsAvatar medialize

    medialize/URI.js

    6,228Vezi pe GitHub↗

    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
    Vezi pe GitHub↗6,228
  • chyingp/nodejs-learning-guideAvatar chyingp

    chyingp/nodejs-learning-guide

    6,874Vezi pe GitHub↗

    This project is a learning guide and collection of study notes designed to teach Node.js backend development. It provides a comprehensive core API reference and practical demonstrations for implementing server-side logic, network programming, and system APIs. The guide specifically covers advanced technical domains including process management for scaling applications via clusters and child processes, as well as network programming for building TCP, UDP, and HTTP services. It also includes detailed instructional material on security implementation, focusing on cryptographic hashing and encryp

    Rubycryptoexpressnodejs
    Vezi pe GitHub↗6,874
Vezi toate cele 30 alternative pentru Qs→

Întrebări frecvente

Ce face ljharb/qs?

qs este o bibliotecă de parsare și serializare a query string-urilor, utilizată pentru a converti șirurile de interogare URL în obiecte JavaScript și pentru a transforma obiectele sau array-urile înapoi în șiruri codificate URI. Funcționează ca un parser securizat și utilitar de codificare URI, conceput special pentru a gestiona structuri de date imbricate.

Care sunt principalele funcționalități ale ljharb/qs?

Principalele funcționalități ale ljharb/qs sunt: URI Encoding Utilities, Query String Parsing, Nested Object Serializers, Array Parameter Serialization, Query String Encoding, Query Parameter Parsers, Query String Construction, Custom Value Encoders.

Care sunt câteva alternative open-source pentru ljharb/qs?

Alternativele open-source pentru ljharb/qs includ: sindresorhus/query-string — This is a suite of JavaScript utilities for the bidirectional conversion and manipulation of URL components and query… 47ng/nuqs — nuqs is a TypeScript library for managing React component state through the browser's URL query string. It provides a… medialize/uri.js — URI.js is a full-featured JavaScript library for parsing, building, normalizing, and mutating URLs and their… chyingp/nodejs-learning-guide — This project is a learning guide and collection of study notes designed to teach Node.js backend development. It… pieroxy/lz-string — lz-string is a JavaScript library and command-line tool for compressing and decompressing string data using Lempel-Ziv… vuejs/router — Vue.js Client-Side Router is a routing library for Vue.js that synchronizes the browser URL with application state to…