Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/bigbigDreamer/hand-write-awesome

fuck hand write anything
https://github.com/bigbigDreamer/hand-write-awesome

List: hand-write-awesome

handwrite

Last synced: 12 days ago
JSON representation

fuck hand write anything

Awesome Lists containing this project

README

        

# Fuck hand write anything

> 纸上得来终觉浅,绝知此事要躬行。

## Quick Start

```bash
$ pnpm i

# then run command in shell

$ ts-node xxx/xxx.ts
```

⚜️ [**里程碑**](https://github.com/bigbigDreamer/hand-write-awesome/wiki/%E9%87%8C%E7%A8%8B%E7%A2%91)

## 原生`JS`系列

- [x] [实现`new`构造函数](./docs/native-js/new/index.ts)
- [x] [实现`ES5`组合继承](./docs/native-js/extend/index.ts)
- [x] [实现`fn.call`函数](./docs/native-js/call/index.ts)
- [x] [实现函数柯里化](./docs/native-js/curry/index.ts)
- [x] [实现函数组合](./docs/native-js/compose/index.ts)
- [x] [实现深浅拷贝](./docs/native-js/clone/index.ts)
- [x] [实现类型判断](./docs/native-js/typesof/index.ts)
- [x] [实现函数缓存](./docs/native-js/cache-fn/index.ts)
- [x] [防抖](./docs/native-js/debounce/index.ts)
- [x] [节流](./docs/native-js/throttle/index.ts)
- [x] [数字精度](./docs/native-js/number-precision/index.ts)
- [ ] [实现`Promise A+`规范]
- [x] [实现`Promise.all`](./docs/native-js/promise-all/index.ts)
- [x] [实现`Promise.any`](./docs/native-js/promise-any/index.ts)
- [x] [实现`Promise.race`](./docs/native-js/promise-race/index.ts)
- [x] [实现`Promise.allSettled`](./docs/native-js/promise-all-settled/index.ts)
- [x] [实现`Promise.resolve`](./docs/native-js/promise-resolve/index.ts)
- [x] [实现`Promise.prototype.catch`](./docs/native-js/promise-prototype-catch/index.ts)
- [x] [实现`Promise.prototype.finally`](./docs/native-js/promise-prototype-finally/index.tsx)

## 数据结构系列

- [ ] [堆]
- [x] [栈](./docs/algorithms-and-data-structures/stack/index.ts)
- [x] [队列](./docs/algorithms-and-data-structures/queue/index.ts)
- [x] [循环队列](./docs/algorithms-and-data-structures/circular-queue/index.ts)
- [ ] [二叉树]
- [ ] [单链表]
- [ ] [双链表]
- [ ] [循环链表]
- [ ] [红黑树]
- [ ] [图]
- [x] [缓存](./docs/algorithms-and-data-structures/cache/index.ts)
- [x] [阶乘](./docs/algorithms-and-data-structures/factorial/index.ts)
- [x] [递归](./docs/algorithms-and-data-structures/recursion/index.ts)
- [x] [链表的循环检测](./docs/algorithms-and-data-structures/cycle-detection/index.ts)
- [x] [日期转星期](./docs/algorithms-and-data-structures/date-to-day/index.ts)

## 算法系列

- [x] [冒泡排序](./docs/algorithms-and-data-structures/bubble-sort/index.ts)
- [x] [桶排序](./docs/algorithms-and-data-structures/bucket-sort)
- [x] [快速排序](./docs/algorithms-and-data-structures/quick-sort)
- [ ] [原地排序]
- [ ] [二分查找法]

## 设计模式系列

- [x] [工厂模式](./docs/design-pattern/factory-mode/index.ts)
- [x] [发布订阅模式](./docs/design-pattern/pubsub-mode/index.ts)
- [x] [观察者模式](./docs/design-pattern/observer-mode/index.ts)
- [x] [装饰者模式](./docs/design-pattern/decorator-pattern/index.ts)
- [x] [单例模式](./docs/design-pattern/single-mode/index.ts)
- [x] [抽象工厂模式](./docs/design-pattern/abstract-mode/index.ts)
- [x] [策略模式](./docs/design-pattern/strategy-mode/index.ts)

## 文件上传下载系列

- [ ] [实现文件预览]
- [ ] [实现文件分片上传]
- [ ] [实现文件断点续传]

## 算法题目收集

- [x] [数组转树(题型一)](./docs/algorithm-topic-collection/array-to-tree/topic1.ts)

## Fuck Awesome

- [x] [虚拟下载](./docs/awesome/virtual-download/index.ts)
- [x] [文件流数据转换](./docs/awesome/file-to-blob-url/index.ts)

## TypeScript

- [x] [实现Pick](./docs/typescript/pick.ts)
- [x] [实现Omit](./docs/typescript/omit.ts)
- [x] [实现Exclude](./docs/typescript/exclude.ts)
- [x] [实现Include](./docs/typescript/include.ts)
- [x] [实现Record](./docs/typescript/record.ts)
- [x] [实现Required](./docs/typescript/require.ts)
- [x] [实现Partial](./docs/typescript/partial.ts)
- [x] [实现UpperCase](./docs/typescript/uppercase.ts)
- [x] [实现reverse](./docs/typescript/reverse.ts)
- [x] [实现UpperCaseLast](./docs/typescript/uppercase-last.ts)
- [x] [收缩联合类型](./docs/typescript/uniq-type-uppercase.ts)