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

nylon-mesh

v1.0.6-b1

Published

Nylon Mesh - Cache Everything. Scale Instantly.

Readme

🕸️ Nylon Mesh

Cache Everything. Scale Instantly.

Rust License

A blazing-fast edge proxy built to solve the headaches of caching for modern SSR frameworks.

Why Nylon Mesh?FeaturesQuick StartConfiguration

Nylon Mesh Demo

Why Nylon Mesh?

Frameworks like Next.js, Nuxt, React (SSR), Angular, and Vue are powerful—but server-side rendering is computationally expensive. Running Node.js under heavy traffic without a dedicated caching layer leads to:

  • High CPU usage and slow Time to First Byte (TTFB)
  • Potential crashes under traffic spikes
  • Complex custom caching logic inside your app

Nylon Mesh sits in front of your app. It intercepts HTTP requests, caches the expensive SSR-generated HTML in RAM (Tier 1) and Redis (Tier 2), and serves subsequent users instantly—dropping your backend load to near zero.

Key Features

  • ⚡️ Blazing Fast: Built in Rust on top of Pingora.
  • 🚀 Two-Tier Caching: Uses a lightning-fast in-memory RAM cache (Tier-1) and falls back to Redis (Tier-2).
  • ⚖️ Load Balancing: Built-in support for Round Robin and Weighted routing to multiple upstream servers.
  • 🛠 Zero-Code Integration: Works with any backend by just placing it in front of your existing app. No SDKs needed.
  • ⚙️ Simple Configuration: Easy to set up using a single YAML file.

Installation

The fastest way to install Nylon Mesh globally is via our official installation script:

curl -fsSL https://mesh.nylon.sh/install | bash

Alternatively, you can execute the initialization directly using your favorite package manager (no installation required):

bunx nylon-mesh@latest init
pnpx nylon-mesh@latest init
npx nylon-mesh@latest init

Or you can compile and run directly from source:

cargo build --release

Initialization

If you installed Nylon Mesh globally, generate a ready-to-use configuration file in your project:

nylon-mesh init

This creates a nylon-mesh.yaml in your project folder. No code changes are required in your application.

Running the Proxy

Start by pointing the proxy at your generated config file:

cargo run --release -- start -c nylon-mesh.yaml

Traffic hitting port 3000 (default) is now being cached and routed to your backend efficiently!

Configuration Example (nylon-mesh.yaml)

listen: "0.0.0.0:3000"
upstreams:
  - "127.0.0.1:3001"
load_balancer_algo: "round_robin"
redis_url: "redis://localhost:6379"

cache:
  t1_cap: 100000 
  t1_ttl: 3 
  t2_ttl: 30
  status: [200, 404]
  content_types:
    - "text/html"

bypass:
  paths:
    - "/_next/"
    - "/api/"
  ext:
    - ".ico"
    - ".png"

License

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