Skip to content

Latest commit

History

History
37 lines (27 loc) 路 949 Bytes

File metadata and controls

37 lines (27 loc) 路 949 Bytes

Midash

Npm Version Node Version Type Support Tree Shaking Support Npm Month Downloads Gzip Size

An alternative to lodash with the same API.

  • 馃敤 High frequency API
  • 馃晵 Familiar lodash API
  • 馃挭 Support Tree Shaking
  • 馃懌 Support Typescript
  • 馃敟 Smaller Size (with ES6+ API)
  • 馃摝 2.5kb mini library

API

Documentation 涓枃鏂囨。

Installation

# yarn
$ yarn add midash
# pnpm
$ pnpm i midash
import { sum } from 'midash'

sum([1, 3, 5, 7, 9])