A simple module to make a GPX route into a minimal SVG.
This repository has been archived on 2026-09-09. You can view files and clone it, but you cannot make any changes to its state, such as pushing and creating new issues, pull requests or comments.
  • TypeScript 100%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Tim Hårek Andreassen f0f97a9630
ci: Add gh mirror
Signed-off-by: Tim Hårek Andreassen <tim@harek.no>
2024-06-01 20:57:43 +02:00
src Initial commit 2024-05-28 19:42:52 +02:00
testdata Initial commit 2024-05-28 19:42:52 +02:00
.build.yml ci: Add gh mirror 2024-06-01 20:57:43 +02:00
deno.json Initial commit 2024-05-28 19:42:52 +02:00
deno.lock Initial commit 2024-05-28 19:42:52 +02:00
LICENSE.md Initial commit 2024-05-28 19:42:52 +02:00
README.md fix: Typo in bagde URL 2024-05-28 19:49:40 +02:00

JSR JSR score sourcehut

GPX to SVG

A simple module to make a GPX route into a minimal SVG.

Example

import { generateSVGFile } from "jsr:@timharek/gpx-to-svg";

const gpxFile = "your/gpx/file/path.gpx";

await generateSVGFile(gpxFile, "./output.svg");