11 个仓库
Libraries and collections of helper functions for common programming tasks.
Explore 11 awesome GitHub repositories matching part of an awesome list · JavaScript Utilities. Refine with filters or upvote what's useful.
This project is a developer knowledge base and a curated library of programming code snippets. It serves as a multi-language coding reference that provides short technical articles and reusable code samples to help developers implement common programming patterns. The resource functions as a multi-language syntax reference, allowing for the comparison of logic and functionality across different programming environments. It focuses on programming pattern learning and coding skill improvement through a collection of optimized patterns and best practices. The platform includes capabilities for
A collection of short, useful JavaScript code snippets.
Moment is a JavaScript date manipulation library used for parsing, validating, manipulating, and formatting dates and times. It provides a system for converting date strings into structured objects using the ISO 8601 standard or custom tokens. The library includes a timezone management tool for handling UTC offsets and geographic timezones, ensuring accurate date calculations across different regions. It features an internationalized date formatter and a relative time calculator to render timestamps as human-friendly durations adapted to various cultural locales and languages. The project co
Comprehensive library for parsing and manipulating dates.
This is a persistent data structure library for JavaScript that provides collections which prevent the direct mutation of objects and arrays. It serves as an immutable state management tool and functional programming utility, ensuring that data remains unchanged after creation to simplify change detection and state tracking. The library enables the maintenance of application state by producing new versions of data structures during updates. It focuses on efficient data comparison by checking actual content instead of memory references and supports a functional programming workflow to prevent
Immutable data collections for frontend and backend.
This project is a curated reference guide and cheatsheet for modern JavaScript development. It provides a collection of syntax and patterns covering ECMAScript standards, specifically focusing on contemporary language features from ES6 and later. The resource offers specialized guides on asynchronous JavaScript, functional programming patterns, and object-oriented design. It details the use of promises and async/await syntax for non-blocking operations, as well as the application of map, filter, and reduce for data transformation. The guide covers a broad range of language fundamentals, incl
A comprehensive reference for modern JavaScript syntax and features.
validator.js is a JavaScript string validation and sanitization library. It provides a set of functions to verify that strings match specific patterns—such as emails, URLs, and alphanumeric formats—and a toolkit for cleaning and transforming text input to remove prohibited characters and trim whitespace. The library includes utilities for standardizing email addresses by lowercasing domains and removing sub-addressing markers. It also functions as an HTML entity escaper, replacing special characters with entities to prevent the browser from executing text as code. The project covers capabili
Validation library for URLs, emails, and integers.
Lazy.js is a JavaScript library that implements a lazy evaluation model for processing collections and data streams. It defers all computation until iteration begins, building chains of transformations that execute only when values are consumed, avoiding intermediate arrays and buffering. The library wraps data sources into a uniform sequence interface, enabling operations like map and filter to be chained together without materializing intermediate results. The library extends lazy processing beyond simple collections to handle asynchronous data sources, DOM events, strings, and Node.js stre
Utility library with lazy evaluation for performance.
accounting.js 是一个 JavaScript 库和工具套件,用于格式化本地化的数字和货币字符串、舍入十进制值以及解析货币字符串。它提供了使用特定语言的分隔符和自定义符号将数值转换为人类可读字符串的工具。 该库包括一个货币字符串解析器,通过删除符号和分隔符从格式化字符串中提取原始数值。它还具有一个浮点舍入工具,旨在防止金融计算期间的二进制精度错误。 其他功能涵盖了金融表中货币符号和十进制点的垂直对齐。该工具集还支持本地化的数字格式化,以及将数字或数字数组转换为具有特定精度设置的字符串。
Lightweight library for number and currency formatting.
Sugar 是一个 JavaScript 实用程序库,旨在通过额外的方法扩展原生对象和原型,以进行数据操作和转换。它作为一个工具包,用于对象实用程序、日期操作、字符串变形以及缺失或损坏的标准语言功能的 Polyfill。 该库提供了将实用方法直接映射到内置原型或将值包装在临时对象中以实现方法链的能力,而无需修改全局原型。它还包括一个 Polyfill 系统,通过实现缺失的现代语言功能来确保跨不同执行环境的一致行为。 功能包括国际日期格式化和人类可读日期字符串的解析。该库还通过字符串变形和规范化、嵌套对象的深度属性遍历以及区域感知数组排序来处理自然语言处理。此外,它还提供了用于克隆可变对象以及定义数字、日期和字符串值范围的工具。
Extends native JavaScript types with syntactic sugar.
money.js is a tiny (1kb) javascript currency conversion library, for web & nodeJS
Lightweight currency conversion library.