...**/!(*.map|*.min.js)Size
Gzip
Dependencies
Publish
Install
Publish
Install
@@ -1,7 +1,7 @@ | |||
| 1 | { | 1 | { |
| 2 | "name": "lodash", | 2 | "name": "lodash", |
| 3 | "version": "3.10.1", | ||
| 4 | "description": "The modern build of lodash modular utilities.", | 3 | "version": "4.0.0", |
| 4 | "description": "Lodash modular utilities.", | ||
| 5 | "homepage": "https://lodash.com/", | 5 | "homepage": "https://lodash.com/", |
| 6 | "icon": "https://lodash.com/icon.svg", | 6 | "icon": "https://lodash.com/icon.svg", |
| 7 | "license": "MIT", | 7 | "license": "MIT", |
@@ -10,9 +10,7 @@ | |||
| 10 | "author": "John-David Dalton <john.david.dalton@gmail.com> (http://allyoucanleet.com/)", | 10 | "author": "John-David Dalton <john.david.dalton@gmail.com> (http://allyoucanleet.com/)", |
| 11 | "contributors": [ | 11 | "contributors": [ |
| 12 | "John-David Dalton <john.david.dalton@gmail.com> (http://allyoucanleet.com/)", | 12 | "John-David Dalton <john.david.dalton@gmail.com> (http://allyoucanleet.com/)", |
| 13 | "Benjamin Tan <demoneaux@gmail.com> (https://d10.github.io/)", | ||
| 14 | "Blaine Bublitz <blaine@iceddev.com> (http://www.iceddev.com/)", | ||
| 15 | "Kit Cambridge <github@kitcambridge.be> (http://kitcambridge.be/)", | 13 | "Blaine Bublitz <blaine.bublitz@gmail.com> (https://github.com/phated)", |
| 16 | "Mathias Bynens <mathias@qiwi.be> (https://mathiasbynens.be/)" | 14 | "Mathias Bynens <mathias@qiwi.be> (https://mathiasbynens.be/)" |
| 17 | ], | 15 | ], |
| 18 | "repository": "lodash/lodash", | 16 | "repository": "lodash/lodash", |
@@ -1,11 +1,11 @@ | |||
| 1 | # lodash v3.10.1 | 1 | # lodash v4.0.0 |
| 2 | 2 | ||
| 3 | The [modern build](https://github.com/lodash/lodash/wiki/Build-Differences) of [lodash](https://lodash.com/) exported as [Node.js](http://nodejs.org/)/[io.js](https://iojs.org/) modules. | 3 | The [lodash](https://lodash.com/) library exported as [Node.js](https://nodejs.org/) modules. |
| 4 | 4 | ||
| 5 | Generated using [lodash-cli](https://www.npmjs.com/package/lodash-cli): | 5 | Generated using [lodash-cli](https://www.npmjs.com/package/lodash-cli): |
| 6 | ```bash | 6 | ```bash |
| 7 | $ lodash modularize modern exports=node -o ./ | ||
| 8 | $ lodash modern -d -o ./index.js | 7 | $ lodash modularize exports=node -o ./ |
| 8 | $ lodash -d -o ./lodash.js | ||
| 9 | ``` | 9 | ``` |
| 10 | 10 | ||
| 11 | ## Installation | 11 | ## Installation |
@@ -17,7 +17,7 @@ | |||
| 17 | $ npm i --save lodash | 17 | $ npm i --save lodash |
| 18 | ``` | 18 | ``` |
| 19 | 19 | ||
| 20 | In Node.js/io.js: | 20 | In Node.js: |
| 21 | 21 | ||
| 22 | ```js | 22 | ```js |
| 23 | // load the modern build | 23 | // load the modern build |
@@ -25,10 +25,10 @@ | |||
| 25 | // or a method category | 25 | // or a method category |
| 26 | var array = require('lodash/array'); | 26 | var array = require('lodash/array'); |
| 27 | // or a method (great for smaller builds with browserify/webpack) | 27 | // or a method (great for smaller builds with browserify/webpack) |
| 28 | var chunk = require('lodash/array/chunk'); | 28 | var chunk = require('lodash/chunk'); |
| 29 | ``` | 29 | ``` |
| 30 | 30 | ||
| 31 | See the [package source](https://github.com/lodash/lodash/tree/3.10.1-npm) for more details. | 31 | See the [package source](https://github.com/lodash/lodash/tree/4.0.0-npm) for more details. |
| 32 | 32 | ||
| 33 | **Note:**<br> | 33 | **Note:**<br> |
| 34 | Don’t assign values to the [special variable](http://nodejs.org/api/repl.html#repl_repl_features) `_` when in the REPL.<br> | 34 | Don’t assign values to the [special variable](http://nodejs.org/api/repl.html#repl_repl_features) `_` when in the REPL.<br> |
@@ -38,9 +38,9 @@ | |||
| 38 | 38 | ||
| 39 | lodash is also available in a variety of other builds & module formats. | 39 | lodash is also available in a variety of other builds & module formats. |
| 40 | 40 | ||
| 41 | * npm packages for [modern](https://www.npmjs.com/package/lodash), [compatibility](https://www.npmjs.com/package/lodash-compat), & [per method](https://www.npmjs.com/browse/keyword/lodash-modularized) builds | ||
| 42 | * AMD modules for [modern](https://github.com/lodash/lodash/tree/3.10.1-amd) & [compatibility](https://github.com/lodash/lodash-compat/tree/3.10.1-amd) builds | ||
| 43 | * ES modules for the [modern](https://github.com/lodash/lodash/tree/3.10.1-es) build | 41 | * [lodash](https://www.npmjs.com/package/lodash) & [per method](https://www.npmjs.com/browse/keyword/lodash-modularized) packages |
| 42 | * [lodash-amd](https://www.npmjs.com/package/lodash-amd) | ||
| 43 | * [lodash-es](https://www.npmjs.com/package/lodash-es) | ||
| 44 | 44 | ||
| 45 | ## Further Reading | 45 | ## Further Reading |
| 46 | 46 | ||
@@ -50,72 +50,7 @@ | |||
| 50 | * [Roadmap](https://github.com/lodash/lodash/wiki/Roadmap) | 50 | * [Roadmap](https://github.com/lodash/lodash/wiki/Roadmap) |
| 51 | * [More Resources](https://github.com/lodash/lodash/wiki/Resources) | 51 | * [More Resources](https://github.com/lodash/lodash/wiki/Resources) |
| 52 | 52 | ||
| 53 | ## Features | ||
| 54 | |||
| 55 | * ~100% [code coverage](https://coveralls.io/r/lodash) | ||
| 56 | * Follows [semantic versioning](http://semver.org/) for releases | ||
| 57 | * [Lazily evaluated](http://filimanjaro.com/blog/2014/introducing-lazy-evaluation/) chaining | ||
| 58 | * [_(…)](https://lodash.com/docs#_) supports implicit chaining | ||
| 59 | * [_.ary](https://lodash.com/docs#ary) & [_.rearg](https://lodash.com/docs#rearg) to change function argument limits & order | ||
| 60 | * [_.at](https://lodash.com/docs#at) for cherry-picking collection values | ||
| 61 | * [_.attempt](https://lodash.com/docs#attempt) to execute functions which may error without a try-catch | ||
| 62 | * [_.before](https://lodash.com/docs#before) to complement [_.after](https://lodash.com/docs#after) | ||
| 63 | * [_.bindKey](https://lodash.com/docs#bindKey) for binding [*“lazy”*](http://michaux.ca/articles/lazy-function-definition-pattern) defined methods | ||
| 64 | * [_.chunk](https://lodash.com/docs#chunk) for splitting an array into chunks of a given size | ||
| 65 | * [_.clone](https://lodash.com/docs#clone) supports shallow cloning of `Date` & `RegExp` objects | ||
| 66 | * [_.cloneDeep](https://lodash.com/docs#cloneDeep) for deep cloning arrays & objects | ||
| 67 | * [_.curry](https://lodash.com/docs#curry) & [_.curryRight](https://lodash.com/docs#curryRight) for creating [curried](http://hughfdjackson.com/javascript/why-curry-helps/) functions | ||
| 68 | * [_.debounce](https://lodash.com/docs#debounce) & [_.throttle](https://lodash.com/docs#throttle) are cancelable & accept options for more control | ||
| 69 | * [_.defaultsDeep](https://lodash.com/docs#defaultsDeep) for recursively assigning default properties | ||
| 70 | * [_.fill](https://lodash.com/docs#fill) to fill arrays with values | ||
| 71 | * [_.findKey](https://lodash.com/docs#findKey) for finding keys | ||
| 72 | * [_.flow](https://lodash.com/docs#flow) to complement [_.flowRight](https://lodash.com/docs#flowRight) (a.k.a `_.compose`) | ||
| 73 | * [_.forEach](https://lodash.com/docs#forEach) supports exiting early | ||
| 74 | * [_.forIn](https://lodash.com/docs#forIn) for iterating all enumerable properties | ||
| 75 | * [_.forOwn](https://lodash.com/docs#forOwn) for iterating own properties | ||
| 76 | * [_.get](https://lodash.com/docs#get) & [_.set](https://lodash.com/docs#set) for deep property getting & setting | ||
| 77 | * [_.gt](https://lodash.com/docs#gt), [_.gte](https://lodash.com/docs#gte), [_.lt](https://lodash.com/docs#lt), & [_.lte](https://lodash.com/docs#lte) relational methods | ||
| 78 | * [_.inRange](https://lodash.com/docs#inRange) for checking whether a number is within a given range | ||
| 79 | * [_.isNative](https://lodash.com/docs#isNative) to check for native functions | ||
| 80 | * [_.isPlainObject](https://lodash.com/docs#isPlainObject) & [_.toPlainObject](https://lodash.com/docs#toPlainObject) to check for & convert to `Object` objects | ||
| 81 | * [_.isTypedArray](https://lodash.com/docs#isTypedArray) to check for typed arrays | ||
| 82 | * [_.mapKeys](https://lodash.com/docs#mapKeys) for mapping keys to an object | ||
| 83 | * [_.matches](https://lodash.com/docs#matches) supports deep object comparisons | ||
| 84 | * [_.matchesProperty](https://lodash.com/docs#matchesProperty) to complement [_.matches](https://lodash.com/docs#matches) & [_.property](https://lodash.com/docs#property) | ||
| 85 | * [_.merge](https://lodash.com/docs#merge) for a deep [_.extend](https://lodash.com/docs#extend) | ||
| 86 | * [_.method](https://lodash.com/docs#method) & [_.methodOf](https://lodash.com/docs#methodOf) to create functions that invoke methods | ||
| 87 | * [_.modArgs](https://lodash.com/docs#modArgs) for more advanced functional composition | ||
| 88 | * [_.parseInt](https://lodash.com/docs#parseInt) for consistent cross-environment behavior | ||
| 89 | * [_.pull](https://lodash.com/docs#pull), [_.pullAt](https://lodash.com/docs#pullAt), & [_.remove](https://lodash.com/docs#remove) for mutating arrays | ||
| 90 | * [_.random](https://lodash.com/docs#random) supports returning floating-point numbers | ||
| 91 | * [_.restParam](https://lodash.com/docs#restParam) & [_.spread](https://lodash.com/docs#spread) for applying rest parameters & spreading arguments to functions | ||
| 92 | * [_.runInContext](https://lodash.com/docs#runInContext) for collisionless mixins & easier mocking | ||
| 93 | * [_.slice](https://lodash.com/docs#slice) for creating subsets of array-like values | ||
| 94 | * [_.sortByAll](https://lodash.com/docs#sortByAll) & [_.sortByOrder](https://lodash.com/docs#sortByOrder) for sorting by multiple properties & orders | ||
| 95 | * [_.support](https://lodash.com/docs#support) for flagging environment features | ||
| 96 | * [_.template](https://lodash.com/docs#template) supports [*“imports”*](https://lodash.com/docs#templateSettings-imports) options & [ES template delimiters](http://people.mozilla.org/~jorendorff/es6-draft.html#sec-template-literal-lexical-components) | ||
| 97 | * [_.transform](https://lodash.com/docs#transform) as a powerful alternative to [_.reduce](https://lodash.com/docs#reduce) for transforming objects | ||
| 98 | * [_.unzipWith](https://lodash.com/docs#unzipWith) & [_.zipWith](https://lodash.com/docs#zipWith) to specify how grouped values should be combined | ||
| 99 | * [_.valuesIn](https://lodash.com/docs#valuesIn) for getting values of all enumerable properties | ||
| 100 | * [_.xor](https://lodash.com/docs#xor) to complement [_.difference](https://lodash.com/docs#difference), [_.intersection](https://lodash.com/docs#intersection), & [_.union](https://lodash.com/docs#union) | ||
| 101 | * [_.add](https://lodash.com/docs#add), [_.round](https://lodash.com/docs#round), [_.sum](https://lodash.com/docs#sum), & | ||
| 102 | [more](https://lodash.com/docs "_.ceil & _.floor") math methods | ||
| 103 | * [_.bind](https://lodash.com/docs#bind), [_.curry](https://lodash.com/docs#curry), [_.partial](https://lodash.com/docs#partial), & | ||
| 104 | [more](https://lodash.com/docs "_.bindKey, _.curryRight, _.partialRight") support customizable argument placeholders | ||
| 105 | * [_.capitalize](https://lodash.com/docs#capitalize), [_.trim](https://lodash.com/docs#trim), & | ||
| 106 | [more](https://lodash.com/docs "_.camelCase, _.deburr, _.endsWith, _.escapeRegExp, _.kebabCase, _.pad, _.padLeft, _.padRight, _.repeat, _.snakeCase, _.startCase, _.startsWith, _.trimLeft, _.trimRight, _.trunc, _.words") string methods | ||
| 107 | * [_.clone](https://lodash.com/docs#clone), [_.isEqual](https://lodash.com/docs#isEqual), & | ||
| 108 | [more](https://lodash.com/docs "_.assign, _.cloneDeep, _.merge") accept customizer callbacks | ||
| 109 | * [_.dropWhile](https://lodash.com/docs#dropWhile), [_.takeWhile](https://lodash.com/docs#takeWhile), & | ||
| 110 | [more](https://lodash.com/docs "_.drop, _.dropRight, _.dropRightWhile, _.take, _.takeRight, _.takeRightWhile") to complement [_.first](https://lodash.com/docs#first), [_.initial](https://lodash.com/docs#initial), [_.last](https://lodash.com/docs#last), & [_.rest](https://lodash.com/docs#rest) | ||
| 111 | * [_.findLast](https://lodash.com/docs#findLast), [_.findLastKey](https://lodash.com/docs#findLastKey), & | ||
| 112 | [more](https://lodash.com/docs "_.curryRight, _.dropRight, _.dropRightWhile, _.flowRight, _.forEachRight, _.forInRight, _.forOwnRight, _.padRight, partialRight, _.takeRight, _.trimRight, _.takeRightWhile") right-associative methods | ||
| 113 | * [_.includes](https://lodash.com/docs#includes), [_.toArray](https://lodash.com/docs#toArray), & | ||
| 114 | [more](https://lodash.com/docs "_.at, _.countBy, _.every, _.filter, _.find, _.findLast, _.findWhere, _.forEach, _.forEachRight, _.groupBy, _.indexBy, _.invoke, _.map, _.max, _.min, _.partition, _.pluck, _.reduce, _.reduceRight, _.reject, _.shuffle, _.size, _.some, _.sortBy, _.sortByAll, _.sortByOrder, _.sum, _.where") accept strings | ||
| 115 | * [_#commit](https://lodash.com/docs#prototype-commit) & [_#plant](https://lodash.com/docs#prototype-plant) for working with chain sequences | ||
| 116 | * [_#thru](https://lodash.com/docs#thru) to pass values thru a chain sequence | ||
| 117 | |||
| 118 | ## Support | 53 | ## Support |
| 119 | 54 | ||
| 120 | Tested in Chrome 43-44, Firefox 38-39, IE 6-11, MS Edge, Safari 5-8, ChakraNode 0.12.2, io.js 2.5.0, Node.js 0.8.28, 0.10.40, & 0.12.7, PhantomJS 1.9.8, RingoJS 0.11, & Rhino 1.7.6. | 55 | Tested in Chrome 46-47, Firefox 42-43, IE 9-11, Edge 13, Safari 8-9, Node.js 0.10.x, 0.12.x, 4.x, & 5.x, & PhantomJS 1.9.8. |
| 121 | Automated [browser](https://saucelabs.com/u/lodash) & [CI](https://travis-ci.org/lodash/lodash/) test runs are available. Special thanks to [Sauce Labs](https://saucelabs.com/) for providing automated browser testing. | 56 | Automated [browser](https://saucelabs.com/u/lodash) & [CI](https://travis-ci.org/lodash/lodash/) test runs are available. Special thanks to [Sauce Labs](https://saucelabs.com/) for providing automated browser testing. |
@@ -1,5 +1,5 @@ | |||
| 1 | Copyright 2012-2015 The Dojo Foundation <http://dojofoundation.org/> | ||
| 2 | Based on Underscore.js, copyright 2009-2015 Jeremy Ashkenas, | 1 | Copyright 2012-2016 The Dojo Foundation <http://dojofoundation.org/> |
| 2 | Based on Underscore.js, copyright 2009-2016 Jeremy Ashkenas, | ||
| 3 | DocumentCloud and Investigative Reporters & Editors <http://underscorejs.org/> | 3 | DocumentCloud and Investigative Reporters & Editors <http://underscorejs.org/> |
| 4 | 4 | ||
| 5 | Permission is hereby granted, free of charge, to any person obtaining | 5 | Permission is hereby granted, free of charge, to any person obtaining |
@@ -1,16 +1,36 @@ | |||
| 1 | module.exports = { | ||
| 2 | 'chain': require('./chain/chain'), | ||
| 3 | 'commit': require('./chain/commit'), | ||
| 4 | 'concat': require('./chain/concat'), | ||
| 5 | 'lodash': require('./chain/lodash'), | ||
| 6 | 'plant': require('./chain/plant'), | ||
| 7 | 'reverse': require('./chain/reverse'), | ||
| 8 | 'run': require('./chain/run'), | ||
| 9 | 'tap': require('./chain/tap'), | ||
| 10 | 'thru': require('./chain/thru'), | ||
| 11 | 'toJSON': require('./chain/toJSON'), | ||
| 12 | 'toString': require('./chain/toString'), | ||
| 13 | 'value': require('./chain/value'), | ||
| 14 | 'valueOf': require('./chain/valueOf'), | ||
| 15 | 'wrapperChain': require('./chain/wrapperChain') | ||
| 16 | }; | 1 | var lodash = require('./wrapperLodash'); |
| 2 | |||
| 3 | /** | ||
| 4 | * Creates a `lodash` object that wraps `value` with explicit method chaining enabled. | ||
| 5 | * The result of such method chaining must be unwrapped with `_#value`. | ||
| 6 | * | ||
| 7 | * @static | ||
| 8 | * @memberOf _ | ||
| 9 | * @category Seq | ||
| 10 | * @param {*} value The value to wrap. | ||
| 11 | * @returns {Object} Returns the new `lodash` wrapper instance. | ||
| 12 | * @example | ||
| 13 | * | ||
| 14 | * var users = [ | ||
| 15 | * { 'user': 'barney', 'age': 36 }, | ||
| 16 | * { 'user': 'fred', 'age': 40 }, | ||
| 17 | * { 'user': 'pebbles', 'age': 1 } | ||
| 18 | * ]; | ||
| 19 | * | ||
| 20 | * var youngest = _ | ||
| 21 | * .chain(users) | ||
| 22 | * .sortBy('age') | ||
| 23 | * .map(function(o) { | ||
| 24 | * return o.user + ' is ' + o.age; | ||
| 25 | * }) | ||
| 26 | * .head() | ||
| 27 | * .value(); | ||
| 28 | * // => 'pebbles is 1' | ||
| 29 | */ | ||
| 30 | function chain(value) { | ||
| 31 | var result = lodash(value); | ||
| 32 | result.__chain__ = true; | ||
| 33 | return result; | ||
| 34 | } | ||
| 35 | |||
| 36 | module.exports = chain; | ||
@@ -1,25 +1,33 @@ | |||
| 1 | module.exports = { | 1 | module.exports = { |
| 2 | 'camelCase': require('./string/camelCase'), | ||
| 3 | 'capitalize': require('./string/capitalize'), | ||
| 4 | 'deburr': require('./string/deburr'), | ||
| 5 | 'endsWith': require('./string/endsWith'), | ||
| 6 | 'escape': require('./string/escape'), | ||
| 7 | 'escapeRegExp': require('./string/escapeRegExp'), | ||
| 8 | 'kebabCase': require('./string/kebabCase'), | ||
| 9 | 'pad': require('./string/pad'), | ||
| 10 | 'padLeft': require('./string/padLeft'), | ||
| 11 | 'padRight': require('./string/padRight'), | ||
| 12 | 'parseInt': require('./string/parseInt'), | ||
| 13 | 'repeat': require('./string/repeat'), | ||
| 14 | 'snakeCase': require('./string/snakeCase'), | ||
| 15 | 'startCase': require('./string/startCase'), | ||
| 16 | 'startsWith': require('./string/startsWith'), | ||
| 17 | 'template': require('./string/template'), | ||
| 18 | 'templateSettings': require('./string/templateSettings'), | ||
| 19 | 'trim': require('./string/trim'), | ||
| 20 | 'trimLeft': require('./string/trimLeft'), | ||
| 21 | 'trimRight': require('./string/trimRight'), | ||
| 22 | 'trunc': require('./string/trunc'), | ||
| 23 | 'unescape': require('./string/unescape'), | ||
| 24 | 'words': require('./string/words') | 2 | 'camelCase': require('./camelCase'), |
| 3 | 'capitalize': require('./capitalize'), | ||
| 4 | 'deburr': require('./deburr'), | ||
| 5 | 'endsWith': require('./endsWith'), | ||
| 6 | 'escape': require('./escape'), | ||
| 7 | 'escapeRegExp': require('./escapeRegExp'), | ||
| 8 | 'kebabCase': require('./kebabCase'), | ||
| 9 | 'lowerCase': require('./lowerCase'), | ||
| 10 | 'lowerFirst': require('./lowerFirst'), | ||
| 11 | 'pad': require('./pad'), | ||
| 12 | 'padEnd': require('./padEnd'), | ||
| 13 | 'padStart': require('./padStart'), | ||
| 14 | 'parseInt': require('./parseInt'), | ||
| 15 | 'repeat': require('./repeat'), | ||
| 16 | 'replace': require('./replace'), | ||
| 17 | 'snakeCase': require('./snakeCase'), | ||
| 18 | 'split': require('./split'), | ||
| 19 | 'startCase': require('./startCase'), | ||
| 20 | 'startsWith': require('./startsWith'), | ||
| 21 | 'template': require('./template'), | ||
| 22 | 'templateSettings': require('./templateSettings'), | ||
| 23 | 'toLower': require('./toLower'), | ||
| 24 | 'toUpper': require('./toUpper'), | ||
| 25 | 'trim': require('./trim'), | ||
| 26 | 'trimEnd': require('./trimEnd'), | ||
| 27 | 'trimStart': require('./trimStart'), | ||
| 28 | 'truncate': require('./truncate'), | ||
| 29 | 'unescape': require('./unescape'), | ||
| 30 | 'upperCase': require('./upperCase'), | ||
| 31 | 'upperFirst': require('./upperFirst'), | ||
| 32 | 'words': require('./words') | ||
| 25 | }; | 33 | }; |
@@ -1,44 +1,28 @@ | |||
| 1 | module.exports = { | 1 | module.exports = { |
| 2 | 'all': require('./collection/all'), | ||
| 3 | 'any': require('./collection/any'), | ||
| 4 | 'at': require('./collection/at'), | ||
| 5 | 'collect': require('./collection/collect'), | ||
| 6 | 'contains': require('./collection/contains'), | ||
| 7 | 'countBy': require('./collection/countBy'), | ||
| 8 | 'detect': require('./collection/detect'), | ||
| 9 | 'each': require('./collection/each'), | ||
| 10 | 'eachRight': require('./collection/eachRight'), | ||
| 11 | 'every': require('./collection/every'), | ||
| 12 | 'filter': require('./collection/filter'), | ||
| 13 | 'find': require('./collection/find'), | ||
| 14 | 'findLast': require('./collection/findLast'), | ||
| 15 | 'findWhere': require('./collection/findWhere'), | ||
| 16 | 'foldl': require('./collection/foldl'), | ||
| 17 | 'foldr': require('./collection/foldr'), | ||
| 18 | 'forEach': require('./collection/forEach'), | ||
| 19 | 'forEachRight': require('./collection/forEachRight'), | ||
| 20 | 'groupBy': require('./collection/groupBy'), | ||
| 21 | 'include': require('./collection/include'), | ||
| 22 | 'includes': require('./collection/includes'), | ||
| 23 | 'indexBy': require('./collection/indexBy'), | ||
| 24 | 'inject': require('./collection/inject'), | ||
| 25 | 'invoke': require('./collection/invoke'), | ||
| 26 | 'map': require('./collection/map'), | ||
| 27 | 'max': require('./math/max'), | ||
| 28 | 'min': require('./math/min'), | ||
| 29 | 'partition': require('./collection/partition'), | ||
| 30 | 'pluck': require('./collection/pluck'), | ||
| 31 | 'reduce': require('./collection/reduce'), | ||
| 32 | 'reduceRight': require('./collection/reduceRight'), | ||
| 33 | 'reject': require('./collection/reject'), | ||
| 34 | 'sample': require('./collection/sample'), | ||
| 35 | 'select': require('./collection/select'), | ||
| 36 | 'shuffle': require('./collection/shuffle'), | ||
| 37 | 'size': require('./collection/size'), | ||
| 38 | 'some': require('./collection/some'), | ||
| 39 | 'sortBy': require('./collection/sortBy'), | ||
| 40 | 'sortByAll': require('./collection/sortByAll'), | ||
| 41 | 'sortByOrder': require('./collection/sortByOrder'), | ||
| 42 | 'sum': require('./math/sum'), | ||
| 43 | 'where': require('./collection/where') | 2 | 'at': require('./at'), |
| 3 | 'countBy': require('./countBy'), | ||
| 4 | 'each': require('./each'), | ||
| 5 | 'eachRight': require('./eachRight'), | ||
| 6 | 'every': require('./every'), | ||
| 7 | 'filter': require('./filter'), | ||
| 8 | 'find': require('./find'), | ||
| 9 | 'findLast': require('./findLast'), | ||
| 10 | 'forEach': require('./forEach'), | ||
| 11 | 'forEachRight': require('./forEachRight'), | ||
| 12 | 'groupBy': require('./groupBy'), | ||
| 13 | 'includes': require('./includes'), | ||
| 14 | 'invokeMap': require('./invokeMap'), | ||
| 15 | 'keyBy': require('./keyBy'), | ||
| 16 | 'map': require('./map'), | ||
| 17 | 'orderBy': require('./orderBy'), | ||
| 18 | 'partition': require('./partition'), | ||
| 19 | 'reduce': require('./reduce'), | ||
| 20 | 'reduceRight': require('./reduceRight'), | ||
| 21 | 'reject': require('./reject'), | ||
| 22 | 'sample': require('./sample'), | ||
| 23 | 'sampleSize': require('./sampleSize'), | ||
| 24 | 'shuffle': require('./shuffle'), | ||
| 25 | 'size': require('./size'), | ||
| 26 | 'some': require('./some'), | ||
| 27 | 'sortBy': require('./sortBy') | ||
| 44 | }; | 28 | }; |
@@ -1,44 +1,63 @@ | |||
| 1 | module.exports = { | 1 | module.exports = { |
| 2 | 'chunk': require('./array/chunk'), | ||
| 3 | 'compact': require('./array/compact'), | ||
| 4 | 'difference': require('./array/difference'), | ||
| 5 | 'drop': require('./array/drop'), | ||
| 6 | 'dropRight': require('./array/dropRight'), | ||
| 7 | 'dropRightWhile': require('./array/dropRightWhile'), | ||
| 8 | 'dropWhile': require('./array/dropWhile'), | ||
| 9 | 'fill': require('./array/fill'), | ||
| 10 | 'findIndex': require('./array/findIndex'), | ||
| 11 | 'findLastIndex': require('./array/findLastIndex'), | ||
| 12 | 'first': require('./array/first'), | ||
| 13 | 'flatten': require('./array/flatten'), | ||
| 14 | 'flattenDeep': require('./array/flattenDeep'), | ||
| 15 | 'head': require('./array/head'), | ||
| 16 | 'indexOf': require('./array/indexOf'), | ||
| 17 | 'initial': require('./array/initial'), | ||
| 18 | 'intersection': require('./array/intersection'), | ||
| 19 | 'last': require('./array/last'), | ||
| 20 | 'lastIndexOf': require('./array/lastIndexOf'), | ||
| 21 | 'object': require('./array/object'), | ||
| 22 | 'pull': require('./array/pull'), | ||
| 23 | 'pullAt': require('./array/pullAt'), | ||
| 24 | 'remove': require('./array/remove'), | ||
| 25 | 'rest': require('./array/rest'), | ||
| 26 | 'slice': require('./array/slice'), | ||
| 27 | 'sortedIndex': require('./array/sortedIndex'), | ||
| 28 | 'sortedLastIndex': require('./array/sortedLastIndex'), | ||
| 29 | 'tail': require('./array/tail'), | ||
| 30 | 'take': require('./array/take'), | ||
| 31 | 'takeRight': require('./array/takeRight'), | ||
| 32 | 'takeRightWhile': require('./array/takeRightWhile'), | ||
| 33 | 'takeWhile': require('./array/takeWhile'), | ||
| 34 | 'union': require('./array/union'), | ||
| 35 | 'uniq': require('./array/uniq'), | ||
| 36 | 'unique': require('./array/unique'), | ||
| 37 | 'unzip': require('./array/unzip'), | ||
| 38 | 'unzipWith': require('./array/unzipWith'), | ||
| 39 | 'without': require('./array/without'), | ||
| 40 | 'xor': require('./array/xor'), | ||
| 41 | 'zip': require('./array/zip'), | ||
| 42 | 'zipObject': require('./array/zipObject'), | ||
| 43 | 'zipWith': require('./array/zipWith') | 2 | 'chunk': require('./chunk'), |
| 3 | 'compact': require('./compact'), | ||
| 4 | 'concat': require('./concat'), | ||
| 5 | 'difference': require('./difference'), | ||
| 6 | 'differenceBy': require('./differenceBy'), | ||
| 7 | 'differenceWith': require('./differenceWith'), | ||
| 8 | 'drop': require('./drop'), | ||
| 9 | 'dropRight': require('./dropRight'), | ||
| 10 | 'dropRightWhile': require('./dropRightWhile'), | ||
| 11 | 'dropWhile': require('./dropWhile'), | ||
| 12 | 'fill': require('./fill'), | ||
| 13 | 'findIndex': require('./findIndex'), | ||
| 14 | 'findLastIndex': require('./findLastIndex'), | ||
| 15 | 'flatMap': require('./flatMap'), | ||
| 16 | 'flatten': require('./flatten'), | ||
| 17 | 'flattenDeep': require('./flattenDeep'), | ||
| 18 | 'fromPairs': require('./fromPairs'), | ||
| 19 | 'head': require('./head'), | ||
| 20 | 'indexOf': require('./indexOf'), | ||
| 21 | 'initial': require('./initial'), | ||
| 22 | 'intersection': require('./intersection'), | ||
| 23 | 'intersectionBy': require('./intersectionBy'), | ||
| 24 | 'intersectionWith': require('./intersectionWith'), | ||
| 25 | 'join': require('./join'), | ||
| 26 | 'last': require('./last'), | ||
| 27 | 'lastIndexOf': require('./lastIndexOf'), | ||
| 28 | 'pull': require('./pull'), | ||
| 29 | 'pullAll': require('./pullAll'), | ||
| 30 | 'pullAllBy': require('./pullAllBy'), | ||
| 31 | 'pullAt': require('./pullAt'), | ||
| 32 | 'remove': require('./remove'), | ||
| 33 | 'reverse': require('./reverse'), | ||
| 34 | 'slice': require('./slice'), | ||
| 35 | 'sortedIndex': require('./sortedIndex'), | ||
| 36 | 'sortedIndexBy': require('./sortedIndexBy'), | ||
| 37 | 'sortedIndexOf': require('./sortedIndexOf'), | ||
| 38 | 'sortedLastIndex': require('./sortedLastIndex'), | ||
| 39 | 'sortedLastIndexBy': require('./sortedLastIndexBy'), | ||
| 40 | 'sortedLastIndexOf': require('./sortedLastIndexOf'), | ||
| 41 | 'sortedUniq': require('./sortedUniq'), | ||
| 42 | 'sortedUniqBy': require('./sortedUniqBy'), | ||
| 43 | 'tail': require('./tail'), | ||
| 44 | 'take': require('./take'), | ||
| 45 | 'takeRight': require('./takeRight'), | ||
| 46 | 'takeRightWhile': require('./takeRightWhile'), | ||
| 47 | 'takeWhile': require('./takeWhile'), | ||
| 48 | 'union': require('./union'), | ||
| 49 | 'unionBy': require('./unionBy'), | ||
| 50 | 'unionWith': require('./unionWith'), | ||
| 51 | 'uniq': require('./uniq'), | ||
| 52 | 'uniqBy': require('./uniqBy'), | ||
| 53 | 'uniqWith': require('./uniqWith'), | ||
| 54 | 'unzip': require('./unzip'), | ||
| 55 | 'unzipWith': require('./unzipWith'), | ||
| 56 | 'without': require('./without'), | ||
| 57 | 'xor': require('./xor'), | ||
| 58 | 'xorBy': require('./xorBy'), | ||
| 59 | 'xorWith': require('./xorWith'), | ||
| 60 | 'zip': require('./zip'), | ||
| 61 | 'zipObject': require('./zipObject'), | ||
| 62 | 'zipWith': require('./zipWith') | ||
| 44 | }; | 63 | }; |
@@ -1,28 +1,25 @@ | |||
| 1 | module.exports = { | 1 | module.exports = { |
| 2 | 'after': require('./function/after'), | ||
| 3 | 'ary': require('./function/ary'), | ||
| 4 | 'backflow': require('./function/backflow'), | ||
| 5 | 'before': require('./function/before'), | ||
| 6 | 'bind': require('./function/bind'), | ||
| 7 | 'bindAll': require('./function/bindAll'), | ||
| 8 | 'bindKey': require('./function/bindKey'), | ||
| 9 | 'compose': require('./function/compose'), | ||
| 10 | 'curry': require('./function/curry'), | ||
| 11 | 'curryRight': require('./function/curryRight'), | ||
| 12 | 'debounce': require('./function/debounce'), | ||
| 13 | 'defer': require('./function/defer'), | ||
| 14 | 'delay': require('./function/delay'), | ||
| 15 | 'flow': require('./function/flow'), | ||
| 16 | 'flowRight': require('./function/flowRight'), | ||
| 17 | 'memoize': require('./function/memoize'), | ||
| 18 | 'modArgs': require('./function/modArgs'), | ||
| 19 | 'negate': require('./function/negate'), | ||
| 20 | 'once': require('./function/once'), | ||
| 21 | 'partial': require('./function/partial'), | ||
| 22 | 'partialRight': require('./function/partialRight'), | ||
| 23 | 'rearg': require('./function/rearg'), | ||
| 24 | 'restParam': require('./function/restParam'), | ||
| 25 | 'spread': require('./function/spread'), | ||
| 26 | 'throttle': require('./function/throttle'), | ||
| 27 | 'wrap': require('./function/wrap') | 2 | 'after': require('./after'), |
| 3 | 'ary': require('./ary'), | ||
| 4 | 'before': require('./before'), | ||
| 5 | 'bind': require('./bind'), | ||
| 6 | 'bindKey': require('./bindKey'), | ||
| 7 | 'curry': require('./curry'), | ||
| 8 | 'curryRight': require('./curryRight'), | ||
| 9 | 'debounce': require('./debounce'), | ||
| 10 | 'defer': require('./defer'), | ||
| 11 | 'delay': require('./delay'), | ||
| 12 | 'flip': require('./flip'), | ||
| 13 | 'memoize': require('./memoize'), | ||
| 14 | 'negate': require('./negate'), | ||
| 15 | 'once': require('./once'), | ||
| 16 | 'overArgs': require('./overArgs'), | ||
| 17 | 'partial': require('./partial'), | ||
| 18 | 'partialRight': require('./partialRight'), | ||
| 19 | 'rearg': require('./rearg'), | ||
| 20 | 'rest': require('./rest'), | ||
| 21 | 'spread': require('./spread'), | ||
| 22 | 'throttle': require('./throttle'), | ||
| 23 | 'unary': require('./unary'), | ||
| 24 | 'wrap': require('./wrap') | ||
| 28 | }; | 25 | }; |
@@ -1,9 +1,14 @@ | |||
| 1 | module.exports = { | 1 | module.exports = { |
| 2 | 'add': require('./math/add'), | ||
| 3 | 'ceil': require('./math/ceil'), | ||
| 4 | 'floor': require('./math/floor'), | ||
| 5 | 'max': require('./math/max'), | ||
| 6 | 'min': require('./math/min'), | ||
| 7 | 'round': require('./math/round'), | ||
| 8 | 'sum': require('./math/sum') | 2 | 'add': require('./add'), |
| 3 | 'ceil': require('./ceil'), | ||
| 4 | 'floor': require('./floor'), | ||
| 5 | 'max': require('./max'), | ||
| 6 | 'maxBy': require('./maxBy'), | ||
| 7 | 'mean': require('./mean'), | ||
| 8 | 'min': require('./min'), | ||
| 9 | 'minBy': require('./minBy'), | ||
| 10 | 'round': require('./round'), | ||
| 11 | 'subtract': require('./subtract'), | ||
| 12 | 'sum': require('./sum'), | ||
| 13 | 'sumBy': require('./sumBy') | ||
| 9 | }; | 14 | }; |
@@ -1,32 +1,49 @@ | |||
| 1 | module.exports = { | 1 | module.exports = { |
| 2 | 'clone': require('./lang/clone'), | ||
| 3 | 'cloneDeep': require('./lang/cloneDeep'), | ||
| 4 | 'eq': require('./lang/eq'), | ||
| 5 | 'gt': require('./lang/gt'), | ||
| 6 | 'gte': require('./lang/gte'), | ||
| 7 | 'isArguments': require('./lang/isArguments'), | ||
| 8 | 'isArray': require('./lang/isArray'), | ||
| 9 | 'isBoolean': require('./lang/isBoolean'), | ||
| 10 | 'isDate': require('./lang/isDate'), | ||
| 11 | 'isElement': require('./lang/isElement'), | ||
| 12 | 'isEmpty': require('./lang/isEmpty'), | ||
| 13 | 'isEqual': require('./lang/isEqual'), | ||
| 14 | 'isError': require('./lang/isError'), | ||
| 15 | 'isFinite': require('./lang/isFinite'), | ||
| 16 | 'isFunction': require('./lang/isFunction'), | ||
| 17 | 'isMatch': require('./lang/isMatch'), | ||
| 18 | 'isNaN': require('./lang/isNaN'), | ||
| 19 | 'isNative': require('./lang/isNative'), | ||
| 20 | 'isNull': require('./lang/isNull'), | ||
| 21 | 'isNumber': require('./lang/isNumber'), | ||
| 22 | 'isObject': require('./lang/isObject'), | ||
| 23 | 'isPlainObject': require('./lang/isPlainObject'), | ||
| 24 | 'isRegExp': require('./lang/isRegExp'), | ||
| 25 | 'isString': require('./lang/isString'), | ||
| 26 | 'isTypedArray': require('./lang/isTypedArray'), | ||
| 27 | 'isUndefined': require('./lang/isUndefined'), | ||
| 28 | 'lt': require('./lang/lt'), | ||
| 29 | 'lte': require('./lang/lte'), | ||
| 30 | 'toArray': require('./lang/toArray'), | ||
| 31 | 'toPlainObject': require('./lang/toPlainObject') | 2 | 'clone': require('./clone'), |
| 3 | 'cloneDeep': require('./cloneDeep'), | ||
| 4 | 'cloneDeepWith': require('./cloneDeepWith'), | ||
| 5 | 'cloneWith': require('./cloneWith'), | ||
| 6 | 'eq': require('./eq'), | ||
| 7 | 'gt': require('./gt'), | ||
| 8 | 'gte': require('./gte'), | ||
| 9 | 'isArguments': require('./isArguments'), | ||
| 10 | 'isArray': require('./isArray'), | ||
| 11 | 'isArrayLike': require('./isArrayLike'), | ||
| 12 | 'isArrayLikeObject': require('./isArrayLikeObject'), | ||
| 13 | 'isBoolean': require('./isBoolean'), | ||
| 14 | 'isDate': require('./isDate'), | ||
| 15 | 'isElement': require('./isElement'), | ||
| 16 | 'isEmpty': require('./isEmpty'), | ||
| 17 | 'isEqual': require('./isEqual'), | ||
| 18 | 'isEqualWith': require('./isEqualWith'), | ||
| 19 | 'isError': require('./isError'), | ||
| 20 | 'isFinite': require('./isFinite'), | ||
| 21 | 'isFunction': require('./isFunction'), | ||
| 22 | 'isInteger': require('./isInteger'), | ||
| 23 | 'isLength': require('./isLength'), | ||
| 24 | 'isMatch': require('./isMatch'), | ||
| 25 | 'isMatchWith': require('./isMatchWith'), | ||
| 26 | 'isNaN': require('./isNaN'), | ||
| 27 | 'isNative': require('./isNative'), | ||
| 28 | 'isNil': require('./isNil'), | ||
| 29 | 'isNull': require('./isNull'), | ||
| 30 | 'isNumber': require('./isNumber'), | ||
| 31 | 'isObject': require('./isObject'), | ||
| 32 | 'isObjectLike': require('./isObjectLike'), | ||
| 33 | 'isPlainObject': require('./isPlainObject'), | ||
| 34 | 'isRegExp': require('./isRegExp'), | ||
| 35 | 'isSafeInteger': require('./isSafeInteger'), | ||
| 36 | 'isString': require('./isString'), | ||
| 37 | 'isSymbol': require('./isSymbol'), | ||
| 38 | 'isTypedArray': require('./isTypedArray'), | ||
| 39 | 'isUndefined': require('./isUndefined'), | ||
| 40 | 'lt': require('./lt'), | ||
| 41 | 'lte': require('./lte'), | ||
| 42 | 'toArray': require('./toArray'), | ||
| 43 | 'toInteger': require('./toInteger'), | ||
| 44 | 'toLength': require('./toLength'), | ||
| 45 | 'toNumber': require('./toNumber'), | ||
| 46 | 'toPlainObject': require('./toPlainObject'), | ||
| 47 | 'toSafeInteger': require('./toSafeInteger'), | ||
| 48 | 'toString': require('./toString') | ||
| 32 | }; | 49 | }; |
@@ -1,31 +1,41 @@ | |||
| 1 | module.exports = { | 1 | module.exports = { |
| 2 | 'assign': require('./object/assign'), | ||
| 3 | 'create': require('./object/create'), | ||
| 4 | 'defaults': require('./object/defaults'), | ||
| 5 | 'defaultsDeep': require('./object/defaultsDeep'), | ||
| 6 | 'extend': require('./object/extend'), | ||
| 7 | 'findKey': require('./object/findKey'), | ||
| 8 | 'findLastKey': require('./object/findLastKey'), | ||
| 9 | 'forIn': require('./object/forIn'), | ||
| 10 | 'forInRight': require('./object/forInRight'), | ||
| 11 | 'forOwn': require('./object/forOwn'), | ||
| 12 | 'forOwnRight': require('./object/forOwnRight'), | ||
| 13 | 'functions': require('./object/functions'), | ||
| 14 | 'get': require('./object/get'), | ||
| 15 | 'has': require('./object/has'), | ||
| 16 | 'invert': require('./object/invert'), | ||
| 17 | 'keys': require('./object/keys'), | ||
| 18 | 'keysIn': require('./object/keysIn'), | ||
| 19 | 'mapKeys': require('./object/mapKeys'), | ||
| 20 | 'mapValues': require('./object/mapValues'), | ||
| 21 | 'merge': require('./object/merge'), | ||
| 22 | 'methods': require('./object/methods'), | ||
| 23 | 'omit': require('./object/omit'), | ||
| 24 | 'pairs': require('./object/pairs'), | ||
| 25 | 'pick': require('./object/pick'), | ||
| 26 | 'result': require('./object/result'), | ||
| 27 | 'set': require('./object/set'), | ||
| 28 | 'transform': require('./object/transform'), | ||
| 29 | 'values': require('./object/values'), | ||
| 30 | 'valuesIn': require('./object/valuesIn') | 2 | 'assign': require('./assign'), |
| 3 | 'assignIn': require('./assignIn'), | ||
| 4 | 'assignInWith': require('./assignInWith'), | ||
| 5 | 'assignWith': require('./assignWith'), | ||
| 6 | 'create': require('./create'), | ||
| 7 | 'defaults': require('./defaults'), | ||
| 8 | 'defaultsDeep': require('./defaultsDeep'), | ||
| 9 | 'findKey': require('./findKey'), | ||
| 10 | 'findLastKey': require('./findLastKey'), | ||
| 11 | 'forIn': require('./forIn'), | ||
| 12 | 'forInRight': require('./forInRight'), | ||
| 13 | 'forOwn': require('./forOwn'), | ||
| 14 | 'forOwnRight': require('./forOwnRight'), | ||
| 15 | 'functions': require('./functions'), | ||
| 16 | 'functionsIn': require('./functionsIn'), | ||
| 17 | 'get': require('./get'), | ||
| 18 | 'has': require('./has'), | ||
| 19 | 'hasIn': require('./hasIn'), | ||
| 20 | 'invert': require('./invert'), | ||
| 21 | 'invoke': require('./invoke'), | ||
| 22 | 'keys': require('./keys'), | ||
| 23 | 'keysIn': require('./keysIn'), | ||
| 24 | 'mapKeys': require('./mapKeys'), | ||
| 25 | 'mapValues': require('./mapValues'), | ||
| 26 | 'merge': require('./merge'), | ||
| 27 | 'mergeWith': require('./mergeWith'), | ||
| 28 | 'omit': require('./omit'), | ||
| 29 | 'omitBy': require('./omitBy'), | ||
| 30 | 'pick': require('./pick'), | ||
| 31 | 'pickBy': require('./pickBy'), | ||
| 32 | 'result': require('./result'), | ||
| 33 | 'set': require('./set'), | ||
| 34 | 'setWith': require('./setWith'), | ||
| 35 | 'toPairs': require('./toPairs'), | ||
| 36 | 'toPairsIn': require('./toPairsIn'), | ||
| 37 | 'transform': require('./transform'), | ||
| 38 | 'unset': require('./unset'), | ||
| 39 | 'values': require('./values'), | ||
| 40 | 'valuesIn': require('./valuesIn') | ||
| 31 | }; | 41 | }; |