@piplup/utils
Installation — @piplup/utils
Install utility helpers and hooks from @piplup/utils.
@piplup/utils contains small helpers and React hooks used across Piplup packages.
npm install @piplup/utilsQuick usage
Import individual helpers:
import { compact } from "@piplup/utils";
const arr = compact([1, null, 2]);See the helpers and hooks pages for API details and examples.