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

@oquen/protocol

v3.3.16

Published

Frictionless Binary Execution for the OQUEN Grid.

Readme

OQUEN/Protocol

OQUEN (OKEN) V3

DEMOS

DEMO OF PARTICLES

TEXT MESSAGING DEMO (Text messaging between devices/pages)

BRIDGE DEMO

FORM DEMO

SOURCE CODE OF ALL DEMOS

  • "It's never been this easy to connect multiple elements in different pages in the history."
//Example usage -->
useEffect(() => {
    // Listen on slot 611
    return RAW.listen(611, (val) => {
      setStatus(val);
    });
  }, []);

  const handleAction = (val: number) => {
    // 611 is the slot
    RAW.send(611, 102, val); // 102 is the command / channel depending on use
  };

ACTBaseProvider

  • layout.tsx | ACTId MUST BE PROVIDED. Contact us for details.
  <ACTBaseProvider 
          config={{ host: 'zero.oquen.net', 
                    port: 443, 
                     ACTId: 1476500590,  
                    debug: false}}>
          {children}
        </ACTBaseProvider>

ACT: Hardware Accelerated Logic (OXP)

Welcome to a new paradigm in system architecture. With OQUEN OXP, we erase layers of software, API gateways, and JSON parsing. Your Next.js app doesn't communicate with a server—it writes directly into hardware registers via the ZERO Master Node.

@oquen/protocol

The Binary Foundation for RAW Silicon Execution.

OQUEN DICTIONARY

  • OQUEN (Time): The plane of existence itself. The grid where every nanosecond counts.
  • (Qlog) SMITH (Brain): The logical guardian. AVX-512 powered decision engine.
  • ACT (Accelerated Control Template): 64-byte templates translating TypeScript to Silicon.
  • PULSE (Heartbeat): The frictionless binary conveyor.
  • OXP (Oquen Exchange Protocol): RAID-grid node synchronization.
  • SPECTRUM (Interface): The Unified Interface. Real-time visual time-spectrum.
  • RAW (The Language): Direct binary instruction model.

Usage

@oquen/protocol provides the core types and assemblers to generate ACT containers compatible with the SMITH "Qlog" brain.

RAW language model

Do not confuse RAW with traditional UI frameworks. While high-level abstractions like React focus on the DOM, RAW focuses on the Kisel (Silicon). RAW is a declarative binary language. You don't write "functions" that wait for events. You define Active Templates that mirror directly into the OQUEN grid. When a template is active , SMITH doesn't "parse" it—he feels it through AVX-512 resonance. Building your first ACT

Quick Start: Building your first app with @oquen

# OQUEN: Implementation and usage

import { RAW, OXP } from "@oquen/protocol";

      <input 
          type="range" 
          min="0" 
          max="100"
          onInput={RAW.trigger(501, 100)}
        />

# OQUEN: ACTProvider Implementation and usage

import { ACTBaseProvider } from "@oquen/protocol";

export const metadata = {};

export default function RootLayout({ children }: { children: React.ReactNode }) {
  return (
    <html lang="en" className="h-full bg-black">
      <body className="h-full antialiased selection:bg-blue-500">
        {/* All logic, OXP-connections and shortcuts (D) injection */}
        <ACTBaseProvider 
          config={{ host: string, port: number, ACTId: number }} 
          debug={true}>
          {children}
        </ACTBaseProvider>
      </body>
    </html>
  );
}

Why RAW is the Future:

  • Zero Abstraction: Your TypeScript definition is the memory layout.
  • Hardware Native: Executes directly in AVX-512 registers on the server.
  • Time-Locked Security: Every pulse is validated against the OQUEN time-grid.
  • Hybrid Efficiency: Combines the beauty of Next.js/Vercel with the raw power of Silicon.
import { RAW } from '@oquen/protocol';

/**
 * Define a mechanical reflex on Slot 501.
 * This instruction is mirrored to the silicon at the speed of light.
 * In the OQUEN ecosystem, a button is not a piece of code; it is a reserved 64-byte zone in time.
 */
export const StartButton = RAW.element('BUTTON_START', {
    slot: 501,              // OQUEN Memory Address (501)
    skin: 'INDUSTRIAL_RED', // GPU Shader Mapping (ACTPortal)
    link: 1024,             // Direct binary link to the next ACT instruction
    guard: [ -1.0, 10.0 ]   // SMITH's reflexes: [Brake / Accelerate]
});

// BINARY STREAM (HEX VIEW)
[ 51 4C 4F 47 ] // IDENTITY (OQUEN_V3)
[ 00 00 80 3F ] // VALUE (1.0f - Force)
[ 00 00 A0 40 ] // STATUS (5.0f - Momentum)
[ ... ]         // PADDING
[ 01 00 00 00 ] // RESERVED (SMITH: GRANTED)

Why RAW?

Zero Abstraction: Your TypeScript definition is the memory layout. Hardware Native: Executes directly in AVX-512 registers. Self-Learning: SMITH uses the Reserved space to refine the Guard reflexes over time, making your UI evolve with your needs.

The Architecture

An ACT (Accelerated Control Template) is a 64-byte binary container mirrored to the silicon in real-time. You program in TypeScript; you execute at silicon speed.

  • No REST/GraphQL: No endpoints to manage.
  • No JSON: Zero software overhead.
  • Hardware Sandbox: The silicon ignores invalid commands. The server cannot crash.
  • 0.5ns Precision: Time and Identity are the same thing.

In OQUEN, you don't use a fixed API. You build a TypeScript Class that wraps the raw ACTBase register. You map your own methods to Command IDs.

Persistent Silicon Memory

Unlike traditional stateless APIs, OQUEN is Stateful by Design.

  • Sticky State: Once you set a value (like x = 440), it stays in the hardware register. You don't need to re-send it in every pulse.
  • Session Lifetime: Your state lives as long as your app is open.
  • Automatic Cleanup: The moment the user closes the tab or the Space client, the register is zeroed out (Unregistered).
  • Save state can be handled by using a local OQUEN if you want to remain states (At least for now).

Think of the ZERO Register as your app's physical memory in the cloud.

1. Build your Custom ACT Class

This is where you define what your commands (501, 502, etc.) actually do.

⚡ OQUEN: React State Integration

To make development effortless in Next.js, OQUEN mirrors your React State directly into the Silicon Register. You don't manage buffers, you manage states.