Security News
The Dark Side of Open Source
At Node Congress, Socket CEO Feross Aboukhadijeh uncovers the darker aspects of open source, where applications that rely heavily on third-party dependencies can be exploited in supply chain attacks.
jsmarquee
Advanced tools
Readme
jsmarquee is a pure javascript implementation of the old HTML marquee tag.
It is not tied to any css or javascript library, so it can be easily implemented on any frontend project.
This is the default setup:
import Marquee from 'jsmarquee'
const m = new Marquee({
element: '#marquee-demo',
velocity: 1
})
m.run()
These are the accepted properties:
name | value |
---|---|
element | string with a query selector value |
velocity | number. integer usage is recommended |
As said before, jsmarquee is not tied to any CSS library.
In order to work correctly this is the basic CSS needed:
<div class="my-marquee" id="marquee-demo">
<div>
content goes here. you can use any html tag, including images
</div>
</div>
.my-marquee {
overflow: hidden;
}
.my-marquee > div {
display: inline-flex;
position: relative;
}
TODO
jsmarquee is open-sourced software licensed under the MIT license.
Icons made by Alfredo Hernandez from www.flaticon.com
FAQs
Javascript Marquee without dependencies
The npm package jsmarquee receives a total of 3 weekly downloads. As such, jsmarquee popularity was classified as not popular.
We found that jsmarquee 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.
Security News
At Node Congress, Socket CEO Feross Aboukhadijeh uncovers the darker aspects of open source, where applications that rely heavily on third-party dependencies can be exploited in supply chain attacks.
Research
Security News
The Socket Research team found this npm package includes code for collecting sensitive developer information, including your operating system username, Git username, and Git email.
Security News
OpenJS is warning of social engineering takeovers targeting open source projects after receiving a credible attempt on the foundation.