Minimal SVG Path Parser
JSON →parse-svg-path is a highly minimal JavaScript library designed to parse SVG path data strings into a simple array-of-arrays format. Published in 2014, with its last update 10 years ago, it remains at version 0.1.2, indicating it is no longer actively maintained. Its primary differentiator is its simplicity and small footprint, directly outputting commands as `[command, arg1, arg2, ...]`. While functional for basic SVG paths, it lacks features found in more modern and actively developed alternatives like `svg-path-parser` or `svgpath`, which offer more advanced manipulation, normalization, or broader SVG feature support. Due to its age, it primarily supports CommonJS modules and does not offer native ESM support.
Traffic · last 30 days ↑250% vs prev 7d
top countries 🇺🇸 United States · 🇫🇷 France · 🇨🇦 Canada · 🇩🇪 Germany · 🇬🇧 United Kingdom