{"id":30060252,"url":"https://github.com/tiaanduplessis/one-rep-max","last_synced_at":"2025-10-27T10:13:32.750Z","repository":{"id":57314550,"uuid":"78343882","full_name":"tiaanduplessis/one-rep-max","owner":"tiaanduplessis","description":"Calculate the maximum amount of force that can be generated in one maximal contraction","archived":false,"fork":false,"pushed_at":"2019-06-02T22:47:52.000Z","size":133,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-15T04:15:32.443Z","etag":null,"topics":["cli","maximum","repetition","weight"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tiaanduplessis.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-01-08T13:19:16.000Z","updated_at":"2024-04-29T17:40:03.000Z","dependencies_parsed_at":"2022-09-20T23:21:24.840Z","dependency_job_id":null,"html_url":"https://github.com/tiaanduplessis/one-rep-max","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/tiaanduplessis/one-rep-max","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tiaanduplessis%2Fone-rep-max","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tiaanduplessis%2Fone-rep-max/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tiaanduplessis%2Fone-rep-max/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tiaanduplessis%2Fone-rep-max/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tiaanduplessis","download_url":"https://codeload.github.com/tiaanduplessis/one-rep-max/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tiaanduplessis%2Fone-rep-max/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":269352283,"owners_count":24402672,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-07T02:00:09.698Z","response_time":73,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cli","maximum","repetition","weight"],"created_at":"2025-08-08T01:42:52.726Z","updated_at":"2025-10-27T10:13:32.665Z","avatar_url":"https://github.com/tiaanduplessis.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n  \u003cimg src=\"media/banner.png\" alt=\"one-rep-max\"\u003e\n\u003c/div\u003e\n\u003cbr\u003e\n\u003cdiv align=\"center\"\u003e\n  \u003cstrong\u003eCalculate the maximum amount of force that can be generated in one maximal contraction\u003c/strong\u003e\n\u003c/div\u003e\n\u003cbr\u003e\n\u003cdiv align=\"center\"\u003e\n    \u003ca href=\"https://github.com/feross/standard\"\u003e\n      \u003cimg src=\"https://img.shields.io/badge/code%20style-standard-brightgreen.svg?style=flat-square\" alt=\"Standard\" /\u003e\n    \u003c/a\u003e\n    \u003ca href=\"https://travis-ci.org/tiaanduplessis/get-them-args\"\u003e\n      \u003cimg src=\"https://img.shields.io/travis/tiaanduplessis/one-rep-max/master.svg?style=flat-square\" alt=\"Travis\" /\u003e\n    \u003c/a\u003e\n    \u003ca href=\"https://github.com/RichardLitt/standard-readme)\"\u003e\n      \u003cimg src=\"https://img.shields.io/badge/standard--readme-OK-green.svg?style=flat-square\" alt=\"Standard Readme\" /\u003e\n    \u003c/a\u003e\n  \u003c/div\u003e\n\u003c/div\u003e\n\u003cbr\u003e\n\u003cdiv align=\"center\"\u003e\n  Built with ❤︎ by \u003ca href=\"http://tiaanduplessis.co.za\"\u003eTiaan du Plessis\u003c/a\u003e\n\u003c/div\u003e\n\n\u003ch2\u003eTable of Contents\u003c/h2\u003e\n\u003cdetails\u003e\n  \u003csummary\u003eTable of Contents\u003c/summary\u003e\n  \u003cli\u003e\u003ca href=\"#introduction\"\u003eIntroduction\u003c/a\u003e\u003c/li\u003e\n  \u003cli\u003e\u003ca href=\"#install\"\u003eInstall\u003c/a\u003e\u003c/li\u003e\n  \u003cli\u003e\u003ca href=\"#usage\"\u003eUsage\u003c/a\u003e\u003c/li\u003e\n  \u003cli\u003e\u003ca href=\"#cli\"\u003eCLI\u003c/a\u003e\u003c/li\u003e\n  \u003cli\u003e\u003ca href=\"#contribute\"\u003eContribute\u003c/a\u003e\u003c/li\u003e\n  \u003cli\u003e\u003ca href=\"#license\"\u003eLicense\u003c/a\u003e\u003c/li\u003e\n\u003c/details\u003e\n\n## Introduction\n\n[![Greenkeeper badge](https://badges.greenkeeper.io/tiaanduplessis/one-rep-max.svg)](https://greenkeeper.io/)\n\nThis module provides [various formulas](https://en.wikipedia.org/wiki/One-repetition_maximum#Calculating_1RM) for calculating one rep maximum based on a provided weight and number of repetitions.\n\n## Install\n\n**Install with npm**\n\n```sh\n$ npm install one-rep-max\n```\n\n**Install with yarn**\n\n```sh\n$ yarn add one-rep-max\n```\n\n## Usage\n\nTo use, choose which formula to apply and provide an object with a weight \u0026 repetitions properties.\nYou can read more about the available formulas [here](https://en.wikipedia.org/wiki/One-repetition_maximum#Calculating_1RM).\n\n```js\nconst oneRepMax = require('one-rep-max')\nconst args = {\n  weight: 100,\n  reps: 10\n}\n\nconsole.log(oneRepMax.epley(args)) // 133.33333333333331\nconsole.log(oneRepMax.brzycki(args)) // 133.33333333333331\nconsole.log(oneRepMax.mcGlothin(args)) // 134.0703628078088\nconsole.log(oneRepMax.lombardi(args)) // 125.89254117941672\nconsole.log(oneRepMax.oConner(args)) // 125\n\n```\n\n## CLI\n\nTo use as a CLI tool, Install the module globally and run in the format:\n```sh\n$ 1rm --method={all|epley||brzycki|mcGlothin|lombardi|oConner} --weight={quite obvious} --reps={quite obvious}\n```\n\nFor example:\n```sh\n$ 1rm --method=all --weight=100 --reps=10\n# Outputs\n# epley - 133.33333333333331\n# brzycki - 133.33333333333331\n# mcGlothin - 134.0703628078088\n# lombardi - 125.89254117941672\n# oConner - 125\n```\n\n## Contributing\n\nAll Contributions are welcome! Please open up an issue if you would like to help out. :smile:\n\n## License\n\nLicensed under the MIT License.\n\nIcon made by \u003ca href=\"http://www.flaticon.com/authors/darius-dan\" title=\"Darius Dan\"\u003eDarius Dan\u003c/a\u003e from \u003ca href=\"http://www.flaticon.com\" title=\"Flaticon\"\u003ewww.flaticon.com\u003c/a\u003e is licensed by \u003ca href=\"http://creativecommons.org/licenses/by/3.0/\" title=\"Creative Commons BY 3.0\" target=\"_blank\"\u003eCC 3.0 BY\u003c/a\u003e","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftiaanduplessis%2Fone-rep-max","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftiaanduplessis%2Fone-rep-max","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftiaanduplessis%2Fone-rep-max/lists"}