Installation
npm
bash
npm install @addmaple/statsyarn
bash
yarn add @addmaple/statspnpm
bash
pnpm add @addmaple/statsRequirements
- 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';