
Security News
Meet Socket at Black Hat Europe and BSides London 2025
Socket is heading to London! Stop by our booth or schedule a meeting to see what we've been working on.
Swipe.js as a deku component
npm install deku-swipe
1.0.x - depends on Deku 0.5.x
/** @jsx dom */
import dom from 'magic-virtual-element'
import {render, tree} from 'deku'
import Swipe from 'deku-swipe'
const app = tree(
<Swipe arrows={true} startSlide={2} speed={1200} arrowPrev='ey prev' arrowNext='ey next'>
<div>slide 0</div>
<div>slide 1</div>
<div>slide 2</div>
<div>another slide</div>
</Swipe>
);
render(app, document.getElementById('root'))
.deku-swipe {
overflow: hidden;
visibility: hidden;
position: relative;
}
.deku-swipe__wrap {
overflow: hidden;
position: relative;
height: 100px;
background-color: black;
color: pink;
}
.deku-swipe__wrap > div {
float:left;
width:100%;
position: relative;
}
startSlide Integer (default:0) - index position Swipe should start at
speed Integer (default:300) - speed of prev and next transitions in milliseconds.
auto Integer - begin with auto slideshow (time in milliseconds between slides)
continuous Boolean (default:true) - create an infinite feel with no endpoints
callback Function - runs at slide change.
transitionEnd Function - runs at the end slide transition.
npm install
npm run build
npm test
npm start
FAQs
Swipe.js as a deku component
The npm package deku-swipe receives a total of 0 weekly downloads. As such, deku-swipe popularity was classified as not popular.
We found that deku-swipe 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
Socket is heading to London! Stop by our booth or schedule a meeting to see what we've been working on.

Security News
OWASP’s 2025 Top 10 introduces Software Supply Chain Failures as a new category, reflecting rising concern over dependency and build system risks.

Research
/Security News
Socket researchers discovered nine malicious NuGet packages that use time-delayed payloads to crash applications and corrupt industrial control systems.