Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tjx666/deep-in-fe
explore front-end mystery 前端探秘
https://github.com/tjx666/deep-in-fe
frontend mystery
Last synced: 12 days ago
JSON representation
explore front-end mystery 前端探秘
- Host: GitHub
- URL: https://github.com/tjx666/deep-in-fe
- Owner: tjx666
- License: mit
- Created: 2019-04-13T14:29:09.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2022-12-05T20:47:09.000Z (almost 2 years ago)
- Last Synced: 2024-10-10T12:18:54.193Z (about 1 month ago)
- Topics: frontend, mystery
- Language: JavaScript
- Homepage:
- Size: 7.65 MB
- Stars: 55
- Watchers: 2
- Forks: 12
- Open Issues: 19
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 深入前端系列
[![Build Status](https://travis-ci.org/tjx666/deep-in-fe.svg?branch=master)](https://travis-ci.org/tjx666/deep-in-fe) [![codecov](https://codecov.io/gh/tjx666/deep-in-fe/branch/master/graph/badge.svg)](https://codecov.io/gh/tjx666/deep-in-fe) [![devDependencies Status](https://david-dm.org/tjx666/deep-in-fe/dev-status.svg)](https://david-dm.org/tjx666/deep-in-fe?type=dev) [![Known Vulnerabilities](https://snyk.io/test/github/tjx666/deep-in-fe/badge.svg?targetFile=package.json)](https://snyk.io/test/github/tjx666/deep-in-fe?targetFile=package.json) [![Percentage of issues still open](https://isitmaintained.com/badge/open/tjx666/deep-in-fe.svg)](http://isitmaintained.com/project/tjx666/deep-in-fe)
## JavaScript
1. [实现一个完全符合 Promise A+ 规范的 Promise](https://github.com/tjx666/deep-in-fe/tree/master/src/promise) ✔
包含实例方法 then, catch, finally 和静态方法 resolve, reject, all, race, allSettled
2. [模拟 async/await](https://github.com/tjx666/deep-in-fe/tree/master/src/co) ✔
3. [实现 node EventEmitter](https://github.com/tjx666/deep-in-fe/tree/master/src/eventEmitter) ✔
包含 on, off, once, prependListener, setMaxListeners 等方法
4. [instanceof 运算符原理](https://github.com/tjx666/deep-in-fe/tree/master/src/instanceof) ✔
5. [new 运算符原理](https://github.com/tjx666/deep-in-fe/tree/master/src/new) ✔
6. [JavaScript 类型检测](https://github.com/tjx666/deep-in-fe/tree/master/src/is)
- isNumber ✔
- isString ✔
- isBoolean ✔
- isObject ✔
- isObjectLike ✔
- isPlainObject ✔
- isArguments ✔7. [强大的 reduce](https://github.com/tjx666/deep-in-fe/tree/master/src/powerfulReduce)
- reduce 实现 map ✔
- reduce 实现 filter ✔
- 解析 URL queryString ✔
- 串行执行 promise ✔
- 函数管道 ✔8. [防抖](https://github.com/tjx666/deep-in-fe/tree/master/src/debounce) ✔
9. [节流](https://github.com/tjx666/deep-in-fe/tree/master/src/throttle)
- 比较时间戳 ✔
- 定时器 ✔10. [继承](https://github.com/tjx666/deep-in-fe/tree/master/src/extends)
- 原型继承 ✔
- 组合继承 ✔
- ES6 class 继承 ✔11. [事件委托](https://github.com/tjx666/deep-in-fe/tree/master/src/eventDelegation) ✔
12. [call, apply, bind](https://github.com/tjx666/deep-in-fe/tree/master/src/callApplyBind) ✔
13. [扁平化数组](https://github.com/tjx666/deep-in-fe/tree/master/src/flat)
- reduce 递归 ✔
- toString ✔
- splice 非递归 ✔
- 指定深度的 flatDepth ✔14. [模拟私有属性](https://github.com/tjx666/deep-in-fe/tree/master/src/privateProperty) ✔
15. [redux](https://github.com/tjx666/deep-in-fe/tree/master/src/redux)
- createStore ✔
- compose ✔16. [深度克隆](https://github.com/tjx666/deep-in-fe/tree/master/src/cloneDeep) ✔
17. [ajax](https://github.com/tjx666/deep-in-fe/tree/master/src/ajax)
- 原生 ajax ✔
- jsonp ✔18. [处理服务器返回 null](https://github.com/tjx666/deep-in-fe/tree/master/src/safeGet)
- lodash get ✔
- proxy ✔19. [koa 中间件机制](https://github.com/tjx666/deep-in-fe/tree/master/src/koaMiddleware) ✔
20. [curry](https://github.com/tjx666/deep-in-fe/tree/master/src/curry) ✔
21. [并发限制调度器 scheduler](https://github.com/tjx666/deep-in-fe/tree/master/src/scheduler) ✔
22. [一些函数工具](https://github.com/tjx666/deep-in-fe/tree/master/src/scheduler)
- once ✔
- memorize ✔