
Research
/Security News
Weaponizing Discord for Command and Control Across npm, PyPI, and RubyGems.org
Socket researchers uncover how threat actors weaponize Discord across the npm, PyPI, and RubyGems ecosystems to exfiltrate sensitive data.
@ai-zen/live2d-vue
Advanced tools
live2d-vue is an npm package for integrating Live2D views into Vue projects.
live2d-vue is an npm package for integrating Live2D views into Vue projects.
Install using npm:
npm install @ai-zen/live2d-vue
or using yarn:
yarn add @ai-zen/live2d-vue
Import the Live2D component in your Vue component and set its width and height using CSS styles:
<template>
<Live2D
class="live2d"
modelDir="/models/Hiyori"
modelName="Hiyori.model3.json"
/>
</template>
<script setup lang="ts">
import { Live2D } from "@ai-zen/live2d-vue";
</script>
<style scoped>
.live2d {
width: 800px;
height: 800px;
}
</style>
In addition, you need to manually include live2dcubismcore.min.js
:
<!doctype html>
<html lang="en">
<head>
<!-- Include the live2dcubismcore.min.js provided by the Live2D SDK in your website's HTML page -->
<script src="/live2dcubismcore.min.js"></script>
</head>
</html>
This component does not expose any props.
Event Name | Description | Parameters |
---|---|---|
mounted | Triggered when the component is mounted | delegate : LAppDelegate, manager : LAppLive2DManager |
modelStateChange | Triggered if the state of the model changes during the loading process | model : LAppModel, state : LoadStep, oldValue : LoadStep |
This component exposes the following properties as-is: LAppDelegate, LAppLive2DManager
FAQs
Live2D-Vue is a vue component lib for integrating Live2D views into Vue projects.
The npm package @ai-zen/live2d-vue receives a total of 6 weekly downloads. As such, @ai-zen/live2d-vue popularity was classified as not popular.
We found that @ai-zen/live2d-vue demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
/Security News
Socket researchers uncover how threat actors weaponize Discord across the npm, PyPI, and RubyGems ecosystems to exfiltrate sensitive data.
Security News
Socket now integrates with Bun 1.3’s Security Scanner API to block risky packages at install time and enforce your organization’s policies in local dev and CI.
Research
The Socket Threat Research Team is tracking weekly intrusions into the npm registry that follow a repeatable adversarial playbook used by North Korean state-sponsored actors.