Git Product home page Git Product logo

smoldash's Introduction

Smoldash logo

Smoldash bundle size

Smoldash - Tiny 2kb 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

smoldash's People

Contributors

brocococonut avatar just-boris avatar marvinhagemeister avatar munawwar avatar puruvj avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

smoldash's Issues

Display bundle size on the repo

This project looks awesome, and I can't wait to use it for myself.

I got one Suggestion: Display this library's bundle size, along with lodash's. Just reading the word lightweight lodash didn't tell how lightweight, so a one line size comparison would be great ๐Ÿ™‚

image

If you're onboard, I'll be ready to make a PR putting the bundle size badge and comparison here ๐Ÿ˜

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.