博客> KoaHub.JS基于Node.js开发的Lodash模块化实用程序代码
KoaHub.JS基于Node.js开发的Lodash模块化实用程序代码
5分钟前 评论:0 阅读:696 wemallshop
Node.js Koa.js KoaHub.js

lodash

Lodash modular utilities.

lodash v4.16.4 The Lodash library exported as Node.js modules.

Installation

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

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

代码详情:http://js.koahub.com/home/feature/lodash

收藏
0
sina weixin mail 回到顶部