awesome-repositories.com
博客
awesome-repositories.com

通过 AI 驱动的搜索,发现最优秀的开源仓库。

探索精选搜索开源替代品自托管软件博客网站地图
项目关于排名机制媒体报道MCP 服务器
法律隐私政策服务条款
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·

6 个仓库

Awesome GitHub RepositoriesPure Function Patterns

Strategies for using pure functions and cloning to eliminate unintended modifications of global state.

Distinct from Side Effect Management Libraries: Focuses on pure functions for state isolation, whereas Side Effect Management Libraries focuses on external library tools.

Explore 6 awesome GitHub repositories matching web development · Pure Function Patterns. Refine with filters or upvote what's useful.

Awesome Pure Function Patterns GitHub Repositories

用 AI 发现最棒的仓库。我们将通过 AI 为您搜索最匹配的仓库。
  • humanwhocodes/computer-science-in-javascripthumanwhocodes 的头像

    humanwhocodes/computer-science-in-javascript

    9,119在 GitHub 上查看↗

    This is a collection of classic computer science algorithms and data structures implemented from scratch in JavaScript. The project provides reference implementations of fundamental concepts including sorting algorithms, binary search, linked lists, and binary search trees, all built as standalone pure functions with no external dependencies. The implementations cover a range of data structures, including singly-linked, doubly-linked, and circular linked lists with full traversal and mutation operations, as well as binary search trees supporting insertion, deletion, and search. Sorting algori

    Ships each algorithm and data structure as an independent, reusable pure function module.

    JavaScript
    在 GitHub 上查看↗9,119
  • bendc/frontend-guidelinesbendc 的头像

    bendc/frontend-guidelines

    9,089在 GitHub 上查看↗

    This project is a comprehensive collection of frontend development best practices and standards. It provides guides for writing semantic HTML, efficient CSS, and functional JavaScript to improve overall web performance and accessibility. The repository establishes frameworks for modern CSS architecture, focusing on specificity management and the use of Flexbox and Grid for predictable layouts. It outlines patterns for functional JavaScript programming, emphasizing the use of pure functions and composition to reduce execution time and dependency bloat. The guidelines cover several core capabi

    Provides patterns for using pure functions and composition to eliminate state mutation and reduce dependency bloat.

    在 GitHub 上查看↗9,089
  • mgechev/javascript-algorithmsmgechev 的头像

    mgechev/javascript-algorithms

    7,827在 GitHub 上查看↗

    This project is a JavaScript algorithm library and computer science reference. It provides a collection of standard computational logic patterns and data structure implementations, including linked lists, trees, and graphs, for both educational and practical use. The codebase serves as a technical interview study guide, offering a practical resource for practicing common coding challenges and data structure manipulations. It is designed for computer science education, allowing users to study how classic algorithms work by reviewing and running implementations of established logic patterns. T

    Implements algorithms as standalone JavaScript modules exporting pure functions.

    JavaScriptalgorithmcomputer-science-algorithmshacktoberfest
    在 GitHub 上查看↗7,827
  • angus-c/justangus-c 的头像

    angus-c/just

    6,204在 GitHub 上查看↗

    Just 是一个 JavaScript 实用程序库集合,专为数据操作、函数式编程、性能优化、统计分析和字符串处理而设计。它提供了一套用于深度克隆、过滤和转换复杂对象与数组的工具。 该项目被构建为一系列零依赖模块,允许独立使用实用程序以最小化包大小。它实现了包括柯里化、管道和部分应用在内的函数式编程模式,并通过记忆化、防抖和节流提供执行控制。 该库涵盖了广泛的功能,包括深度对象操作、组合数据生成以及素数验证和数值钳位等数学运算。它还包括用于计算方差和标准差等指标的统计工具,以及用于大小写转换和字符串插值的文本处理实用程序。

    Implements pure function patterns that return new copies of data to prevent unintended mutation.

    JavaScript
    在 GitHub 上查看↗6,204
  • bgrins/tinycolorbgrins 的头像

    bgrins/TinyColor

    5,248在 GitHub 上查看↗

    TinyColor 是一个 JavaScript 颜色处理库,用于解析、转换和修改各种格式和色彩空间的颜色。它既是一个色彩空间转换工具,也是一个 Web 无障碍对比度检查器,以确保符合可读性标准。 该库提供了一个调色板生成器,用于从起始颜色创建单色、类似色和互补色方案。它还可以在十六进制、RGB、HSL、HSV 和命名格式之间转换颜色。 其他功能包括颜色解析和归一化、亮度、饱和度和色相的程序化操作,以及通过对比度计算进行的 Web 无障碍审计。该工具集还涵盖了动态 UI 颜色生成和颜色感知分析。

    Uses a pure functional pattern to return new color objects instead of modifying the original state.

    JavaScript
    在 GitHub 上查看↗5,248
  • felipe-augusto/clean-code-javascriptfelipe-augusto 的头像

    felipe-augusto/clean-code-javascript

    4,891在 GitHub 上查看↗

    This project is a comprehensive guide and set of engineering standards for writing readable, maintainable, and scalable JavaScript code. It provides a framework for software architecture, refactoring patterns, and clean coding practices designed to improve codebase health and longevity. The guide emphasizes the application of SOLID principles and architectural strategies such as dependency inversion and the separation of concerns. It focuses on transforming complex conditional logic through polymorphism and refactoring, while promoting a transition from imperative loops to declarative functio

    Minimizes side effects through the use of pure functions and object cloning.

    JavaScriptclean-codejavascript
    在 GitHub 上查看↗4,891
  1. Home
  2. Web Development
  3. Side Effect Management Libraries
  4. Pure Function Patterns

探索子标签

  • Execution Optimization PatternsPatterns for combining pure functions and native browser APIs to minimize execution time. **Distinct from Pure Function Patterns:** Combines functional purity with native API substitution for performance, rather than just state isolation.
  • Standalone Pure Function ModulesEach algorithm and data structure is implemented as a standalone JavaScript module exporting pure functions with no external dependencies. **Distinct from Pure Function Patterns:** Distinct from Pure Function Patterns: focuses on the module packaging pattern, not the functional programming technique itself.