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

@blcklab/anyo-avatar

v0.2.1

Published

Optional complete humanoid Avatar system for Anyo, including renderer-neutral runtime contracts, VRM 0.x/1.0 support, and explicit Sekai64 integrations.

Readme

@blcklab/anyo-avatar

Renderer-neutral humanoid avatar runtime for Anyo with generic humanoid mapping, VRM 0.x/1.0 support, expressions, look-at, attachments, normalization, and explicit Sekai64 integrations.

Installation

npm install @blcklab/anyo-avatar

Install optional peers only for the integration you use:

npm install @blcklab/anyo@next @blcklab/anyo-animation @blcklab/sekai64@next

Features

  • Generic GLB humanoid mapping with explicit overrides and name matching
  • Deterministic target-height and grounding normalization
  • Morph-target expressions and aliases
  • Smoothed head, neck, and eye look-at
  • Bone attachment slots
  • Locomotion parameters bridged to @blcklab/anyo-animation
  • Plain JSON snapshots and complete world/entity disposal
  • VRM 0.x and VRM 1.0 metadata support
  • Explicit Sekai64 integrations while the root entry remains renderer-neutral

Anyo component

{
  "id": "hero",
  "type": "animated-model",
  "src": "/avatars/hero.glb",
  "components": [
    {
      "type": "anyo.avatar",
      "targetHeight": 1.75,
      "grounding": "feet",
      "forward": "-z",
      "lookAt": { "mode": "camera", "weight": 0.8 },
      "locomotion": { "speedParameter": "speed", "movingParameter": "moving" }
    }
  ]
}

Sekai64 integration

Create Anyo Animation first, then attach Avatar to the same renderer. The adapter reuses the mounted model instead of fetching or decoding it again.

const animation = createSekai64AnimationRuntime({ canvas })
const avatar = createSekai64AvatarPlugin({
  renderer: animation.renderer,
  animation: animation.plugin,
})

VRM

import { parseVrmMetadata } from '@blcklab/anyo-avatar/vrm'
import { createSekai64VrmRuntime } from '@blcklab/anyo-avatar/vrm/sekai64'

The historical @blcklab/anyo-avatar-vrm package is a compatibility facade for these exports.

Recommended package layering

Use @blcklab/anyo-avatar as the reusable avatar-domain package. Keep application UI, camera controls, portfolio/studio presentation, and framework lifecycle outside the core.

@blcklab/anyo-avatar
  └─ avatar contracts, humanoid/VRM semantics, normalization, expressions, look-at, attachments
     and explicit renderer integration subpaths

@blcklab/anyo-avatar-viewer
  └─ framework-independent viewer/presentation runtime: camera, navigation, rendering profile,
     animation playback, recovery, screenshots/fullscreen and browser lifecycle

@blcklab/anyo-avatar-vue
  └─ Vue host adapter/components/composables and optional UI

For an Anyo world or game runtime, prefer the core package directly. For a standalone portfolio/avatar screen, prefer Avatar Viewer. In a Vue application, use Avatar Vue and let it delegate avatar behavior to Viewer/Core rather than duplicating avatar logic in Vue.

Package entry points

@blcklab/anyo-avatar
@blcklab/anyo-avatar/contracts
@blcklab/anyo-avatar/authoring
@blcklab/anyo-avatar/sekai64
@blcklab/anyo-avatar/sekai64-binding
@blcklab/anyo-avatar/vrm
@blcklab/anyo-avatar/vrm/sekai64

Compatibility

See Compatibility.

License

MIT