The official TML parser for Javascript
npm install tml-parsertml
I really enjoyed my workout because of my TML logs!
Squat
150kg x 5 @ 7
160kg x 5 @ 8
160kg x 5 @ 8
160kg x 5 @ 9
my squat session felt really great! I hit my RPEs seamlessly!
Deadlift
150kg x 5 @ 7
160kg x 5 @ 8
160kg x 5 @ 8
160kg x 5 @ 9
my deadlift session felt really great! I hit my RPEs seamlessly!
Push ups
25 x 4
it felt really hard, trust me!
`
Installation
`shell script
npm i --save tml-parser
`
Parsing in JS
`ts
import * as tml from "tml-parser";
const input = I really enjoyed my workout because of my TML logs!
;
const workout = tml.parse(input);
console.log(workout);
}
``