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

@oneteme/raven

v1.0.1-beta

Published

Request Archive for Virtual Endpoint Navigation

Readme

⛓️‍💥 RAVEN: Request Archive for Virtual Endpoint Navigation

"Impeccable imitation, seamless navigation."

RAVEN is a high-performance network virtualization engine designed to record, archive, and replay API traffic directly at the browser's network layer. Inspired by the shapeshifter Raven Darkhölme, this tool acts as a transparent proxy, allowing your application to "morph" its environment by mimicking real backend responses from a local vault.


🚀 Overview

RAVEN solves the "unstable infrastructure" problem by decoupling your front-end from the back-end. Unlike traditional mocking tools, RAVEN operates via Service Workers, intercepting every network request (XHR/Fetch) before it even leaves the browser. This enables offline demos, stress-free development, and high-fidelity showcases with zero interference in the main thread.


✨ Core Features

  • 🔴 Record Mode: Automatically captures every network interaction and persists it in a structured IndexedDB vault.
  • ▶️ Replay Mode: Provides instant, zero-latency responses from the archive. No internet required.
  • 🛡️ Native Interception: Powered by Service Workers for a non-destructive approach. No prototype overrides—just pure, low-level network redirection.
  • 📦 Showcase Engine: Import pre-defined "Journey" files (JSON) to deploy guided, interactive product walkthroughs.
  • ⚡ Zero-Latency Dev: Stop waiting for slow database queries or 3rd-party services during front-end iterations.

🛠 Target Audience

🎤 For Sales & Solutions Architects

Deliver flawless demos. Eliminate risks associated with server downtime, database lag, or poor conference Wi-Fi. Your app remains fast and predictable, every single time.

👩‍💻 For Front-end Developers

Develop in isolation. Work on UI components even when the API is down or unfinished. Prevent "development fatigue" caused by constant page refreshes and slow network roundtrips.

📚 For Product & Marketing

Create "Golden Path" catalogs. Ship interactive examples of your platform using real data snapshots that users can explore without needing a live staging account.


🏗 How It Works

RAVEN acts as a Programmable Proxy sitting between your application and the internet.

  1. Interception: The RAVEN Service Worker listens to the fetch event, catching all outgoing XMLHttpRequest and fetch() calls.
  2. Archiving: In Record Mode, responses are cloned and stored in IndexedDB along with their metadata (headers, status, URL).
  3. Navigation: In Replay Mode, the Service Worker bypasses the network entirely, matching the request against the archive and serving the stored response.

📂 Data Vault (IndexedDB)

RAVEN organizes your virtual environment through a structured hierarchy:

  • 📁 Sessions: High-level scenarios (e.g., "Full Purchase Flow").
  • 📍 Routes: Normalized URL patterns grouped within a session.
  • Requests: The actual archived payloads (method, status, response body).

⌨️ Quick Start

1. Installation

Register the RAVEN Service Worker in your application's entry point:

if ('serviceWorker' in navigator) {
    navigator.serviceWorker.register('/raven-sw.js');
}