Skip to content

Installation

npm

bash
npm install @addmaple/stats

yarn

bash
yarn add @addmaple/stats

pnpm

bash
pnpm add @addmaple/stats

Requirements

  • Node.js 18+ (for ESM support)
  • Modern browser with WebAssembly support (all modern browsers)

TypeScript Support

TypeScript definitions are included. No additional @types package needed.

ts
import { init, mean } from '@addmaple/stats';