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 🙏

© 2024 – Pkg Stats / Ryan Hefner

fitdown

v0.1.0

Published

Markup language and parser for weightlifting logs.

Downloads

20

Readme

Fitdown

Markup language and parser for weightlifting logs. A superset of Markdown.

The idea is to be able to derive structured data from concise workout notes taken on a smartphone.

Here's an example of a workout log in the WeightliftingML format:

Workout September 16, 2020

Snatch
Up to technique bar + 35lb each side

Clean and Jerk
Up to 145lb

Squat
3x5@165
  
Bench
3x5@170
  
Deadlift
5@185
5@255 TOUGH

The following elements are parsed:

Workout Date

Example:

Workout September 16, 2020

It triggers on the term "Workout", and requires this very specific date format.

All exercises that follow a workout date line have that data associated with it.

Exercises with Sets & Reps

Example:

Deadlift
5@185
5@255

This notation allows you to track a specific exercise and its sets and reps (repititions) with poundages.

The first line of the group specifies the exercise, e.g. Deadlift.

Subsequent lines indicate one set each, where the structure is ${reps}@${poundage}. For example 5@185 means 5 reps at 185 pounds. This triggers on the @ symbol.

Single Line Exercises

Example:

5@185 Deadlift

You can also define an entire exercise on a single line. The above example is equivalent to:

Deadlift
5@185

However, be careful to include an empty line before the single line exercise, otherwise it will be grouped with the previous exercise.

Exercises with Multiplied Sets & Reps

Example:

Squat
3x5@165

You can use a multiplier like 3x or 4x as a concise alternative to repeating the same sets. It triggers on x or X.

The above example is equivalent to:

Squat
5@165
5@165
5@165

Notes

Example:

Deadlift
5@185
5@255 TOUGH

You can add any text after a set to add notes to it. In this case the notes TOUGH are associated to the second Deadlift set.

Loosely Formatted Exercises

Examples:

Snatch
Up to technique bar + 35lb each side
Clean and Jerk
Up to 145lb

It triggers on "lb". Exercise and poundage are parsed, and the entire line that includes "lb" is treated as notes.

Acknowledgements

Many thanks to Justin Curry for the sample notes, notation ideas, and collaboration on this!