New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

vite-plugin-bullet-msg

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vite-plugin-bullet-msg

vite-plugin-bullet-msg

latest
Source
npmnpm
Version
1.1.0
Version published
Maintainers
1
Created
Source

vite-plugin-bullet-msg

vite-plugin-bullet-msg

get the target str from your code to dispaly in screen like bullet-chat

  • get the target str and then send event by ws, client will create dom with the msg
bulletMsgPlugin({
  wsProtocol: 'vite-hmr', // ws protocol
  wsPath: 'xxx', // link
  targetKey: 'TODO',
  rootPath: __dirname,
  duration: 50, // 动画时长 s
})
  • or U can handle the target data yourself
bulletMsgPlugin({
  wsProtocol: 'vite-hmr', // ws protocol
  wsPath: 'xxx', // link
  targetKey: 'TODO',
  rootPath: __dirname,
  duration: 50, // 动画时长 s
  dataHandler: (data) => {
    // U can create a Vue instance to show your data in browser
    console.log(data)
  }
})

Keywords

node

FAQs

Package last updated on 21 Dec 2022

Did you know?

Socket

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.

Install

Related posts