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

@divinci-ai/robot-avatar

v0.1.0

Published

The Divinci robot mascot — procedural react-three-fiber avatar shared by the SDK docs hero, the web app, the Divinci Agent panel, and the Chrome extension.

Readme

@divinci-ai/robot-avatar

The Divinci robot mascot — the procedural, rigged react-three-fiber avatar shared by every surface that shows him:

| Surface | Wrapper | |---|---| | SDK docs hero (sdk.divinci.ai) | workspace/sdk/docs/src/components/RobotHero/RobotHero.tsx | | Web app + Divinci Agent panel | workspace/clients/web/src/components/RobotAvatar/RobotAvatar.tsx | | Chrome extension (iframe) | via the web app / a dedicated robot page (planned) |

Entry points

  • @divinci-ai/robot-avatar (light, no three.js): AvatarState, RobotAvatarColors, blendHex, useRenderGate. Safe for main bundles.
  • @divinci-ai/robot-avatar/scene (heavy): RobotScene, LogoRobot, AnimatedHeart, useRobotSignals, useGroupMotion. Always lazy-import so three.js stays in its own chunk:
import { lazy } from "react";
const RobotScene = lazy(() =>
  import("@divinci-ai/robot-avatar/scene").then((m) => ({ default: m.RobotScene }))
);

Built-in hardening (every consumer gets these)

  • powerPreference: "low-power" — never spins up the discrete GPU.
  • failIfMajorPerformanceCaveat: true — refuses software WebGL (SwiftShader) instead of burning CPU; your error boundary shows the static fallback.
  • paused prop → R3F frameloop: "never". Pair with useRenderGate (pauses when scrolled off-screen, tab hidden, or user idle).
  • onContextLost callback — webglcontextlost does not throw through React; listen here and swap to your static fallback.
  • prefers-reduced-motion honored live: autonomous animation freezes to a rest pose; only the gentle cursor-driven gaze lean remains.
  • dpr capped at [1, 1.5] by default (the mascot renders small).

Consumer responsibilities

Each wrapper owns: color resolution (theme vars vs brand constants), the static fallback image (Suspense placeholder + WebGL-failure fallback + context-loss swap), and any surface-specific gaze target (speakerTarget).

Version skew

Compiled against the lowest consumer versions (react 18 / three 0.169 / r3f 8 / drei 9); peer ranges span through the docs site's react 19 / three 0.185 / r3f 9 / drei 10. Only skew-stable APIs are used (Canvas, useFrame, Environment, Lightformer, core three geometry/materials) — check both consumers when touching imports.