An event-driven SVG path data parser for Node.js and browsers. Version 0.2.1 is the latest stable release (no cadence documented). It parses SVG path 'd' attribute strings and emits events for each command (moveto, lineto, curveto, arc, etc.) via a handler interface. Unlike a full SVG renderer, it focuses solely on parsing, making it lightweight for path analysis, manipulation, or conversion. Supports ES modules, CommonJS, and UMD bundles. Minimal dependencies; compatible with Node >= 10.15.3.
npm install kld-path-parserVerified import paths — ran on the pinned version, not inferred.
Parses an SVG path string and prints each command using the SampleHandler logging handler.
Update to named imports: import { PathParser } from 'kld-path-parser'Use npm install with version exactly as shown: '0.2.1' (no 'v').
Call setHandler and parseData without await; they are synchronous.
Use exact camelCase names from the handler method list.
Use `import { PathParser } from 'kld-path-parser'`Run `npm install kld-path-parser`. If using bundler, ensure it handles node_modules.
Run `npm install kld-path-parser` and import from installed package.
No dependency data recorded yet.