smoldash
TypeScript icon, indicating that this package has built-in type declarations

0.11.0 • Public • Published

Smoldash logo

Smoldash - Tiny Lodash alternative

Note: This library hasn't been battle tested yet. There may be bugs, although none have been reported so far.

Lodash is an amazing utility library for JavaScript, but with recent additions to the ECMAScript much of it can be replaced with vanilla features. This library aims to be a thinner alternative with modern browsers in mind.

Supported functions:

  • _.at
  • _.clone
  • _.cloneDeep
  • _.compact
  • _.every
  • _.findIndex
  • _.find
  • _.filter
  • _.flatten
  • _.flow
  • _.forEach
  • _.get
  • _.groupBy
  • _.has
  • _.head
  • _.indexOf
  • _.isEmpty
  • _.isEqual
  • _.kebabCase
  • _.keyBy
  • _.map - only maps arrays
  • _.merge
  • _.once
  • _.pickBy
  • _.range
  • _.sortBy
  • _.some
  • _.take
  • _.uniqBy
  • _.uniqueId

Installation

npm install smoldash
# or via yarn
yarn add smoldash

License

MIT, see the LICENSE file

Readme

Keywords

none

Package Sidebar

Install

npm i smoldash

Weekly Downloads

5

Version

0.11.0

License

MIT

Unpacked Size

53.4 kB

Total Files

8

Last publish

Collaborators

  • marvinhagemeister