Skip to content

docs(sparkline): add Compared to alternatives section#8

Merged
ob-aion merged 1 commit into
mainfrom
docs/compared-to-alternatives
May 21, 2026
Merged

docs(sparkline): add Compared to alternatives section#8
ob-aion merged 1 commit into
mainfrom
docs/compared-to-alternatives

Conversation

@ob-aion

@ob-aion ob-aion commented May 21, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Adds a ## Compared to alternatives section to the README, mirroring the pattern in @coroboros/clone.
  • Compares @coroboros/sparkline against sparkline (shiwano, 108k weekly downloads), node-sparkline, @fnando/sparkline, and react-sparklines (222k weekly downloads).
  • Table rows are feature-presence only (output format, Node-friendliness, deps, a11y, precision, types, dual build) — no performance numbers, since there's no shared methodology.
  • Positioning paragraph names the gap (accessibility-aware SVG strings rendered in Node) and the closest peer (node-sparkline).
  • TOC entry added between API and Contributing.

Test plan

  • Render the README on github.com — anchor #compared-to-alternatives resolves from the TOC.
  • Table renders with right-aligned status columns in GitHub-flavored markdown.
  • No regressions in existing sections (API, Gallery, Errors, Debugging).

Mirrors the pattern from @coroboros/clone: feature-presence table
plus a positioning paragraph. Compares against `sparkline` (shiwano),
`node-sparkline`, `@fnando/sparkline`, and `react-sparklines`.
TOC updated; section sits between API and Contributing.

@ob-aion ob-aion left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK

@ob-aion ob-aion merged commit 5e687f6 into main May 21, 2026
5 checks passed
@ob-aion ob-aion deleted the docs/compared-to-alternatives branch May 21, 2026 09:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant