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

@axion-engine/core

v0.0.2

Published

Origin-rebasing, multi-threaded game engine for Orion Realms

Readme

@axion-engine/core 🚀

Experimental: A web-native 3D engine currently focused on running React Three Fiber entirely inside a Web Worker.

Axion Engine is a specialized, experimental alternative to @react-three/offscreen. It is designed for developers who need to move their entire rendering loop, React hooks, and scene logic off the main thread to ensure the UI remains responsive even during heavy 3D computations.

✨ Current State

  • Multi-threaded R3F: Execute your React Three Fiber components, state, and Three.js objects inside a dedicated Web Worker.
  • Vite Native: Optimized for modern Vite projects; handles worker bundling automatically via standard URL patterns.
  • Offscreen Handshake: Simplified canvas transfer logic between the Main thread UI and the Worker thread engine.
  • Performance-First: Decouples the rendering loop from the browser's main thread to prevent frame drops in complex apps.

📦 Installation

npm install @axion-engine/core three @react-three/fiber react react-dom

🚀 Usage

Axion consists of a Bridge (Main Thread) and an Engine (Worker Thread). Below is the standard setup for a Vite-based project.

  1. Main Thread Setup (App.tsx) Initialize your worker and wrap your application in the AxionEngine provider.
TypeScript

import { useMemo } from 'react';
import { AxionCanvas, AxionEngine } from "@axion-engine/core";

function App() {
// Vite automatically bundles the worker using this syntax
const engineWorker = useMemo(() => {
return new Worker(
new URL('@axion-engine/core/worker', import.meta.url),
{ type: 'classic' } // Axion worker is bundled as an IIFE
);
}, []);

    return (
        <div className="app-container">
            {/* 1. The Engine Provider manages the worker instance */}
            <AxionEngine worker={engineWorker}>

                <div className="engine-viewport">
                    {/* 2. The Canvas Component handles the Offscreen Handshake */}
                    <AxionCanvas shadows>
                        {/* Your scene content is managed within the worker */}
                    </AxionCanvas>
                </div>

            </AxionEngine>
        </div>
    );
}

export default App;

🛠 Local Development & Testing

You can test the engine locally using the built-in test environment.

Install dependencies:

npm install

Run the test suite:

npm run test

Open the test page: Navigate to http://localhost:3000/test/ to see the worker-side React scene rendering in action.

🏗 Why Axion?

Axion Engine is currently an experiment in creating a more "monolithic" and self-contained worker architecture for 3D web applications. While @react-three/offscreen provides a versatile bridge, Axion is being built as a dedicated foundation for large-scale simulations (such as Orion Realms) where worker-thread stability and high-performance threading are the primary requirements.

📄 License

MIT © Vikas