@jimmy-guzman/utils
v1.0.0
Published
Collection of utilities used throughout personal projects
Downloads
1
Readme
@jimmy-guzman/utils
🗄️ Collection of utilities used throughout personal projects
➕ Install
npm i @jimmy-guzman/utils
Or with yarn
yarn add @jimmy-guzman/utils
Or with pnpm
pnpm add @jimmy-guzman/utils
📝 Usage
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