npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@paretojs/core

v4.0.1

Published

Lightweight streaming-first React SSR framework built on Vite — file-based routing, client navigation, head management, and Immer-powered state

Readme

Getting Started

Visit https://paretojs.tech/guides/introduction to get started with Pareto.

What is Pareto?

Pareto is a lightweight React SSR framework that prioritizes streaming. Built on Vite for instant dev starts, it provides file-based routing, NDJSON streaming for client navigation, per-route head management via React components, and Immer-powered state with automatic SSR hydration.

npx create-pareto my-app
cd my-app && npm install && npm run dev

Performance

Pareto is built for throughput. In CI benchmarks against Next.js, React Router, and TanStack Start on identical hardware (Node 22, Ubuntu, 4 CPUs):

| Scenario | Pareto | Next.js | React Router | TanStack Start | |---|---:|---:|---:|---:| | Data Loading | 2,733/s | 293/s | 955/s | 1,386/s | | Streaming SSR | 247/s | 236/s | 247/s | 247/s | | API / JSON | 3,675/s | 2,212/s | 1,950/s | — | | Static SSR | 2,224/s | 3,328/s | 997/s | 2,009/s |

Under ramp-up load (1→1000 concurrent connections), Pareto sustains the highest QPS before hitting the p99 < 500ms threshold:

| Scenario | Pareto | Next.js | React Router | TanStack Start | |---|---:|---:|---:|---:| | Data Loading | 2,735/s | 331/s | 1,044/s | 1,458/s | | Streaming SSR | 2,022/s | 310/s | 807/s | 960/s | | API / JSON | 3,556/s | 1,419/s | 1,912/s | — |

Client JS sent to the browser: 62 KB gzipped (vs Next.js 233 KB, React Router 100 KB, TanStack Start 101 KB).

In practice: a data-loading page serving 2,000 req/s at peak needs 1 Pareto server vs 6 Next.js instances. For streaming SSR, it's 1 vs 7.

Benchmark details: PR #12

Features

  • Streaming SSRrenderToPipeableStream with defer() for progressive data delivery through Suspense
  • Vite-powered — Instant dev starts, React Fast Refresh, native ESM in development
  • File-based routingpage.tsx · layout.tsx · loader.ts · head.tsx · document.tsx · not-found.tsx
  • Client navigation — SPA-feel <Link> with prefetching, backed by NDJSON streaming
  • Head management — Per-route head.tsx React components with nested merge and deduplication
  • State management — Immer-powered defineStore() and defineContextStore() with automatic SSR hydration
  • TypeScript-first — Full type safety across loaders, pages, and configuration
  • Security headers — Built-in OWASP baseline middleware

Documentation

Visit paretojs.tech to view the full documentation.

Packages

Community

Contributing

Contributions are welcome. Please open an issue first to discuss what you would like to change.

License

MIT