npmx Introduces Download Sparklines and README Fixes
Community Vision: Building an npmjs Alternative
Project lead Daniel Roe shared his vision for npmx on Bluesky, framing it as a comprehensive alternative to npmjs.com. The roadmap includes an admin UI, and the team is actively recruiting contributors to address current registry pain points together.
Data Visualization: Weekly Download Sparklines
Integrated the 'vue-data-ui' package to provide immediate visual feedback on package popularity. The new sparkline chart tracks weekly downloads, with a logic fix implemented to set the default end-date to 'yesterday' to match npmjs datasets and avoid misleading zero-value dips on the current day.
Markdown Rendering: srcset Support for Themes
Enhanced the README parser to support 'srcset' within HTML 'picture' sources. This allows packages like ESLint Plugin Perfectionist to display theme-aware imagery, ensuring that light and dark mode assets are rendered correctly based on user system preferences.
Internal Refinement & Maintenance
Standardized internal code practices by explicitly importing 'node:process', mirroring Nuxt conventions. Additionally, a spacing bug in the package manager command templates (e.g., 'yarnadd' vs 'yarn add') was resolved to ensure CLI snippets are valid and readable.