Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
simple-marquee
Advanced tools
marquee component for react by requestAnimationFrame
npm i simple-marquee
OR
yarn add simple-marquee
import Marquee from 'simple-marquee';
const {
MarqueeGroup
} = Marquee;
OR
import Marquee, {
MarqueeGroup
} from 'simple-marquee';
<Marquee className={styles.marquee_group}
direction={'horizontal'}
stop={!(stopMarquee.stop && stopMarquee.index === -1)}>
2020年结束了,2021年开始了,为新的一年,加油 !!!!⛽️
</Marquee>
<MarqueeGroup stop={!(stopMarquee.stop && stopMarquee.index === 1)}>
<Marquee
style={{
marginBottom: '12px'
}}
speed={1.8}
indent={10}
direction={'horizontal'}>
<List style={{
backgroundColor: `#${color}`
}}>枯藤老树昏鸦</List>
<List style={{
backgroundColor: `#${color}`
}}>小桥流水人家</List>
<List style={{
backgroundColor: `#${color}`
}}>古道西风瘦马</List>
</Marquee>
<Marquee
style={{
marginBottom: '12px'
}}
direction={'horizontal-reverse'}
indent={25}
speed={1.2}>
<List style={{
backgroundColor: `#${color}`
}}>夕阳西下</List>
<List style={{
backgroundColor: `#${color}`
}}>断肠人在天涯</List>
<List style={{
backgroundColor: `#${color}`
}}>离离原上草</List>
<List style={{
backgroundColor: `#${color}`
}}>一岁一枯荣</List>
</Marquee>
<Marquee
direction={'horizontal'}
indent={55}
speed={1.4}>
<List style={{
backgroundColor: `#${color}`
}}>一岁一枯荣</List>
<List style={{
backgroundColor: `#${color}`
}}>野火烧不尽</List>
<List style={{
backgroundColor: `#${color}`
}}>春风吹又生</List>
</Marquee>
</MarqueeGroup>
stop
【boolean】 Control animation group statespeed
【number】 animation speed default
1indent
【number】 animation content indent default
0direction
animation direction default
horizontal
stop
【boolean】 Control animation statepauseOnHover
【boolean】 Control animation state when mouseover default
falseFAQs
marquee components for react
We found that simple-marquee demonstrated a healthy version release cadence and project activity because the last version was released less than 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
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.