• Stars
    star
    298
  • Rank 139,663 (Top 3 %)
  • Language
    TypeScript
  • License
    MIT License
  • Created almost 2 years ago
  • Updated 4 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

A Typescript-First utility library inspired by Lodash. Optimized for modern browsers.

ModernDash Logo

A Typescript-First utility library inspired by Lodash. Optimized for modern browsers & developer experience.

βœ… ESM βœ… Fast & Lightweight βœ… Tree-shakable βœ… Typescript Strict Mode (no any)
βœ… 100% Test Coverage βœ… Zero dependencies βœ… Hoverable Docs βœ… TS Decorators

πŸ““ Documentation


Intro Code

πŸ’Ύ Installation

npm install moderndash

πŸ“‹ Requirements

NodeJS: >=16.15 | Typescript: >=4.8

NodeJS 16-18: Enable the experimental-global-webcrypto flag to use crypto functions.
Works out of the box with NodeJS 19+

TypeScript: Enable the experimentalDecorators flag to use decorator functions.

πŸš€ Performance

ModernDash aims to outperform Lodash and deliver lightning-fast utility functions. Performance is not an afterthought, but a top priority. You can expect ModernDash to exceed or at least match the performance of Lodash in most benchmarks, ensuring that your project stays speedy and efficient.

[ Benchmark Results ]

πŸ—ƒ FAQ

Why is X lodash function not included?

Please refer to You-Dont-Need-Lodash or youmightnotneed.com/lodash for native replacements.
If you still believe a function is missing, please open an issue.

Why no pipe utility functions?

The upcoming pipe operator in JavaScript will provide function composition, so the framework focuses on providing other useful utility functions that are not yet available.

The pipe operator can already be included via babel.

πŸ’Œ Love & Thanks

To type-fest for providing some valuable types.

🧰 Contribute

  • Star the repo if you like it

  • Check the contributing section!