RemoveBgExtensionChrome/libs/lodash
Kai Ton 8af364677b first commit 2023-11-16 11:19:41 +07:00
..
.internal first commit 2023-11-16 11:19:41 +07:00
LICENSE first commit 2023-11-16 11:19:41 +07:00
README.md first commit 2023-11-16 11:19:41 +07:00
SECURITY.md first commit 2023-11-16 11:19:41 +07:00
add.js first commit 2023-11-16 11:19:41 +07:00
after.js first commit 2023-11-16 11:19:41 +07:00
at.js first commit 2023-11-16 11:19:41 +07:00
attempt.js first commit 2023-11-16 11:19:41 +07:00
before.js first commit 2023-11-16 11:19:41 +07:00
camelCase.js first commit 2023-11-16 11:19:41 +07:00
capitalize.js first commit 2023-11-16 11:19:41 +07:00
castArray.js first commit 2023-11-16 11:19:41 +07:00
ceil.js first commit 2023-11-16 11:19:41 +07:00
chunk.js first commit 2023-11-16 11:19:41 +07:00
clamp.js first commit 2023-11-16 11:19:41 +07:00
clone.js first commit 2023-11-16 11:19:41 +07:00
cloneDeep.js first commit 2023-11-16 11:19:41 +07:00
cloneDeepWith.js first commit 2023-11-16 11:19:41 +07:00
cloneWith.js first commit 2023-11-16 11:19:41 +07:00
compact.js first commit 2023-11-16 11:19:41 +07:00
cond.js first commit 2023-11-16 11:19:41 +07:00
conforms.js first commit 2023-11-16 11:19:41 +07:00
conformsTo.js first commit 2023-11-16 11:19:41 +07:00
countBy.js first commit 2023-11-16 11:19:41 +07:00
create.js first commit 2023-11-16 11:19:41 +07:00
debounce.js first commit 2023-11-16 11:19:41 +07:00
deburr.js first commit 2023-11-16 11:19:41 +07:00
defaultTo.js first commit 2023-11-16 11:19:41 +07:00
defaultToAny.js first commit 2023-11-16 11:19:41 +07:00
defaults.js first commit 2023-11-16 11:19:41 +07:00
defaultsDeep.js first commit 2023-11-16 11:19:41 +07:00
defer.js first commit 2023-11-16 11:19:41 +07:00
delay.js first commit 2023-11-16 11:19:41 +07:00
difference.js first commit 2023-11-16 11:19:41 +07:00
differenceBy.js first commit 2023-11-16 11:19:41 +07:00
differenceWith.js first commit 2023-11-16 11:19:41 +07:00
divide.js first commit 2023-11-16 11:19:41 +07:00
drop.js first commit 2023-11-16 11:19:41 +07:00
dropRight.js first commit 2023-11-16 11:19:41 +07:00
dropRightWhile.js first commit 2023-11-16 11:19:41 +07:00
dropWhile.js first commit 2023-11-16 11:19:41 +07:00
each.js first commit 2023-11-16 11:19:41 +07:00
eachRight.js first commit 2023-11-16 11:19:41 +07:00
endsWith.js first commit 2023-11-16 11:19:41 +07:00
eq.js first commit 2023-11-16 11:19:41 +07:00
eqDeep.js first commit 2023-11-16 11:19:41 +07:00
escape.js first commit 2023-11-16 11:19:41 +07:00
escapeRegExp.js first commit 2023-11-16 11:19:41 +07:00
every.js first commit 2023-11-16 11:19:41 +07:00
everyValue.js first commit 2023-11-16 11:19:41 +07:00
filter.js first commit 2023-11-16 11:19:41 +07:00
filterObject.js first commit 2023-11-16 11:19:41 +07:00
findKey.js first commit 2023-11-16 11:19:41 +07:00
findLast.js first commit 2023-11-16 11:19:41 +07:00
findLastIndex.js first commit 2023-11-16 11:19:41 +07:00
findLastKey.js first commit 2023-11-16 11:19:41 +07:00
first.js first commit 2023-11-16 11:19:41 +07:00
flatMap.js first commit 2023-11-16 11:19:41 +07:00
flatMapDeep.js first commit 2023-11-16 11:19:41 +07:00
flatMapDepth.js first commit 2023-11-16 11:19:41 +07:00
flatten.js first commit 2023-11-16 11:19:41 +07:00
flattenDeep.js first commit 2023-11-16 11:19:41 +07:00
flattenDepth.js first commit 2023-11-16 11:19:41 +07:00
flip.js first commit 2023-11-16 11:19:41 +07:00
floor.js first commit 2023-11-16 11:19:41 +07:00
flow.js first commit 2023-11-16 11:19:41 +07:00
flowRight.js first commit 2023-11-16 11:19:41 +07:00
forEach.js first commit 2023-11-16 11:19:41 +07:00
forEachRight.js first commit 2023-11-16 11:19:41 +07:00
forOwn.js first commit 2023-11-16 11:19:41 +07:00
forOwnRight.js first commit 2023-11-16 11:19:41 +07:00
fromEntries.js first commit 2023-11-16 11:19:41 +07:00
functions.js first commit 2023-11-16 11:19:41 +07:00
get.js first commit 2023-11-16 11:19:41 +07:00
groupBy.js first commit 2023-11-16 11:19:41 +07:00
gt.js first commit 2023-11-16 11:19:41 +07:00
gte.js first commit 2023-11-16 11:19:41 +07:00
has.js first commit 2023-11-16 11:19:41 +07:00
hasIn.js first commit 2023-11-16 11:19:41 +07:00
hasPath.js first commit 2023-11-16 11:19:41 +07:00
hasPathIn.js first commit 2023-11-16 11:19:41 +07:00
head.js first commit 2023-11-16 11:19:41 +07:00
inRange.js first commit 2023-11-16 11:19:41 +07:00
indexOf.js first commit 2023-11-16 11:19:41 +07:00
initial.js first commit 2023-11-16 11:19:41 +07:00
intersection.js first commit 2023-11-16 11:19:41 +07:00
intersectionBy.js first commit 2023-11-16 11:19:41 +07:00
intersectionWith.js first commit 2023-11-16 11:19:41 +07:00
invert.js first commit 2023-11-16 11:19:41 +07:00
invertBy.js first commit 2023-11-16 11:19:41 +07:00
invoke.js first commit 2023-11-16 11:19:41 +07:00
invokeMap.js first commit 2023-11-16 11:19:41 +07:00
isArguments.js first commit 2023-11-16 11:19:41 +07:00
isArrayBuffer.js first commit 2023-11-16 11:19:41 +07:00
isArrayLike.js first commit 2023-11-16 11:19:41 +07:00
isArrayLikeObject.js first commit 2023-11-16 11:19:41 +07:00
isBoolean.js first commit 2023-11-16 11:19:41 +07:00
isBuffer.js first commit 2023-11-16 11:19:41 +07:00
isDate.js first commit 2023-11-16 11:19:41 +07:00
isElement.js first commit 2023-11-16 11:19:41 +07:00
isEmpty.js first commit 2023-11-16 11:19:41 +07:00
isEqualWith.js first commit 2023-11-16 11:19:41 +07:00
isError.js first commit 2023-11-16 11:19:41 +07:00
isFunction.js first commit 2023-11-16 11:19:41 +07:00
isLength.js first commit 2023-11-16 11:19:41 +07:00
isMap.js first commit 2023-11-16 11:19:41 +07:00
isMatch.js first commit 2023-11-16 11:19:41 +07:00
isMatchWith.js first commit 2023-11-16 11:19:41 +07:00
isNative.js first commit 2023-11-16 11:19:41 +07:00
isNil.js first commit 2023-11-16 11:19:41 +07:00
isNull.js first commit 2023-11-16 11:19:41 +07:00
isNumber.js first commit 2023-11-16 11:19:41 +07:00
isObject.js first commit 2023-11-16 11:19:41 +07:00
isObjectLike.js first commit 2023-11-16 11:19:41 +07:00
isPlainObject.js first commit 2023-11-16 11:19:41 +07:00
isRegExp.js first commit 2023-11-16 11:19:41 +07:00
isSet.js first commit 2023-11-16 11:19:41 +07:00
isString.js first commit 2023-11-16 11:19:41 +07:00
isSymbol.js first commit 2023-11-16 11:19:41 +07:00
isTypedArray.js first commit 2023-11-16 11:19:41 +07:00
isUndefined.js first commit 2023-11-16 11:19:41 +07:00
isWeakMap.js first commit 2023-11-16 11:19:41 +07:00
isWeakSet.js first commit 2023-11-16 11:19:41 +07:00
kebabCase.js first commit 2023-11-16 11:19:41 +07:00
keyBy.js first commit 2023-11-16 11:19:41 +07:00
keys.js first commit 2023-11-16 11:19:41 +07:00
keysIn.js first commit 2023-11-16 11:19:41 +07:00
last.js first commit 2023-11-16 11:19:41 +07:00
lastIndexOf.js first commit 2023-11-16 11:19:41 +07:00
lowerCase.js first commit 2023-11-16 11:19:41 +07:00
lowerFirst.js first commit 2023-11-16 11:19:41 +07:00
lt.js first commit 2023-11-16 11:19:41 +07:00
lte.js first commit 2023-11-16 11:19:41 +07:00
map.js first commit 2023-11-16 11:19:41 +07:00
mapKey.js first commit 2023-11-16 11:19:41 +07:00
mapObject.js first commit 2023-11-16 11:19:41 +07:00
mapValue.js first commit 2023-11-16 11:19:41 +07:00
matches.js first commit 2023-11-16 11:19:41 +07:00
matchesProperty.js first commit 2023-11-16 11:19:41 +07:00
maxBy.js first commit 2023-11-16 11:19:41 +07:00
mean.js first commit 2023-11-16 11:19:41 +07:00
meanBy.js first commit 2023-11-16 11:19:41 +07:00
memoize.js first commit 2023-11-16 11:19:41 +07:00
merge.js first commit 2023-11-16 11:19:41 +07:00
mergeWith.js first commit 2023-11-16 11:19:41 +07:00
method.js first commit 2023-11-16 11:19:41 +07:00
methodOf.js first commit 2023-11-16 11:19:41 +07:00
minBy.js first commit 2023-11-16 11:19:41 +07:00
multiply.js first commit 2023-11-16 11:19:41 +07:00
negate.js first commit 2023-11-16 11:19:41 +07:00
nth.js first commit 2023-11-16 11:19:41 +07:00
nthArg.js first commit 2023-11-16 11:19:41 +07:00
once.js first commit 2023-11-16 11:19:41 +07:00
orderBy.js first commit 2023-11-16 11:19:41 +07:00
over.js first commit 2023-11-16 11:19:41 +07:00
overArgs.js first commit 2023-11-16 11:19:41 +07:00
overEvery.js first commit 2023-11-16 11:19:41 +07:00
overSome.js first commit 2023-11-16 11:19:41 +07:00
pad.js first commit 2023-11-16 11:19:41 +07:00
padEnd.js first commit 2023-11-16 11:19:41 +07:00
padStart.js first commit 2023-11-16 11:19:41 +07:00
parseInt.js first commit 2023-11-16 11:19:41 +07:00
partition.js first commit 2023-11-16 11:19:41 +07:00
pick.js first commit 2023-11-16 11:19:41 +07:00
pickBy.js first commit 2023-11-16 11:19:41 +07:00
property.js first commit 2023-11-16 11:19:41 +07:00
propertyOf.js first commit 2023-11-16 11:19:41 +07:00
pull.js first commit 2023-11-16 11:19:41 +07:00
pullAll.js first commit 2023-11-16 11:19:41 +07:00
pullAllBy.js first commit 2023-11-16 11:19:41 +07:00
pullAllWith.js first commit 2023-11-16 11:19:41 +07:00
pullAt.js first commit 2023-11-16 11:19:41 +07:00
random.js first commit 2023-11-16 11:19:41 +07:00
range.js first commit 2023-11-16 11:19:41 +07:00
rangeRight.js first commit 2023-11-16 11:19:41 +07:00
reduce.js first commit 2023-11-16 11:19:41 +07:00
reduceRight.js first commit 2023-11-16 11:19:41 +07:00
reject.js first commit 2023-11-16 11:19:41 +07:00
remove.js first commit 2023-11-16 11:19:41 +07:00
repeat.js first commit 2023-11-16 11:19:41 +07:00
replace.js first commit 2023-11-16 11:19:41 +07:00
result.js first commit 2023-11-16 11:19:41 +07:00
round.js first commit 2023-11-16 11:19:41 +07:00
sample.js first commit 2023-11-16 11:19:41 +07:00
sampleSize.js first commit 2023-11-16 11:19:41 +07:00
set.js first commit 2023-11-16 11:19:41 +07:00
setWith.js first commit 2023-11-16 11:19:41 +07:00
shuffle.js first commit 2023-11-16 11:19:41 +07:00
size.js first commit 2023-11-16 11:19:41 +07:00
slice.js first commit 2023-11-16 11:19:41 +07:00
snakeCase.js first commit 2023-11-16 11:19:41 +07:00
some.js first commit 2023-11-16 11:19:41 +07:00
someValue.js first commit 2023-11-16 11:19:41 +07:00
sortedIndex.js first commit 2023-11-16 11:19:41 +07:00
sortedIndexBy.js first commit 2023-11-16 11:19:41 +07:00
sortedIndexOf.js first commit 2023-11-16 11:19:41 +07:00
sortedLastIndex.js first commit 2023-11-16 11:19:41 +07:00
sortedLastIndexBy.js first commit 2023-11-16 11:19:41 +07:00
sortedLastIndexOf.js first commit 2023-11-16 11:19:41 +07:00
sortedUniq.js first commit 2023-11-16 11:19:41 +07:00
sortedUniqBy.js first commit 2023-11-16 11:19:41 +07:00
split.js first commit 2023-11-16 11:19:41 +07:00
startCase.js first commit 2023-11-16 11:19:41 +07:00
startsWith.js first commit 2023-11-16 11:19:41 +07:00
subtract.js first commit 2023-11-16 11:19:41 +07:00
sum.js first commit 2023-11-16 11:19:41 +07:00
sumBy.js first commit 2023-11-16 11:19:41 +07:00
tail.js first commit 2023-11-16 11:19:41 +07:00
take.js first commit 2023-11-16 11:19:41 +07:00
takeRight.js first commit 2023-11-16 11:19:41 +07:00
takeRightWhile.js first commit 2023-11-16 11:19:41 +07:00
takeWhile.js first commit 2023-11-16 11:19:41 +07:00
throttle.js first commit 2023-11-16 11:19:41 +07:00
times.js first commit 2023-11-16 11:19:41 +07:00
toArray.js first commit 2023-11-16 11:19:41 +07:00
toFinite.js first commit 2023-11-16 11:19:41 +07:00
toInteger.js first commit 2023-11-16 11:19:41 +07:00
toLength.js first commit 2023-11-16 11:19:41 +07:00
toNumber.js first commit 2023-11-16 11:19:41 +07:00
toPath.js first commit 2023-11-16 11:19:41 +07:00
toPlainObject.js first commit 2023-11-16 11:19:41 +07:00
toSafeInteger.js first commit 2023-11-16 11:19:41 +07:00
toString.js first commit 2023-11-16 11:19:41 +07:00
transform.js first commit 2023-11-16 11:19:41 +07:00
trim.js first commit 2023-11-16 11:19:41 +07:00
trimEnd.js first commit 2023-11-16 11:19:41 +07:00
trimStart.js first commit 2023-11-16 11:19:41 +07:00
truncate.js first commit 2023-11-16 11:19:41 +07:00
unescape.js first commit 2023-11-16 11:19:41 +07:00
union.js first commit 2023-11-16 11:19:41 +07:00
unionBy.js first commit 2023-11-16 11:19:41 +07:00
unionWith.js first commit 2023-11-16 11:19:41 +07:00
uniq.js first commit 2023-11-16 11:19:41 +07:00
uniqBy.js first commit 2023-11-16 11:19:41 +07:00
uniqWith.js first commit 2023-11-16 11:19:41 +07:00
uniqueId.js first commit 2023-11-16 11:19:41 +07:00
unset.js first commit 2023-11-16 11:19:41 +07:00
unzip.js first commit 2023-11-16 11:19:41 +07:00
unzipWith.js first commit 2023-11-16 11:19:41 +07:00
update.js first commit 2023-11-16 11:19:41 +07:00
updateWith.js first commit 2023-11-16 11:19:41 +07:00
upperCase.js first commit 2023-11-16 11:19:41 +07:00
upperFirst.js first commit 2023-11-16 11:19:41 +07:00
values.js first commit 2023-11-16 11:19:41 +07:00
without.js first commit 2023-11-16 11:19:41 +07:00
words.js first commit 2023-11-16 11:19:41 +07:00
xor.js first commit 2023-11-16 11:19:41 +07:00
xorBy.js first commit 2023-11-16 11:19:41 +07:00
xorWith.js first commit 2023-11-16 11:19:41 +07:00
zip.js first commit 2023-11-16 11:19:41 +07:00
zipObject.js first commit 2023-11-16 11:19:41 +07:00
zipObjectDeep.js first commit 2023-11-16 11:19:41 +07:00
zipWith.js first commit 2023-11-16 11:19:41 +07:00

README.md

lodash

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

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

Installation

In a browser:

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

Using npm:

$ npm i -g npm
$ npm i lodash

Note: add --save if you are using npm < 5.0.0

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');

Looking for Lodash modules written in ES6 or smaller bundle sizes? Check out lodash-es.

Why Lodash?

Lodash makes JavaScript easier by taking the hassle out of working with arrays,
numbers, objects, strings, etc. Lodashs 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.