# gymath

> Math helper for gym meatheads.

Latest version **0.0.1** (published 2024-04-13) · MIT license · 0 weekly downloads

## Install

```sh
npm install gymath
pnpm add gymath
yarn add gymath
bun add gymath
```

## Health

**Score 20/100 (F)** — status: abandoned.

Positive: esm support; no vulnerabilities.

Warnings: low downloads; no types; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.1 |
| Published | 2024-04-13 |
| First published | 2024-04-13 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | ESM + CommonJS |
| Dependencies | 0 |
| Unpacked size | 25.2 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Terry Dellino |
| Maintainers | terenced |
| Keywords | gym, plate calculator |

## Links

- npm: https://www.npmjs.com/package/gymath
- Repository: https://github.com/terenced/gymath
- Homepage: https://github.com/terenced/gymath#readme
- Issues: https://github.com/terenced/gymath/issues
- npm.io page: https://npm.io/package/gymath

## Recent versions

- 0.0.1 (latest) — 2024-04-13

## README

# gymath

Math helper for gym meatheads.

## Example

```ts
import { calculatePlates } from 'gymath';

// how many plates to put on each side of the barbell
const plates = calculatePlates(275); 

console.log(plates); // { 45: 2, 25: 1 }

// custom barbell weight
const platesUsing35lbsBar = calculatePlates(135, { barWeight: 35 }); 
console.log(platesUsing35lbsBar ); // { 45: 1, 5: 1 }
````

---
_Source: https://npm.io/package/gymath · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
