smolldash

A modern lodash variant for modern brosers

Usage no npm install needed!

<script type="module">
  import smolldash from 'https://cdn.skypack.dev/smolldash';
</script>

README

Smolldash - Tiny Lodash alternative

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
  • _.flatten
  • _.flow
  • _.forEach
  • _.get
  • _.has
  • _.head
  • _.indexOf
  • _.isEmpty
  • _.kebabCase
  • _.merge
  • _.once
  • _.pickBy
  • _.sortBy
  • _.take
  • _.uniqBy
  • _.uniqueId

Installation

npm install smolldash
# or via yarn
yarn add smolldash

License

MIT, see the LICENSE file