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 🙏

© 2025 – Pkg Stats / Ryan Hefner

stage-profile-maker

v0.1.0

Published

A modern web application and NPM package to **parse**, **analyze**, and **visualize** GPX (GPS Exchange Format) files, with a special focus on **altitude profiles** for outdoor activities like cycling.

Readme

Stage profile maker

A modern web application and NPM package to parse, analyze, and visualize GPX (GPS Exchange Format) files, with a special focus on altitude profiles for outdoor activities like cycling.

🚀 Features

  • 🗺 Load and parse GPX files
  • 📈 Display customizable elevation profiles
  • 🎯 Add, edit, or remove waypoints
  • 🧠 Automatically detect climbs
  • 📤 Export modified GPX files
  • 🎨 Full control over styles and rendering with presets for main cycling races styles (TOur de France, Giro d'italia, Vuelta a España..)

🛠 Technologies Used

  • Vue.js 3 - Frontend framework for building a modern UI
  • Vuetify - Material Design component library
  • Vite - Lightning-fast dev server and build tool
  • TypeScript - Strong typing and cleaner code
  • GPXParser / GPXHelper / GPXMaker - Classes for handling and modifying GPX data
  • ProfileDrawer - Generates elevation profile visuals

📦 NPM Package

The core logic (GPX parsing, manipulation, and profile drawing) is packaged as a standalone module and can be reused outside of the web UI.

npm install stage-profile-maker

Example Usage

import { ProfileMaker } from 'stage-profile-maker';

const profile = new ProfileDrawer(gpxXmlString);

document.body.appendChild(profile.getHtml());

🧱 Project Structure

  • src/ - Core TypeScript logic
    Includes GPX processing classes and helpers like:

    • GPXParser - Parses GPX files inspired from GPXParser.js
    • GPXHelper - Computes distances, points, waypoints etc.
    • ProfileDrawer - Renders elevation profiles
    • climbs.ts - Automatic climb detection logic
  • example/ - Demo web application using Vue 3 + Vuetify
    Allows testing and visual interaction with the GPX parsing/rendering library.

  • .github/ - CI/CD pipelines via GitHub Actions
    Includes workflows for package publishing and GitHub Pages deployment.


🌍 Use Cases

  • Elevation profile rendering (e.g. for cycling race previews)
  • Interactive GPX editing for hiking/outdoor planning
  • Embedding altitude data visualization in third-party apps

🚧 Potential Improvements

  • Add unit tests for core logic and Vue components
  • Improve developer documentation (NPM usage, custom styling, etc.)
  • Optimize performance for large GPX files with a lot of waypoints (10k+ points)
  • Add internationalization (i18n) support to the UI
  • Improve UI for customization (e.g. color themes, styles)

🤝 How to Contribute

We welcome contributions! Please follow these basic rules:

  1. Use conventional commits for clear version history.
  2. Open an issue before submitting major changes or feature requests.
  3. Add comments/types to make your code easier to maintain.
  4. Test your changes

📝 License

MIT