# pkglens

> A kind of credit score for open-source packages, one page to decide in seconds whether a dependency is worth adding.

- 2026 · Dev tool · Side project
- Stack: Nuxt 4, Cloudflare, D1
- Page: https://anthonyarjona.com/lab/pkglens
- Website: https://pkglens.com

## In short

- **The problem**: Evaluating a dependency means opening five different sites.
- **My role**: Side project, from design to deployment.
- **The decisions**: Bring several sources onto one page; A cache serving the last known version while it refreshes; Three ecosystems behind one interface
- **The outcome**: One page per package, for npm, Packagist and PyPI.

## Five tabs for a single question

Before adding a dependency, the same question always comes back, namely whether the package can be trusted. Answering it means opening the registry, a size tool, a vulnerability database, GitHub and the license file, then cross-checking it all in your head. pkglens does that work once and for all.

1. **Query**: The registries, Bundlephobia, OSV.dev and GitHub.
2. **Assemble**: Size, dependencies, vulnerabilities, license, project health.
3. **Score**: Security, performance and health scores.

## Fast without a server

It all fits in one Nuxt application deployed on Cloudflare. A D1 cache instantly serves the last known version of a page while it refreshes in the background, and each ecosystem, npm, Packagist or PyPI, plugs in behind the same interface.
