-
Notifications
You must be signed in to change notification settings - Fork 7
Description
Creating an npm organization
If we decide to publish a package for rendering cards, I suggest creating an npm organization so that all related packages can live under a shared scope (e.g. @github-stats).
This would simplify ownership, improve discoverability, and support future expansion.
cards package
As an initial step, we could introduce a cards package that exports a render function for each supported card:
import { renderStatsCard, renderPinCard } from '@github-stats/cards';The repository already contains both backend and frontend directories. Given the likelihood of additional packages,
it may be beneficial to convert the repository into a monorepo to better structure and isolate individual modules.
To keep this issue focused, I will open a separate discussion around adopting a monorepo.
This issue can remain scoped to the API design of the potential npm package(s).