UNPKG

just-exercise-parser

Version:

A TypeScript library for parsing, normalizing, and generating standardized exercise names

10 lines (9 loc) 550 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const JustExerciseParser_1 = require("./JustExerciseParser"); const formatter = new JustExerciseParser_1.ExerciseNameFormatter(); console.log(formatter.standardizeName('db bench press incline')); console.log(formatter.standardizeName('alternating kb lunges')); console.log(formatter.standardizeName('incline db chest press')); console.log(formatter.standardizeName('incline chest press (dumbbell)')); console.log(formatter.standardizeName("leg raise on captain's chair"));