Gathering detailed insights and metrics for pixi-spine-runner
Gathering detailed insights and metrics for pixi-spine-runner
npm install pixi-spine-runner
Typescript
Module System
Node Version
NPM Version
62.4
Supply Chain
75.1
Quality
77.7
Maintenance
100
Vulnerability
90
License
Love this project? Help keep it running — sponsor us today! 🚀
Total Downloads
67
Last Day
1
Last Week
1
Last Month
13
Last Year
67
Minified
Minified + Gzipped
Latest Version
0.0.4
Package Id
pixi-spine-runner@0.0.4
Unpacked Size
10.91 kB
Size
3.89 kB
File Count
7
NPM Version
8.19.4
Node Version
16.20.2
Published on
Jun 10, 2024
Cumulative downloads
Total Downloads
Last Day
0%
1
Compared to previous day
Last Week
0%
1
Compared to previous week
Last Month
-7.1%
13
Compared to previous month
Last Year
0%
67
Compared to previous year
Run your 2D spine animations using pixi.js rendering library.
This tool is useful when you want to cross-check a spine animation on your end without having prior knowledge of a rendering library like pixi.js.
In case you don't know, we are not running spine animation file i.e. .spine file, as it is not possible using code. We're running the spine using the below three files:
npm i pixi-spine-runner
This config includes all the settings for the spine animation that will be rendered using pixi.js, such as the path to your spine's JSON file in the project and the div element where you want to display your spine. You can also adjust the animation speed from the config.
const config = {
divElement: document.getElementById('game'),
pixiDevTool: true,
backgroundColor: '#C69241',
paddingX: 20,
paddingY: 20,
jsonPath: "./assets/your_spine.json",
animations: [],
animationsSwitchTime: 3000,
singleAnimationLoop: true,
animationsLoop: true,
animationScale: {
x: 1,
y: 1
},
animationSpeed: 1
}
const spineRunner = new PixiSpineRunner(config)
spineRunner.init()
No vulnerabilities found.
No security vulnerabilities found.