Thanks to visit codestin.com
Credit goes to github.com

Skip to content

YuinS316/eazy-utils

Repository files navigation

EAZY-UTILS

一个学习用的仓库,实现各种常见的代码,包括算法 / 设计模式 / 函数式 / 数据结构 / 工具函数

Category
algorithm (算法)
  • quickSort 快速排序
  • bubbleSort 冒泡排序

funtional (函数式)

  • Functor 函子
  • Monoid 幺半群
  • Semigroup 半群

pattern (设计模式)

  • singleton 单例
  • eventEmitter 发布订阅

structure (数据结构)

  • linkedList 链表
  • stack 栈
  • queue 队列
  • heap 堆

tools (工具函数)

  • Array 复刻数组的api
  • compose 组合
  • concurryLimit 并发控制
  • curry 柯里化
  • debounce 防抖
  • extends 继承
  • Flow 一道手写题
  • foldMap 函数式/对盒子进行组合
  • Function apply/call/bind
  • immer 最简单的仿immer,暂时不支持嵌套
  • intanceof 判断继承
  • LazyMan 一道手写题
  • new 仿new
  • pipe 函数组合
  • Promise 仿Promise的各种api
  • throttle 节流

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published