3 个仓库
Transforms object properties into URL-encoded key-value pairs joined by ampersands.
Distinct from Object Key Serialization: Specifically handles the encoding of query strings, whereas the parent is more generic about key serialization.
Explore 3 awesome GitHub repositories matching web development · Query String Encoding. Refine with filters or upvote what's useful.
qs 是一个查询字符串解析和序列化库,用于将 URL 查询字符串转换为 JavaScript 对象,并将对象或数组转换回 URI 编码的字符串。它作为一个安全的解析器和 URI 编码实用程序,专门设计用于处理嵌套数据结构。 该库通过可配置的嵌套样式和数组序列化格式脱颖而出。它支持自定义字符编码逻辑,并利用字符集哨兵来管理 UTF-8 和 ISO-8859-1 之间的转换。 为了防止资源耗尽和安全漏洞,该项目实现了参数计数限制和严格的解析深度限制。它还包括空值处理、基于谓词的键过滤以及可插拔的编码函数,以管理数据的序列化方式。
Transforms JavaScript objects and arrays into URI-encoded query strings for web requests and API calls.
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
Transforms flat JavaScript objects into standard URL-encoded query strings.
Pyramid 是一个 Python Web 框架和 WSGI 工具包,专为构建 Web 应用程序而设计。它作为一个 URL 路由引擎,使用基于模式的路由和分层资源树遍历,将传入的 HTTP 请求映射到特定的视图可调用对象。 该框架的特色在于其混合调度系统,允许开发人员将正则表达式 URL 匹配与通过导航嵌套对象树来解析请求的能力相结合。它实现了一个灵活的组件架构,支持应用程序注册表管理、延迟配置执行,以及在不修改原始源代码的情况下覆盖视图或路由的能力。 其更广泛的功能面涵盖了通过签名 Cookie 和基于 ACL 的授权进行的身份管理、用于请求生命周期的事件驱动协调系统,以及用于 UI 翻译的国际化服务。它还通过自定义序列化程序和模板集成提供内容渲染工具,以及用于注入横切逻辑的中间件 tween 管道。 该工具包包括一个用于路由检查、项目脚手架和应用程序调试的管理命令行界面。
Transforms dictionaries or sequences of key-value pairs into UTF-8 encoded URL query strings.