Skip to content

qvajs/pixi-rive

Repository files navigation

@qva/pixi-rive

npm version npm downloads

PixiJS plugin for rendering rive animations.

Usage

Install package:

# ✨ Auto-detect
npx nypm install @qva/pixi-rive

# npm
npm install @qva/pixi-rive

# yarn
yarn add @qva/pixi-rive

# pnpm
pnpm install @qva/pixi-rive

# bun
bun install @qva/pixi-rive

Import:

ESM (Node.js, Bun)

import { RiveSprite } from "@qva/pixi-rive";

CommonJS (Legacy Node.js)

const { RiveSprite } = require("@qva/pixi-rive");

CDN (Deno, Bun and Browsers)

import { RiveSprite } from "https://esm.sh/@qva/pixi-rive";

Development

local development
  • Clone this repository
  • Install latest LTS version of Node.js
  • Enable Corepack using corepack enable
  • Install dependencies using pnpm install
  • Run interactive tests using pnpm dev

License

Published under the MIT license. Made by community 💛


🤖 auto updated with automd