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.
popcorn-slide
Advanced tools
Popcorn-slide is a javascript component for creating image slides with the canvas without the need for css or html.
39+ ✔ | 42+ ✔ | 29+ ✔ | Nope ✘ | Nope ✘ |
$ npm install popcorn-canvas --save
// to import a specific method
import PopcornSlide from 'popcorn-slide';
const canvas = document.getElementById('canvas')
const config = {
canvas,
list: [
{ url: 'image-1' },
{ url: 'image-2' },
{ url: 'image-3' },
],
width: 1400,
height: 662
}
const popcorn = new PopcornSlide(config);
Follow the methods that the library provides.
Rewind an image by calling this method.
Example
document.querySelector('.button-previous').addEventListener('click', () => popcorn.previous());
Advance an image by calling this method.
Example
document.querySelector('.button-next').addEventListener('click', () => popcorn.next());
Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.
Denner Rondinely |
See also the list of contributors who participated in this project.
This project is licensed under the MIT License - see the LICENSE.md file for details
FAQs
A lib to create a slide images with canvas.
We found that popcorn-slide 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
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.