xlodash

0.0.2 • Public • Published

xlodash

練習重新實作 lodash 的幾個函數

安裝

$ npm i xlodash

測試

const _ = require('xlodash')

console.log(_.chunk(['a', 'b', 'c', 'd'], 2))
// => [['a', 'b'], ['c', 'd']]
console.log(_.chunk(['a', 'b', 'c', 'd'], 3))
// => [['a', 'b', 'c'], ['d']]

授權

本套件採用 MIT 授權協定!

Readme

Keywords

Package Sidebar

Install

npm i xlodash

Weekly Downloads

1

Version

0.0.2

License

MIT

Unpacked Size

1.77 kB

Total Files

4

Last publish

Collaborators

  • ccckmit