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

continuum-cave-adapter

v1.0.0

Published

Proxy Cave requests to the continuum library server (optional: point Cave at continuum)

Readme

continuum-cave-adapter

Proxies Cave (node-mod-editor) requests to the continuum library server so the library API is available under Cave (e.g. for logged-in users or a single origin).

Env

Set CONTINUUM_LIBRARY_URL to the continuum server base URL (e.g. http://localhost:5050). When set, the adapter mounts:

  • GET /api/continuum/library/search → continuum /api/library/search (query params forwarded, X-Tenant-ID from request)
  • GET /api/continuum/library/documents/:id → continuum /api/library/documents/:id
  • GET /api/continuum/library/documents/:id/download → continuum download

Tenant is derived from the request (e.g. via deriveTenantFromRequest from dotcms-login-adapter) so each Cave request is scoped to the same tenant.

Usage (node-mod-editor)

The mod wires the adapter when the server starts. No code change needed; set CONTINUUM_LIBRARY_URL and (optional) ensure the continuum server is running. Clients can call Cave at /api/continuum/library/search?lat=40.7&lon=-74 instead of talking to the continuum server directly.

Optional: embed library UI

To expose the library UI (SPA) from continuum, link to the continuum server (e.g. CONTINUUM_LIBRARY_URL) or add an iframe in the Cave frontend that loads that URL.