Piplup
@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/utils

Quick 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.

On this page