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

1tube

v0.1.0

Published

Self-hosted Supabase Edge Functions gateway for Deno, plus an ESLint plugin for consumers

Readme

1tube

Self-hosted Supabase Edge Functions gateway. Runs your Deno edge functions locally or behind a .NET host with zero-copy YARP proxying — no cold starts, no version lock, no Supabase compute dependency.

How it works

1tube discovers edge function modules from a supabase/functions/ directory and hosts them in a single Deno HTTP server. Each function's serve() call registers a handler in a global registry instead of starting a separate Deno.serve(). The gateway then routes requests, handles JWT auth, CORS, rate limiting, and structured logging.

Individual edge functions require zero changes — only the shared _shared/handler.ts wrapper needs a small shim (4 lines) to detect the 1tube registry.

Quick start (local dev)

# Install dependencies
bun install

# Copy and fill in env vars
cp .env.example .env

# Start with auto-restart on file changes
bun run dev -- --functions ../sciobot-next/supabase/functions

The gateway starts on http://localhost:3100. Functions are available at http://localhost:3100/functions/v1/<name>.

Endpoints

| Path | Description | |---|---| | POST /functions/v1/:name | Invoke an edge function | | GET /health | Health check + loaded function list | | GET /metrics | Prometheus-compatible metrics |

.NET integration

Add the OneTube NuGet package to your ASP.NET project:

services.AddOneTube(options =>
{
    options.ProjectPath = "/path/to/1tube";
    options.FunctionsPath = "/path/to/supabase/functions";
    options.Port = 3100;
    options.EnvVars = new()
    {
        ["SUPABASE_URL"] = "...",
        ["JWT_SECRET"] = "...",
    };
});

// In the pipeline, after UseRouting:
app.MapOneTube(port: 3100);

This spawns the Deno gateway as a managed child process with health monitoring and auto-restart, and forwards /functions/v1/* via YARP zero-copy proxying.