@qva/pixi-lottie
v0.0.2
Published
using lottie in pixi.js
Downloads
4
Readme
@qva/pixi-lottie
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
- 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