52 个仓库
用于从文本字符串生成 URL 友好 slug 的工具。
Explore 52 awesome GitHub repositories matching part of an awesome list · 字符串操作. Refine with filters or upvote what's useful.
This PHP library provides tools for generating and validating universally unique identifiers according to RFC 4122 standards. It implements a generation tool for creating version 1, 3, 4, and 5 identifiers, as well as sequential and Nil UUIDs. The library features specialized capabilities for transforming identifiers between hexadecimal strings, binary bytes, integers, and date objects. It supports the generation of sequential identifiers to improve database indexing and storage performance, as well as deterministic name-based identifiers using MD5 or SHA-1 hashing. The project includes a va
Generates universally unique identifiers.
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
Parses and stringifies URL query parameters.
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
Utility for URL manipulation.
sds 是一个 C 语言动态字符串库,为堆分配的字符串提供了内存管理封装。它通过显式跟踪字符串长度来实现二进制安全存储,从而允许库处理数据中的空字符。 该库的内存架构支持可互换的分配和释放函数指针,便于集成自定义内存管理器。它利用存储在头部的长度信息实现常数时间的长度获取,并维护以空字符结尾的缓冲区填充,以确保与标准 C 字符串函数的兼容性。 该工具包涵盖了广泛的字符串操作功能,包括拼接、分词、连接和范围提取。它还提供了用于原地缓冲区修改的实用程序(如修剪和裁剪),并包含优于标准打印函数的优化字符串格式化方案。
Dynamic string library compatible with standard C functions.
该项目是一个 PHP 用户代理(User Agent)解析器和移动设备检测器。它分析 HTTP 用户代理字符串以识别访问者的 Web 浏览器、操作系统和设备类型。 该库为 Laravel Web 框架提供了专门的集成。它能够区分手机、平板电脑和台式计算机,同时识别 Web 机器人和搜索引擎爬虫的具体名称。 该工具的功能包括从请求头中提取首选语言并验证特定的用户代理属性。它使用正则表达式模式匹配和静态数据映射来分类客户端并进行内容本地化。
Parses user agent strings for device detection.
This project is a PHP library designed for parsing, beautifying, and syntax-highlighting SQL queries. It provides a set of utilities to improve the readability of database code, facilitate debugging, and assist in the maintenance of complex query structures. The library distinguishes itself by offering both aesthetic and functional processing capabilities. It can transform raw SQL strings into structured, indented formats for human review, or compress them by removing comments and unnecessary whitespace to optimize them for network transmission and logging. Additionally, it includes a syntax
Formats SQL queries for readability.
A robust HTML entity encoder/decoder written in JavaScript.
Robust HTML entity encoder and decoder.
The ultimate JavaScript string library
Comprehensive library for string manipulation.
The Universal Device Detection library will parse any User Agent and detect the browser, operating system, device used (desktop, tablet, mobile, tv, cars, console, etc.), brand and model.
Detects device information from user agent strings.
String manipulation helpers for javascript
String operation extensions for underscore.
Converts a string to a slug. Includes integrations for Symfony, Silex, Laravel, Zend Framework 2, Twig, Nette and Latte.
Converts strings into URL-friendly slugs.
sprintf.js is a complete open source JavaScript sprintf implementation
Implements string formatting functionality.
📚 single header utf8 string functions for C and C++
Single-header library for UTF-8 string functions.
Extra JavaScript string methods.
Provides additional string utility methods.
Implements string functions widely used in other languages but absent in Go.
Collection of string functions ported from other languages.
Multiline strings in JavaScript
Handles multi-line strings in code.
"結巴"中文分詞:做最好的 PHP 中文分詞、中文斷詞組件。 / "Jieba" (Chinese for "to stutter") Chinese text segmentation: built to be the best PHP Chinese word segmentation module.
Chinese text segmentation for natural language processing.
a clean C library for processing UTF-8 Unicode data
Library for processing UTF-8 Unicode data.
Small strings compression library
Efficient library for string compression.
slugifies even utf-8 chars!
Generates URL-friendly slugs from UTF-8 strings.