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

@aelionsdk/vite-plugin

v1.2.0

Published

Build integrations for AelionSDK Worker and AudioWorklet assets

Readme

@aelionsdk/vite-plugin

Official Vite integration plus Webpack/Rspack and explicit CDN helpers for AelionSDK's module Worker and AudioWorklet entry files.

Install

pnpm add @aelionsdk/sdk
pnpm add -D @aelionsdk/vite-plugin vite
// vite.config.ts
import { aelion } from '@aelionsdk/vite-plugin';
import { defineConfig } from 'vite';

export default defineConfig({
  plugins: [aelion()],
});

No asset paths or workspace aliases are required. During vite build, the plugin emits the published @aelionsdk/renderer-worker WebGL2 Worker, the @aelionsdk/export mux Worker, and both published @aelionsdk/audio AudioWorklet entry chunks, then rewrites the SDK package URLs to the generated hashed files. During vite dev, it exposes equivalent virtual module URLs through Vite's module server.

The optional flags are only for applications that never load the corresponding runtime:

aelion({ audioWorklets: true, exportWorker: true, rendererWorker: true });

All flags default to true. A disabled asset group must not be used by application code.

Webpack and Rspack

import { AelionWebpackPlugin, aelionRuntimeAssetUrls } from '@aelionsdk/vite-plugin';

// webpack.config.ts / rspack.config.ts
export default {
  plugins: [new AelionWebpackPlugin()],
};

// Client-only application module
const runtimeAssets = aelionRuntimeAssetUrls('/');

The adapter emits stable aelion/{audio,renderer-worker,export} paths and works against the Webpack 5-compatible hooks exposed by Rspack. Pass runtimeAssets to Aelion.createSession().

For a custom build or CDN copy step, use loadAelionRuntimeAssets(outputDirectory). For an already-deployed versioned CDN directory, use aelionRuntimeAssetUrls('https://cdn.example/sdk/1.2.0/'); keep application modules and all four runtime entries on the same SDK version.

Production pages should use HTTPS. For the SharedArrayBuffer audio path, also return Cross-Origin-Opener-Policy: same-origin and Cross-Origin-Embedder-Policy: require-corp. CSP must allow same-origin worker-src and script-src.

This package is part of AelionSDK. Public API changes follow SemVer.