All Projects → qianlongo → Underscore Analysis

qianlongo / Underscore Analysis

Licence: mit
underscore.js源码分析一点点进行中,欢迎watch

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Underscore Analysis

ugo
Simple and expressive toolbox written in Go
Stars: ✭ 27 (-52.63%)
Mutual labels:  underscore
js-terminal
The copy of Terminal developed in JS
Stars: ✭ 21 (-63.16%)
Mutual labels:  underscore
Underscore Analysis
【NO LONGER UPDATE】underscore-1.8.3.js 源码解读 & 系列文章(完)
Stars: ✭ 3,940 (+6812.28%)
Mutual labels:  underscore
php-underscore
PHP underscore inspired &/or cloned from _.js, with extra goodies like higher order messaging
Stars: ✭ 42 (-26.32%)
Mutual labels:  underscore
underwater
~2kb - ES6 Collection of helper functions. Lodash like
Stars: ✭ 18 (-68.42%)
Mutual labels:  underscore
Gulp Template
Render/precompile Lodash templates
Stars: ✭ 276 (+384.21%)
Mutual labels:  underscore
Inflector
A multilingual inflector that transforms words from singular to plural, underscore to camel case, and formats strings in various ways.
Stars: ✭ 204 (+257.89%)
Mutual labels:  underscore
Sensei Grid
Simple and lightweight data grid in JS/HTML
Stars: ✭ 808 (+1317.54%)
Mutual labels:  underscore
eslint-plugin-lodash-template
ESLint plugin for John Resig-style micro template, Lodash's template, Underscore's template and EJS.
Stars: ✭ 15 (-73.68%)
Mutual labels:  underscore
Yalinqo
Yet Another LINQ to Objects for PHP [Simplified BSD]
Stars: ✭ 400 (+601.75%)
Mutual labels:  underscore
backbone-tutorial-series
Source code generated in the Backbone.js tutorial series
Stars: ✭ 71 (+24.56%)
Mutual labels:  underscore
rudash
Rudash - Lodash for Ruby Apps
Stars: ✭ 27 (-52.63%)
Mutual labels:  underscore
Underscore Java
java port of Underscore.js
Stars: ✭ 327 (+473.68%)
Mutual labels:  underscore
php-lodash
php-lodash is a PHP utility library, similar to Underscore/Lodash.
Stars: ✭ 35 (-38.6%)
Mutual labels:  underscore
Lodash Id
Makes it easy to manipulate id-based resources with lodash or lowdb
Stars: ✭ 434 (+661.4%)
Mutual labels:  underscore
Blog
若川的博客—学习源码整体架构系列8篇,前端面试高频源码,微信搜索「若川视野」关注我,长期交流学习~
Stars: ✭ 234 (+310.53%)
Mutual labels:  underscore
underscore.haz
🔍 _.haz() is like _.has() but this underscore and/or lodash mixin lets you do deep object key existence checking with a dot denoted string, for example 'a.b.c'
Stars: ✭ 13 (-77.19%)
Mutual labels:  underscore
Javascript ninja
javascript-ninja 😆
Stars: ✭ 11 (-80.7%)
Mutual labels:  underscore
Moses
Utility library for functional programming in Lua
Stars: ✭ 541 (+849.12%)
Mutual labels:  underscore
Nspl
Non-Standard PHP Library - functional primitives toolbox and more
Stars: ✭ 365 (+540.35%)
Mutual labels:  underscore

愿景

一直希望有一个机会可以阅读某库的源码,并写一些自己的想法和思考,最终将目标定在underscore.js,一个纯粹的js工具库,没有dom、bom的参与。 下划线的许多api都是日常工作中会用到的,诸如each,map,bind,isUndefined...等,试想如果深入其中把这些api都整明白了,是不是会有许多收获呢!想想还有些小激动。

阅读源码这几个月

老实说静下心来看完一个库是比较难得一件事,从开始阅读下划线到现在过去几个月,终于把它给整的差不多了,期间也看了网上别人的下划线源码分析(比如@老姚的underscore库源码分析系列就非常的不错),这个过程有心累,有慵懒,有喜悦,有收获,原来坚持去做一件事真的能令人开森,如果你有兴趣,也可以花点时间去阅读下划线,相信你也会有所收获。

文章书写计划

下划线的api组成总体来说分成

  1. object方法类
  2. 集合方法类
  3. array方法类
  4. function方法类
  5. 工具方法类

所以基本上会按照这样的大的类别划分来书写源码分析的文章,中间可能会结合其他的js知识写一些零碎的文章。(路漫漫其修远兮,要加油啊,吼吼吼)

源码预览

全文注释版本

下划线源码

文章列表

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].