wxapp-lodash

微信小程序环境下运行的lodash

Usage no npm install needed!

<script type="module">
  import wxappLodash from 'https://cdn.skypack.dev/wxapp-lodash';
</script>

README

lodash小程序版

lodash框架的小程序版本,因为lodash里面的函数构造与全局变量在小程序中不使用,所以稍微修改了下,就能适应在小程序中使用了,对应的lodash版本是4.17.10

安装&引用

npm i -D wxapp-lodash

也可以在github上/lodash.js下载使用

使用方法

参见lodash官网中文文档,点击此处跳转