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

@galacean/engine-spine

v4.2.6

Published

galacean spine runtime

Readme

Galacean Engine Spine Runtime


@galacean/engine-spine is the Spine runtime module for the Galacean engine, providing efficient support for Spine animations. This package enables developers to seamlessly integrate and use Spine animations, delivering smooth skeletal animation effects optimized for both web and mobile platforms.

Installation

Install @galacean/engine-spine via npm:

npm install @galacean/engine-spine

Quick Start

Here's a simple example to get started with @galacean/engine-spine:

import { SpineAnimationRenderer } from '@galacean/engine-spine';

// First setup for galacean engine, get scene and create root entity.
// Find setup code here:

// And then load spine resource and instantiate a spine entity with the resource.
const spineResource = await engine.resourceManager.load({
  url: 'https://mdn.alipayobjects.com/huamei_kz4wfo/uri/file/as/2/kz4wfo/4/mp/yKbdfgijyLGzQDyQ/spineboy/spineboy.json',
  type: 'spine',
});
const spineEntity = spineResource.instantiate();
rootEntity.addChild(spineEntity);

API Documentation

For a detailed overview of the API, including all classes, methods, and properties, please refer to the Full API Documentation.

Version Compatibility

Package and Spine Version Compatibility

| Package Version | Spine Version | |-----------------|-----------------------| | Below 4.0 | Spine 3.8 | | 4.0 | Spine 4.0 | | 4.1 | Spine 4.1 | | 4.2 | Spine 4.2 | | 4.x (e.g., 4.0, 4.1) | Corresponds to Spine x.x | | 4.x.y (minor version y) | Independent from Spine |

Note: Ensure that the package version aligns with the corresponding Spine editor version for compatibility.

Package and Galacean Engine Version Compatibility

| Package Version | Galacean Engine Version | |-----------------|-------------------------| | 4.0 and above | 1.3 and above | | Below 4.0 (e.g., 1.2.0) | 1.2 |

Note: Please verify that the versions of both the package and the Galacean Engine are compatible, as mismatched versions may cause unexpected issues.

Building and Development

To set up the project for development and build it for production, follow these steps:

  1. Install dependencies:
npm install
  1. Start development environment:
npm run dev
  1. Build for production:
npm run build
  1. Run examples:
npm run example

Links

  • Examples - View usage examples for common scenarios.
  • User Guide - Comprehensive guide for using this package within the Galacean editor and in scripts.
  • API Reference - Complete API documentation for all available classes, methods, and properties.

License

The Galacean Engine is released under the MIT license. See LICENSE file.