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

@spawnite/assets

v0.1.0-beta.18

Published

The shared 3D models, motions, textures, sounds and particle effects.

Readme

@spawnite/assets

The shared models, avatars, animation clips, textures, sounds and particle effects of Spawnite. A game imports a file by name from its kind's entry, and the name holds the file's URL:

import { fris } from "@spawnite/assets/avatars";
import { idle, turnLeft } from "@spawnite/assets/animations";

Install

A game that spawnite create writes from a template that names a shared file already depends on the package. To add it to another game:

pnpm add @spawnite/assets

Entries

Five entries cover the five kinds a game loads by URL:

| Entry | Files | | ----------------------------- | ------------------------------------------------- | | @spawnite/assets/avatars | VRM bodies (.vrm) | | @spawnite/assets/animations | VRM animation clips (.vrma) | | @spawnite/assets/models | glTF models (.glb) | | @spawnite/assets/textures | textures and HDR skies (.webp, .ktx2, .hdr) | | @spawnite/assets/sounds | sounds (.mp3) |

A file's name is the camelCase of its id, the file's name without its extension: boss.glb is boss, and turn-left.vrma is turnLeft. Each name is a string, so it goes wherever the engine or three.js takes a URL, beside a game's own ?url import. spawnite assets list prints each shared asset with its id, but for the .ktx2 and .hdr files, which no store page shows.

Where the files come from

The package holds no file. Each name is the file's URL on https://assets.spawnite.com, under the SHA-256 of its bytes, such as https://assets.spawnite.com/assets/9c1e….glb. The site serves each file for a year as immutable, so a game names the same bytes for as long as it pins a version of the package, and no game's deploy carries a copy.

A page that loads a shared file needs https://assets.spawnite.com reachable: a published game and a test that loads a file. A dev server, in pnpm dev and spawnite play, keeps each file in a cache on your disk after its first load, so a game loads offline once it has run online; the install page says where the cache lives. Allow the host in a sandbox that lists the hosts an agent may reach. A published game's page loads from it under the platform's content policy, and a game's own deploy allows it in the policy roomsContentPolicy writes.

Data

  • @spawnite/assets/avatars.json holds each body's record under its file's name: everything a VrmBody holds but the URL, which the game adds.
  • @spawnite/assets/models.json holds each model's measurements under its id: its bounds, its collider and, where it has one, its hull, with path the model's URL.
  • @spawnite/assets/particles/<file>.json is a particle effect for the engine's Particles, imported as JSON with its sprites inside it.
import records from "@spawnite/assets/avatars.json";

const body: VrmBody = {
    ...(records.fris as Omit<VrmBody, "model">),
    model: fris,
};

The cast is there because JSON types a bone name as a plain string.

Licences

This package's own files are under the Spawnite License in LICENSE.md. Each shared file keeps the licence spawnite assets list prints for it:

  • cc0: free for any use, with no attribution.
  • platform: made for Spawnite; free in any game on the platform, and nowhere else.
  • mixamo: an animation from Mixamo, under Adobe's terms: royalty-free in a game, with no right to redistribute the file itself.
  • vroid: an avatar from VRoid Hub, under the terms its author set.
  • unknown: a file whose licence nobody recorded.