npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@sculpt-ai/progressive-overload

v0.0.2

Published

Progressive overload & 1RM prescription engine — the math behind Sculpt AI's workout generation

Readme

@sculpt-ai/progressive-overload

Progressive overload & 1RM prescription engine — the math behind Sculpt AI's workout generation.

A pure, zero-dependency TypeScript module that turns a logged working set (weight × reps, optional RIR) into an updated one-rep-max estimate and the next prescribed working weight. It covers RPE/RIR percentage tables, Epley/Brzycki 1RM estimation, outlier containment, miss-streak readiness easing, and goal-based rep/percent targets (strength / hypertrophy / endurance).

Install

npm i @sculpt-ai/progressive-overload

Usage

import { setE1RM, nextPrescription, PrescriptionInput } from '@sculpt-ai/progressive-overload';

// Estimate a one-rep max from a working set (weight, reps, RIR).
const e1rm = setE1RM(100, 8, 2); // ≈ 135.3 (kg in, kg out)

// Given the last logged set, get the next prescription.
const input: PrescriptionInput = {
  progressionType: 'LoadRep',
  pr1RM: 135,
  capacity1RM: 135,
  prescribedWeight: 100,
  goal: 'HYPERTROPHY',
  roundIncrement: 2.5,
  displayUnit: 'metric',
  best: { weight: 100, reps: 10 },
  rir: 2,
  missStreak: 0,
};

const result = nextPrescription(input);
// result.action === 'NEW_PR'
// result.capacity1RM ≈ 147.1
// result.prescribedWeight  → next working weight, rounded to the display unit

All weights are in kilograms; displayUnit: 'imperial' only affects the rounding of prescribedWeight (to a clean lb plate, stored back in kg).

For batched calls (multiple exercises at once) use runBatch and runE1RMBatch.

Live calculator

The interactive calculator and showcase for this engine is the progoverloadcalc web app. The source for this package lives in the Sculpt AI monorepo.

License

MIT