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

find-my-records

v0.2.0

Published

Small project to find records in gpx file.

Downloads

5

Readme

Find my records

Small project to find records in gpx file.

Why?

I love to run, and to analyze my data after, I'm very frustrated by the lack of options available in strava or garmin-connect apps. So I had a small need few weeks ago, to know what was my best miles on a run, and as I didn't manage to find an app to extract this kind of statistics, I just made one.

This is my first time playing with typescript, so it's also some sort of kata. So I will enjoy some reviewing! I have a long java background, so I guess I'm influenced by it.

How to run

It requires npm and node.

$ npm install -g find-my-records
$ find-my-records [a gpx file]

Options

  • --distances=[dist1],[dist2]... Permits to specify distances for records over hardcoded ones
  • --slow=true Adds some delays in the pipeline, useful for demo with few gpx files

From source

Run locally

$ yarn install
$ ts-node src/index.ts [a gpx file]

Launch the tests

$ yarn test

TODO

As it is a kata, I guess I will go for technical improvements, before functional ones.

Functional

~~- Specify the distances, currently they are hardcoded~~ ~~- Take multiple gpx file, find individual records and global ones~~

  • Display some graphs (GUI, console?) to show records evolution over the time ...

Technical

~~- Use some stream (node?)~~ ~~- Parallelize gpx file analysis~~ ~~- Display records evolution as long as files are parsed (could be a cool stuff 😀)~~

  • Play with electron for the GUI
  • Find some place where I could use some rxjs, just for fun (maybe just remove all the streams, and replace by rx!) ...

Changelog

0.2.0

  • Manage multiple gpx files using streams
  • Allows distances configuration
  • Dynamic records display while parsing files

0.1.3

  • First version released, basically parse one file and extract the records

License

MIT © Augustin Peyrard