lowerdash

2019-07-14 admin

lowerdash是什么

什么是lowerdash,Useful mixins for Lo-Dash, formerly hidash

lowerdash使用教程帮助文档

lowerdash

My mixins for Lodash, formerly known as hidash.

Lowerdash provides the following methods:

Function

  • attempt

Array

  • closest
  • from
  • insertAt
  • joinLast/gluten
  • penultimate
  • replaceAt

Object

  • keyOf
  • norris

Array & Object

  • eachAsync
  • eachDelayed
  • eachParallel

Deeper

Set/get/erase Object properties from path

  • getFromPath
  • setFromPath
  • eraseFromPath

Usage

Node environment

npm install lowerdash

Then in your scripts:

var _ = require('lowerdash');

Browser environment

bower install lowerdash

Then include these files into your documents

<script src="bower_components/lowerdash/dist/lowerdash.js"></script>
<script src="bower_components/lodash/dist/lodash.js"></script>

Documentation

YUI docs here

本站文章除注明转载外,均为本站原创或编译。欢迎任何形式的转载,但请务必注明出处。

转载请注明:文章转载自 JavaScript中文网 [https://www.javascriptcn.com]

本文地址:https://www.javascriptcn.com/read-69692.html

文章标题:lowerdash

回到顶部