Skip to content

Package managers

Install Fast.Utils and its Vue peer in the application directory. Choose one package manager and keep its lockfile.

npm

sh
npm install @fast-china/utils vue

pnpm

sh
pnpm add @fast-china/utils vue

Yarn

sh
yarn add @fast-china/utils vue

Use the public ESM entry, not a private dist subpath. Existing projects can reuse a Vue version satisfying ^3.5.11.

ts
import { chunk } from "@fast-china/utils";
const result = chunk([1, 2, 3], 2);
console.log(result); // [[1, 2], [3]]

No app plugin registration is required for plain utilities. See runtime requirements before using Storage or Web Crypto.