Skip to content

qvajs/pixi-lottie

Repository files navigation

@qva/pixi-lottie

npm version npm downloads

PixiJS plugin for rendering Lottie animations.

Usage

Install package:

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

# npm
npm install @qva/pixi-lottie

# yarn
yarn add @qva/pixi-lottie

# pnpm
pnpm install @qva/pixi-lottie

# bun
bun install @qva/pixi-lottie

Import:

ESM (Node.js, Bun)

import { LottieSprite } from "@qva/pixi-lottie";

CommonJS (Legacy Node.js)

const { LottieSprite } = require("@qva/pixi-lottie");

CDN (Deno, Bun and Browsers)

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

LottieSprite()

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