</pre></h1><h1 class="package-name" style="color: rgb(51, 51, 61); font-family: 'Lucida Grande', 'Lucida Sans Unicode', Helvetica, Arial, Verdana, sans-serif;"><span class="active">lodash</span></h1><p class="package-description" style="color: rgb(51, 51, 61); font-family: 'Lucida Grande', 'Lucida Sans Unicode', Helvetica, Arial, Verdana, sans-serif; font-size: 17px; line-height: 25px;">Lodash modular utilities.</p><div id="readme" class="markdown" style="margin: 0px; color: rgb(51, 51, 61); font-family: 'Lucida Grande', 'Lucida Sans Unicode', Helvetica, Arial, Verdana, sans-serif; font-size: 17px; line-height: 25px;"><h1 id="user-content-lodash-v4164" class="deep-link package-name-redundant" style="margin: 0px; padding: 20px 0px 5px; line-height: 1.2; overflow-y: hidden;"><a target=_blank href="http://js.koahub.com/home/feature/lodash#lodash-v4164" style="color: rgba(0, 0, 0, 0.8); text-decoration: none;">lodash v4.16.4</a></h1><p style="font-size: 16px;">The <a target=_blank href="https://lodash.com/" style="font-weight: 600;">Lodash</a> library exported as <a target=_blank href="https://nodejs.org/" style="font-weight: 600;">Node.js</a> modules.</p><h2 id="user-content-installation" class="deep-link" style="color: rgba(0, 0, 0, 0.8);"><a target=_blank href="http://js.koahub.com/home/feature/lodash#installation" style="color: rgba(0, 0, 0, 0.8); text-decoration: none;">Installation</a></h2><p style="font-size: 16px;">Using npm:</p><p style="font-size: 16px;"><pre name="code" class="javascript">$ 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');
See the package source for more details.
Note:
Install n_ for Lodash use in the Node.js < 6 REPL.
Support
Tested in Chrome 52-53, Firefox 48-49, IE 11, Edge 14, Safari 9-10, Node.js 4-6, & PhantomJS 2.1.1.
Automated browser & CI test runs are available.
wemall 开源微商城 ,微信商城,商城源码,三级分销,微生鲜,微水果,微外卖,微订餐---专业的o2o系统
wemall地址:http://www.wemallshop.com