Socket
Socket
Sign inDemoInstall

moderndash

Package Overview
Dependencies
Maintainers
1
Versions
107
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

moderndash

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


Version published
Weekly downloads
7.1K
decreased by-15.59%
Maintainers
1
Weekly downloads
 
Created
Source

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

npm bundle size npm npm node-current GitHub

📓 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?

ModernDash does not include any lodash functions that can be easily replaced by native javascript. It only includes the functions that you really need, and keeps the library as slim as possible. 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!

Keywords

FAQs

Package last updated on 19 May 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc