{"_id":"@drincs/pixi-vn-live2d","_rev":"4-f792693850f038b38161f82840ca2f47","name":"@drincs/pixi-vn-live2d","dist-tags":{"latest":"0.2.2"},"versions":{"0.1.0":{"name":"@drincs/pixi-vn-live2d","version":"0.1.0","keywords":["game","js","novel","pixi","pixi-vn","visual","visual-novel","live2d"],"_id":"@drincs/pixi-vn-live2d@0.1.0","maintainers":[{"name":"blackram","email":"DRincs.contact@gmail.com"}],"dist":{"shasum":"b01475c5f14b87ca6fe5ed2b00ac3f80777c1f3d","tarball":"https://registry.npmjs.org/@drincs/pixi-vn-live2d/-/pixi-vn-live2d-0.1.0.tgz","fileCount":13,"integrity":"sha512-/TtfVRp4kzEzeDsalkkFnCunnHnJDixJBM2eCQ+RTRzBw/VRlvmnAsOyCIhRDls3hduRrUDqV+hFq9YuM6cyXA==","signatures":[{"sig":"MEUCIQD21v6Hkq1tBKLvy1KC/C9XAfPxE+w9aUzXuS59ERKoSwIgWN3Xv5SSDDvlQzHwoUJNCv5lTmpdE1g1+0tAk7z6YA8=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":164738},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","default":"./dist/index.mjs","require":"./dist/index.cjs"},"./ink":{"types":"./dist/ink.d.ts","import":"./dist/ink.mjs","default":"./dist/ink.mjs","require":"./dist/ink.cjs"},"./core":{"types":"./dist/core.d.ts","import":"./dist/core.js","default":"./dist/core.js","require":"./dist/core.js"}},"gitHead":"96e14885a453342b46b5bed93fc40412ee5e4c00","scripts":{"dev":"tsup --watch","docs":"typedoc","lint":"biome lint","test":"vitest","build":"tsup --config tsup.config.ts","check":"biome check","format":"biome format --write","playground":"npm run build && npm run dev --workspace=playground","generate-live2d-options-schema":"node scripts/generate-live2d-options-schema.mjs && biome format --write src/ink/live2d-options-schema.generated.ts"},"_npmUser":{"name":"blackram","email":"DRincs.contact@gmail.com"},"workspaces":["playground"],"_npmVersion":"11.6.2","description":"Live2d integration for Pixi'VN","directories":{},"_nodeVersion":"24.12.0","dependencies":{"vitest":"^4.1.4"},"publishConfig":{"access":"public"},"typesVersions":{"*":{"ink":["./dist/ink.d.ts"],"core":["./dist/core.d.ts"]}},"_hasShrinkwrap":false,"devDependencies":{"zod":"^4.4.3","tsup":"^8.5.1","jsdom":"^29.0.2","ts-node":"^10.9.2","typedoc":"^0.28.19","typescript":"^5.9.3","@biomejs/biome":"^2.4.12","@drincs/pixi-vn-ink":"^1.1.8","vite-tsconfig-paths":"^6.1.1","@drincs/pixi-vn-json":"^1.13.17","typedoc-plugin-markdown":"^4.12.0"},"peerDependencies":{"zod":">=4.4.0","@drincs/pixi-vn":">=1.5.13","@drincs/pixi-vn-ink":">=1.1.6","untitled-pixi-live2d-engine":"^1.2.2"},"peerDependenciesMeta":{"zod":{"optional":true},"@drincs/pixi-vn-ink":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/pixi-vn-live2d_0.1.0_1784372165375_0.5514494933255032","host":"s3://npm-registry-packages-npm-production"}},"0.2.0":{"name":"@drincs/pixi-vn-live2d","version":"0.2.0","keywords":["game","js","novel","pixi","pixi-vn","visual","visual-novel","live2d"],"_id":"@drincs/pixi-vn-live2d@0.2.0","maintainers":[{"name":"blackram","email":"DRincs.contact@gmail.com"}],"dist":{"shasum":"69a2b0c2a647b5555773fd52e6313962cd28eab7","tarball":"https://registry.npmjs.org/@drincs/pixi-vn-live2d/-/pixi-vn-live2d-0.2.0.tgz","fileCount":13,"integrity":"sha512-Z6diORI0jc2fYyeTlmjYz3HoEwZkCB13eBgnxjgyxP1Jt7E+5FEArcNz/iV+E7x+zjKDMquSnRUIhC3G/1EArw==","signatures":[{"sig":"MEQCIALffBFmt/eTao/QotNfi8z3Ak2WVSuUA1QPncRYthZbAiA6mJt6rlYMR3drovpllX7f6QKDdsIQzGJhuJew1P/4aA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":164856},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","default":"./dist/index.mjs","require":"./dist/index.cjs"},"./ink":{"types":"./dist/ink.d.ts","import":"./dist/ink.mjs","default":"./dist/ink.mjs","require":"./dist/ink.cjs"},"./core":{"types":"./dist/core.d.ts","import":"./dist/core.js","default":"./dist/core.js","require":"./dist/core.js"}},"gitHead":"c176df2a546253cfe3facabe1db4f3b057b17c78","scripts":{"dev":"tsup --watch","docs":"typedoc","lint":"biome lint","test":"vitest","build":"tsup --config tsup.config.ts","check":"biome check","format":"biome format --write","playground":"npm run build && npm run dev --workspace=playground","generate-live2d-options-schema":"node scripts/generate-live2d-options-schema.mjs && biome format --write src/ink/live2d-options-schema.generated.ts"},"_npmUser":{"name":"blackram","email":"DRincs.contact@gmail.com"},"workspaces":["playground"],"_npmVersion":"11.6.2","description":"Live2d integration for Pixi'VN","directories":{},"_nodeVersion":"24.12.0","dependencies":{"vitest":"^4.1.4"},"publishConfig":{"access":"public"},"typesVersions":{"*":{"ink":["./dist/ink.d.ts"],"core":["./dist/core.d.ts"]}},"_hasShrinkwrap":false,"devDependencies":{"zod":"^4.4.3","tsup":"^8.5.1","jsdom":"^29.0.2","ts-node":"^10.9.2","typedoc":"^0.28.19","typescript":"^5.9.3","@biomejs/biome":"^2.4.12","@drincs/pixi-vn-ink":"^1.1.8","vite-tsconfig-paths":"^6.1.1","@drincs/pixi-vn-json":"^1.13.17","typedoc-plugin-markdown":"^4.12.0"},"peerDependencies":{"zod":">=4.4.0","@drincs/pixi-vn":">=1.5.13","@drincs/pixi-vn-ink":">=1.1.6","untitled-pixi-live2d-engine":"^1.2.2"},"peerDependenciesMeta":{"zod":{"optional":true},"@drincs/pixi-vn-ink":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/pixi-vn-live2d_0.2.0_1784387860765_0.2822409636538381","host":"s3://npm-registry-packages-npm-production"}},"0.2.1":{"name":"@drincs/pixi-vn-live2d","version":"0.2.1","keywords":["game","js","novel","pixi","pixi-vn","visual","visual-novel","live2d"],"_id":"@drincs/pixi-vn-live2d@0.2.1","maintainers":[{"name":"blackram","email":"DRincs.contact@gmail.com"}],"dist":{"shasum":"20c4ca366d05066db4eb01383d3a1f81cf1c7856","tarball":"https://registry.npmjs.org/@drincs/pixi-vn-live2d/-/pixi-vn-live2d-0.2.1.tgz","fileCount":13,"integrity":"sha512-xYh4vvESocWuV9vqDI/lSGME5CdbXlATPfPrL9PoP1YUc42BLMb6Qvo6NRVXUoEJb81aFbCbC4nfXK6U8sRrfA==","signatures":[{"sig":"MEUCIQDVPQKiUDSbUfhLkhrqHU1gUUSNMGEEUqf5Az9X02cuzwIgKpj3MwhkseRUsK2yz7fnCTCsnN0UGifXS+ZyATqIaDI=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":167538},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","default":"./dist/index.mjs","require":"./dist/index.cjs"},"./ink":{"types":"./dist/ink.d.ts","import":"./dist/ink.mjs","default":"./dist/ink.mjs","require":"./dist/ink.cjs"},"./core":{"types":"./dist/core.d.ts","import":"./dist/core.js","default":"./dist/core.js","require":"./dist/core.js"}},"gitHead":"2e60a858689557352fdfd699b7736cf25f1095a7","scripts":{"dev":"tsup --watch","docs":"typedoc","lint":"biome lint","test":"vitest","build":"tsup --config tsup.config.ts","check":"biome check","format":"biome format --write","playground":"npm run build && npm run dev --workspace=playground","generate-live2d-options-schema":"node scripts/generate-live2d-options-schema.mjs && biome format --write src/ink/live2d-options-schema.generated.ts"},"_npmUser":{"name":"blackram","email":"DRincs.contact@gmail.com"},"workspaces":["playground"],"_npmVersion":"11.6.2","description":"Live2d integration for Pixi'VN","directories":{},"_nodeVersion":"24.12.0","dependencies":{"vitest":"^4.1.4"},"publishConfig":{"access":"public"},"typesVersions":{"*":{"ink":["./dist/ink.d.ts"],"core":["./dist/core.d.ts"]}},"_hasShrinkwrap":false,"devDependencies":{"zod":"^4.4.3","tsup":"^8.5.1","jsdom":"^29.0.2","ts-node":"^10.9.2","typedoc":"^0.28.19","typescript":"^5.9.3","@biomejs/biome":"^2.4.12","@drincs/pixi-vn-ink":"^1.1.8","vite-tsconfig-paths":"^6.1.1","@drincs/pixi-vn-json":"^1.13.17","typedoc-plugin-markdown":"^4.12.0"},"peerDependencies":{"zod":">=4.4.0","@drincs/pixi-vn":">=1.5.13","@drincs/pixi-vn-ink":">=1.1.6","untitled-pixi-live2d-engine":"^1.2.2"},"peerDependenciesMeta":{"zod":{"optional":true},"@drincs/pixi-vn-ink":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/pixi-vn-live2d_0.2.1_1784398296391_0.9473444675084488","host":"s3://npm-registry-packages-npm-production"}},"0.2.2":{"name":"@drincs/pixi-vn-live2d","description":"Live2d integration for Pixi'VN","version":"0.2.2","type":"module","main":"./dist/index.cjs","module":"./dist/index.mjs","types":"./dist/index.d.ts","publishConfig":{"access":"public"},"workspaces":["playground"],"scripts":{"dev":"tsup --watch","build":"tsup --config tsup.config.ts","lint":"biome lint","check":"biome check","format":"biome format --write","test":"vitest","docs":"typedoc","playground":"npm run build && npm run dev --workspace=playground","generate-live2d-options-schema":"node scripts/generate-live2d-options-schema.mjs && biome format --write src/ink/live2d-options-schema.generated.ts"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.cjs","default":"./dist/index.mjs"},"./core":{"types":"./dist/core.d.ts","import":"./dist/core.js","require":"./dist/core.js","default":"./dist/core.js"},"./ink":{"types":"./dist/ink.d.ts","import":"./dist/ink.mjs","require":"./dist/ink.cjs","default":"./dist/ink.mjs"}},"typesVersions":{"*":{"core":["./dist/core.d.ts"],"ink":["./dist/ink.d.ts"]}},"devDependencies":{"@biomejs/biome":"^2.4.12","@drincs/pixi-vn-ink":"^1.1.8","@drincs/pixi-vn-json":"^1.13.17","jsdom":"^29.0.2","ts-node":"^10.9.2","tsup":"^8.5.1","typedoc":"^0.28.19","typedoc-plugin-markdown":"^4.12.0","typescript":"^5.9.3","vite-tsconfig-paths":"^6.1.1","vitest":"^4.1.4","zod":"^4.4.3"},"peerDependencies":{"@drincs/pixi-vn":">=1.5.13","@drincs/pixi-vn-ink":">=1.1.6","untitled-pixi-live2d-engine":"^1.3.5","zod":">=4.4.0"},"peerDependenciesMeta":{"@drincs/pixi-vn-ink":{"optional":true},"zod":{"optional":true}},"keywords":["game","js","novel","pixi","pixi-vn","visual","visual-novel","live2d"],"gitHead":"a27c995126daea5e584456a2e047e03c6c32d562","_id":"@drincs/pixi-vn-live2d@0.2.2","_nodeVersion":"24.12.0","_npmVersion":"11.6.2","dist":{"integrity":"sha512-36psKJIjAWEFwgXLjBD1M6y1jeQq8EPpbxAkbsAVkvoB/J2MrWLIcIDkvBBwFmQBr78A58UVytxX8pnFQW1syQ==","shasum":"03a1fb5565d7d2bc226975729b87b1776e422ae7","tarball":"https://registry.npmjs.org/@drincs/pixi-vn-live2d/-/pixi-vn-live2d-0.2.2.tgz","fileCount":13,"unpackedSize":166040,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQCZe9yW6vBJhpWOyrvuvz8iZl18FS+WRUw/zAdOI1JlQwIgfvtJaJD9yofI/V+bjPyUYB6lWuDM+TGvJoy6UOXquuQ="}]},"_npmUser":{"name":"blackram","email":"DRincs.contact@gmail.com"},"directories":{},"maintainers":[{"name":"blackram","email":"DRincs.contact@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/pixi-vn-live2d_0.2.2_1789232571240_0.8721984085838101"},"_hasShrinkwrap":false}},"time":{"created":"2026-07-18T10:56:05.190Z","modified":"2026-09-12T17:02:51.563Z","0.1.0":"2026-07-18T10:56:05.538Z","0.2.0":"2026-07-18T15:17:40.906Z","0.2.1":"2026-07-18T18:11:36.526Z","0.2.2":"2026-09-12T17:02:51.375Z"},"keywords":["game","js","novel","pixi","pixi-vn","visual","visual-novel","live2d"],"description":"Live2d integration for Pixi'VN","maintainers":[{"name":"blackram","email":"DRincs.contact@gmail.com"}],"readme":"# Live2D integration for Pixi’VN\n\n![pixi-vn-cover](https://github.com/user-attachments/assets/5ff318a6-51ac-47a4-a5d2-fac53edc9614)\n\n<p align=\"center\">\n  <a href=\"https://www.npmjs.com/package/@drincs/pixi-vn-live2d\" rel=\"noopener noreferrer nofollow\"><img src=\"https://img.shields.io/npm/v/@drincs/pixi-vn-live2d?label=version\" alt=\"npm version\"></a>\n  <a href=\"https://www.npmjs.com/package/@drincs/pixi-vn-live2d\" rel=\"noopener noreferrer nofollow\"><img src=\"https://img.shields.io/npm/dm/@drincs/pixi-vn-live2d\" alt=\"npm downloads per month\"></a>\n  <a target=\"_blank\" href=\"https://www.jsdelivr.com/package/npm/@drincs/pixi-vn-live2d\" rel=\"noopener noreferrer nofollow\"><img alt=\"jsDelivr hits (npm)\" src=\"https://img.shields.io/jsdelivr/npm/hm/@drincs/pixi-vn-live2d?logo=jsdeliver\"></a>\n  <a href=\"https://www.npmjs.com/package/@drincs/pixi-vn-live2d\" rel=\"noopener noreferrer nofollow\"><img alt=\"NPM License\" src=\"https://img.shields.io/npm/l/@drincs/pixi-vn-live2d\"></a>\n  <a target=\"_blank\" href=\"https://discord.gg/E95FZWakzp\" rel=\"noopener noreferrer nofollow\"><img alt=\"Discord\" src=\"https://img.shields.io/discord/1263071210011496501?color=7289da&label=discord\"></a>\n</p>\n\n`@drincs/pixi-vn-live2d` is a lightweight wrapper around [`untitled-pixi-live2d-engine`](https://github.com/Untitled-Story/untitled-pixi-live2d-engine), designed specifically to integrate **Live2D** models into **Pixi’VN** projects.\n\nThe library provides Pixi’VN-friendly abstractions for using Live2D models inside visual novels, making it easier to load, manage, and display Live2D content within the Pixi’VN ecosystem.\n\n## Example\n\n```ts\nimport { canvas } from \"@drincs/pixi-vn\";\nimport { extensions } from \"pixi.js\";\nimport { Live2DPlugin } from \"@drincs/pixi-vn-live2d/core\";\nimport { Live2D } from \"@drincs/pixi-vn-live2d\";\n\n// Register the Live2D render pipe before creating the Pixi'VN canvas application\nextensions.add(Live2DPlugin);\nAssets.add({ alias: \"haru\", src: \"https://example.com/model/model3.json\" });\n\nconst live2d = new Live2D({ source: \"haru\" });\nawait live2d.ready;\nlive2d.anchor.set(0.5);\nlive2d.x = canvas.width / 2;\nlive2d.y = canvas.height;\n\nlive2d.motion(\"Idle\");\n\ncanvas.add(\"live2d\", live2d);\n```\n\n## Build\n\nTo build the library, run the following command:\n\n```bash\nnpm run build\n```\n","readmeFilename":"README.md"}