Skip to main content

Lodash

A custom utility library inspired by lodash, providing specific functions for internal use. This package aims to offer optimized and tailored alternatives to common lodash functions.

Installation​

You can install it within your app using:

pnpm add @shared/lodash

Usage​

Import the functions you need from the package:

import { debounce, throttle } from '@shared/lodash';

Available Functions​

This package includes the following utility functions:

  • debounce: Creates a debounced function.
  • throttle: Creates a throttled function that only invokes func at most once per every wait milliseconds.