0.0.10 • Published 1 year ago

@timuism/torc v0.0.10

Weekly downloads
-
License
ISC
Repository
github
Last release
1 year ago

(T)ext (O)nly (R)esistance Training (C)apture

Syntax

I've logged my personal workouts in my notes app that same way for a long time. This syntax is inspired from it.

Naming Workouts

Name a workout with *Workout Name*

Add a date to a workout

By default, a workout is assigned today's date. You can manually define a date with the following formats: M/D/YY, MM/DD/YYYY, D/M/YY DD/MM/YYYY

Adding Exercises

To log an exercise, give it name, and ended it with a : like so. Add sets with reps and weight like: 12 @135. This means "12 reps at 135lbs". Both pounds and kilograms are recognized. The mark the end of an exercise with double dashes: --

Here is an example exercise below:

Bench Press:
12 @45
10 @95
8 @135
8 @135
6 @145
--

Installation

npm i @timuism/torc
yarn add @timuism/torc

Usage

import {torc} from '@timuism/torc'

const text = `
  *Chest and Arms* 2/5/2023
  Bench Press:
  10 @45lbs
  8 @135
  8 @135
`

torc(text) // return object of captured data
0.0.10

1 year ago

0.0.9

1 year ago

0.0.8

1 year ago

0.0.7

1 year ago

0.0.6

1 year ago

0.0.5

1 year ago

0.0.4

1 year ago

0.0.3

1 year ago

0.0.2

1 year ago

0.0.1

1 year ago