🗄️ Collection of utilities used throughout personal projects
npm i @jimmy-guzman/utils
Or with yarn
yarn add @jimmy-guzman/utils
Or with pnpm
pnpm add @jimmy-guzman/utils
import { asyncFilter } from '@jimmy-guzman/utils'
const isDivisibleBy2 = async (num: number) => Promise.resolve(num % 2 === 0)
await asyncFilter([2, 4, 1, 8, 3], isDivisibleBy2)
See docs for available utils