Start sharing components as a team!Share components as a team!Join Bit to build your applications faster.Get Started Free
Thank you for subscribing to theplan!

lodash

LICENSE
MIT
VISIBILITY
Public
subjectA modern JavaScript utility library delivering modularity, performance, & extras
1 collaborator
Labels
Clear
Labels
Done
No visible options
Clear
Done
Namespaces
Clear
Namespaces
Done
No visible options
Clear
Done
Dependencies
Clear
Dependencies
Done
No visible options
Clear
Done
No size data available
Size
Clear
Size
Done
Choose size range
?
Component bundled with dependencies, minified and gzip'ed
0 B
50 KB +
Component bundled with dependencies,minified and gzip'ed
Clear
Done
More options
Clear
More options
Done
Component features
Tests
Usage examples
Visual rendering
Clear
Done
// The `_.matches` iteratee shorthand.
filter(
  users,
  iteratee({
    user: "barney",
    active: true
  })
lodash /
iteratee
v4.17.11
Creates a function that invokes `func` with the arguments of...
Build: Pass
public
mit
9 KB
// A sequence without explicit chaining.
_(users).head();
lodash /
wrapper-chain
v4.17.11
Creates a `lodash` wrapper instance with explicit method cha...
Build: Pass
public
mit
1 KB
initial([1, 2, 3]);
lodash /
initial
v4.17.11
Gets all but the last element of `array`.
Build: Pass
public
mit
630 B
findLastKey(users, function(o) {
  return o.age < 40;
});
lodash /
find-last-key
v4.17.11
This method is like `_.findKey` except that it iterates over...
Build: Pass
public
mit
N/A
isMatch(object, {
  b: 2
});
lodash /
is-match
v4.17.11
Performs a partial deep comparison between `object` and `sou...
Build: Pass
public
mit
6 KB
isError(new Error());
lodash /
is-error
v4.17.11
Checks if `value` is an `Error`, `EvalError`, `RangeError`, ...
Build: Pass
public
mit
1 KB
isEqual(object, other);
lodash /
is-equal
v4.17.11
Performs a deep comparison between two values to determine i...
Build: Pass
public
mit
N/A
dropWhile(users, function(o) {
  return !o.active;
});
lodash /
drop-while
v4.17.11
Creates a slice of `array` excluding elements dropped from t...
Build: Pass
public
mit
N/A
times(2, _.stubFalse);
lodash /
stub-false
v4.17.11
This method returns `false`.
Build: Pass
public
mit
478 B
toLower("--Foo-Bar--");
lodash /
to-lower
v4.17.11
Converts `string`, as a whole, to lower case just like [Stri...
Build: Pass
public
mit
1 KB
flattenDeep([1, [2, [3, [4]], 5]]);
lodash /
flatten-deep
v4.17.11
Recursively flattens `array`.
Build: Pass
public
mit
1 KB
this.a = 1;
lodash /
for-in-right
v4.17.11
This method is like `_.forIn` except that it iterates over p...
Build: Pass
public
mit
2 KB
toLength(3.2);
lodash /
to-length
v4.17.11
Converts `value` to an integer suitable for use as the lengt...
Build: Pass
public
mit
1 KB
partition(users, function(o) {
  return o.active;
});
lodash /
partition
v4.17.11
Creates an array of elements split into two groups, the firs...
Build: Pass
public
mit
7 KB
endsWith("abc", "c");
lodash /
ends-with
v4.17.11
Checks if `string` ends with the given target string.
Build: Pass
public
mit
2 KB
chunk(["a", "b", "c", "d"], 2);
lodash /
chunk
v4.17.11
Creates an array of elements split into groups the length of...
Build: Pass
public
mit
2 KB
curried(1)(2)(3);
lodash /
curry
v4.17.11
Creates a function that accepts arguments of `func` and eith...
Build: Pass
public
mit
5 KB
delay(
  function(text) {
    console.log(text);
  },
  1000,
  "later"
lodash /
delay
v4.17.11
Invokes `func` after `wait` milliseconds.
Build: Pass
public
mit
2 KB