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

reminist

v1.0.8

Published

Blazing fast, zero-dependency, type-safe Radix Tree router for TypeScript/JavaScript.

Readme

Reminist

npm version license-info stars-info

last-commit commit-activity code-size

top-language bundle-size

💡 About

Blazing fast, zero-dependency, TypeScript-native router for any environment.

Reminist is a high-performance routing library built with TypeScript. It uses an optimized Radix Tree structure where lookup speed is proportional to the length of the route path, not the total number of routes. This makes route resolution incredibly fast and scalable, especially for high-throughput environments where every microsecond counts.


🚀 Key Features

  • Exceptional Performance: Lookups are independent of the number of routes. Performance depends only on the length of the path, ensuring consistent speed regardless of your application's size.
  • Type-Safe by Design: Written entirely in TypeScript for a great developer experience.
  • Zero Dependencies: Lightweight and easy to integrate into any project.
  • Flexible Route Patterns: Full support for static, dynamic, wildcard, and catch-all routes.
  • Environment Agnostic: Works seamlessly in Node.js, Bun, Deno, and modern browsers.
  • Path Caching: Automatically caches processed URL paths to avoid redundant string manipulation.

📦 Installation

You can install reminist using your preferred package manager:

bun add reminist

(Works with npm, yarn, or pnpm as well)


🏁 Getting Started

Here's a quick example to get you up and running:

import { Reminist } from 'reminist'

const router = new Reminist({ keys: ['GET'] })
  .add('GET', '/users/:id', { handler: (userId: string) => console.log(`User fetched: ${userId}`) })

const result = router.find('GET', '/users/10')
if (result.node) {
  console.log('User Id:', result.params) // { id: '10' }

  result.node.store.handler(result.params.id) // User fetched: 10
}

🏁 Benchmarks

The following benchmarks compare Reminist against other high-performance routers like Memoirist and Rou3.

You can find the detailed benchmark results and performance analysis in the BENCHMARK.md file.


🛣️ Route Syntax

Reminist supports several common routing patterns.

| Type | Syntax | Example | Description | | :--------------------------- | :---------------- | :----------------------- | :--------------------------------------------------------------------------------------------------- | | Static | /path/to/page | /about/contact | Matches the exact path. The fastest type of route. | | Dynamic | /:param | /users/:id | Matches any segment and captures its value in params. | | Wildcard | * | /assets/* | A standalone * consumes the rest of the URL. The captured value is available in params['*']. | | Catch-All | /[...param] | /files/[...filePath] | Captures all remaining segments as a single value in params. | | Optional Catch-All | /[[...param]] | /docs/[[...slug]] | Behaves like a catch-all but also matches the route if no further segments are provided. |


🤝 Contributing

Contributions are welcome! If you find a bug or have a feature request, please open an issue. If you want to contribute code, please open a pull request.


📜 License

This project is licensed under the MIT License. See the LICENSE file for details.