GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - Hushabyme/lodash-comments: Lodash v4.17.4 源码解析(含大量注释及学习笔记)

BranchesTags
Open more actions menu

Latest commit

 

History

11 Commits
11 Commits

Folders and files

NameName
Last commit message
Last commit date
.idea
.idea
 
 
.internal
.internal
 
 
.editorconfig
.editorconfig
 
 
.eslintrc.js
.eslintrc.js
 
 
.gitattributes
.gitattributes
 
 
.gitignore
.gitignore
 
 
CHANGELOG
CHANGELOG
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
add.js
add.js
 
 
after.js
after.js
 
 
ary.js
ary.js
 
 
assignWith.js
assignWith.js
 
 
at.js
at.js
 
 
attempt.js
attempt.js
 
 
before.js
before.js
 
 
bindKey.js
bindKey.js
 
 
camelCase.js
camelCase.js
 
 
capitalize.js
capitalize.js
 
 
castArray.js
castArray.js
 
 
ceil.js
ceil.js
 
 
chunk.js
chunk.js
 
 
clamp.js
clamp.js
 
 
clone.js
clone.js
 
 
cloneDeep.js
cloneDeep.js
 
 
cloneDeepWith.js
cloneDeepWith.js
 
 
cloneWith.js
cloneWith.js
 
 
compact.js
compact.js
 
 
cond.js
cond.js
 
 
conforms.js
conforms.js
 
 
conformsTo.js
conformsTo.js
 
 
countBy.js
countBy.js
 
 
create.js
create.js
 
 
curry.js
curry.js
 
 
curryRight.js
curryRight.js
 
 
debounce.js
debounce.js
 
 
deburr.js
deburr.js
 
 
defaultTo.js
defaultTo.js
 
 
defaults.js
defaults.js
 
 
defaultsDeep.js
defaultsDeep.js
 
 
defer.js
defer.js
 
 
delay.js
delay.js
 
 
difference.js
difference.js
 
 
differenceBy.js
differenceBy.js
 
 
differenceWith.js
differenceWith.js
 
 
divide.js
divide.js
 
 
drop.js
drop.js
 
 
dropRight.js
dropRight.js
 
 
dropRightWhile.js
dropRightWhile.js
 
 
dropWhile.js
dropWhile.js
 
 
each.js
each.js
 
 
eachRight.js
eachRight.js
 
 
endsWith.js
endsWith.js
 
 
eq.js
eq.js
 
 
eqDeep.js
eqDeep.js
 
 
escape.js
escape.js
 
 
escapeRegExp.js
escapeRegExp.js
 
 
every.js
every.js
 
 
filter.js
filter.js
 
 
find.js
find.js
 
 
findKey.js
findKey.js
 
 
findLast.js
findLast.js
 
 
findLastIndex.js
findLastIndex.js
 
 
findLastKey.js
findLastKey.js
 
 
first.js
first.js
 
 
flatMap.js
flatMap.js
 
 
flatMapDeep.js
flatMapDeep.js
 
 
flatMapDepth.js
flatMapDepth.js
 
 
flatten.js
flatten.js
 
 
flattenDeep.js
flattenDeep.js
 
 
flattenDepth.js
flattenDepth.js
 
 
flip.js
flip.js
 
 
floor.js
floor.js
 
 
flow.js
flow.js
 
 
flowRight.js
flowRight.js
 
 
forEach.js
forEach.js
 
 
forEachRight.js
forEachRight.js
 
 
forOwn.js
forOwn.js
 
 
forOwnRight.js
forOwnRight.js
 
 
fromPairs.js
fromPairs.js
 
 
functions.js
functions.js
 
 
get.js
get.js
 
 
groupBy.js
groupBy.js
 
 
gt.js
gt.js
 
 
gte.js
gte.js
 
 
has.js
has.js
 
 
hasIn.js
hasIn.js
 
 
hasPath.js
hasPath.js
 
 
hasPathIn.js
hasPathIn.js
 
 
head.js
head.js
 
 
inRange.js
inRange.js
 
 
indexOf.js
indexOf.js
 
 
initial.js
initial.js
 
 
intersection.js
intersection.js
 
 
intersectionBy.js
intersectionBy.js
 
 
intersectionWith.js
intersectionWith.js
 
 
invert.js
invert.js
 
 
invertBy.js
invertBy.js
 
 
invoke.js
invoke.js
 
 
invokeMap.js
invokeMap.js
 
 

Repository files navigation

lodash v4.17.4

Site | Docs | FP Guide | Contributing | Wiki | Code of Conduct | Twitter | Chat

The Lodash library exported as a UMD module.

Generated using lodash-cli:

$ npm run build
$ lodash -o ./dist/lodash.js
$ lodash core -o ./dist/lodash.core.js

Download

  • Core build (~4 kB gzipped)
  • Full build (~24 kB gzipped)
  • CDN copies

Lodash is released under the MIT license & supports modern environments.
Review the build differences & pick one that’s right for you.

Installation

In a browser:

<script src="lodash.js"></script>

Using npm:

$ npm i -g npm
$ npm i --save lodash

In Node.js:

// Load the full build.
var _ = require('lodash');
// Load the core build.
var _ = require('lodash/core');
// Load the FP build for immutable auto-curried iteratee-first data-last methods.
var fp = require('lodash/fp');

// Load method categories.
var array = require('lodash/array');
var object = require('lodash/fp/object');

// Cherry-pick methods for smaller browserify/rollup/webpack bundles.
var at = require('lodash/at');
var curryN = require('lodash/fp/curryN');

Note:
Install n_ for Lodash use in the Node.js < 6 REPL.

Why Lodash?

Lodash makes JavaScript easier by taking the hassle out of working with arrays,
numbers, objects, strings, etc. Lodash’s modular methods are great for:

  • Iterating arrays, objects, & strings
  • Manipulating & testing values
  • Creating composite functions

Module Formats

Lodash is available in a variety of builds & module formats.

  • lodash & per method packages
  • lodash-es, babel-plugin-lodash, & lodash-webpack-plugin
  • lodash/fp
  • lodash-amd

About

Lodash v4.17.4 源码解析(含大量注释及学习笔记)

Resources

Readme
License
Activity

Stars

23 stars

Watchers

1 watching

Forks

8 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.