
Research
/Security News
jscrambler npm Package Compromised in Supply Chain Attack
A compromised jscrambler npm release added a malicious preinstall hook that runs hidden native binaries on Linux, macOS, and Windows.
dance-comment
Advanced tools
English | 简体中文

import DanceComment from 'dance-comment'
new DanceComment().init()
const config = {
time: 1000,
useTemplate: true,
orderPlay: false
}
new DanceComment(config).init()

import DanceComment from 'dance-comment'
import javascript from 'dance-comment/template/javascript'
new DanceComment().init()
const config = {
time: 200,
useTemplate: false,
template: javascript
}
new DanceComment(config).init()
| name | type | default | explain |
|---|---|---|---|
| time | number | 10000 | replacement time MS (no replacement if less than 100ms) |
| useTemplate | boolean | true | use the template provided by the plug-in |
| template | array | [] | custom template |
| orderPlay | boolean | true | whether to switch in order or not. False means random switching |
config.template => array
[
[
' .--, .--, ',
' ( ( \\.---./ ) ) ',
" '.__/o o\\__.' ",
' {= ^ =} ',
' > - < ',
' / " ',
' // \\\\ ',
' //| . |\\\\ ',
" '\\ /''_.-~^`'-. ",
" \\ _ /--' ` ",
' ___)( )(___ ',
' (((__) (__))) '
],
[
" _._ _..._ .-', _.._(`)) ",
" '-. ` ' /-._.-' ',/ ",
" ) \\ '. ",
' / _ _ | " ',
' | a a / | ',
' \\ .-. ; ',
" '-('' ).-' ,' ; ",
" '-; | .' ",
' \\ \\ / ',
' | 7 .__ _.-\\ " ',
' | | | ``/ /` / ',
' /,_| | /,_/ / ',
" /,_/ '`-' "
]
]
FAQs
danceComment Let code be dance
The npm package dance-comment receives a total of 11 weekly downloads. As such, dance-comment popularity was classified as not popular.
We found that dance-comment demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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
A compromised jscrambler npm release added a malicious preinstall hook that runs hidden native binaries on Linux, macOS, and Windows.

Research
/Security News
A malicious .NET package is typosquatting the Braintree SDK to steal live payment card data, merchant API keys, and host secrets from production apps.

Security News
/Research
Compromised Injective SDK npm version 1.20.21 exfiltrates wallet private keys and mnemonics through fake telemetry functionality.