
Research
2025 Report: Destructive Malware in Open Source Packages
Destructive malware is rising across open source registries, using delays and kill switches to wipe code, break builds, and disrupt CI/CD.
@dalisoft/swipe-gesture
Advanced tools
Swipe gesture library
Note: This library focused to performance and simplicity. For complex usecase (like long-tap or pinch), please use other library
We recommend install via npm because of it's cache and flat node modules tree
npm i @dalisoft/swipe-gesture
then you able to import to Node.js/Browser easily
// Node.js
const SwipeGesture = require("@dalisoft/swipe-gesture");
// Browser
// window.SwipeGesture OR SwipeGesture
// ES6
import SwipeGesture from "@dalisoft/swipe-gesture";
function(e: Event) - Call like pointerdownfunction(e: Event) - Call like pointermovefunction() - Call like pointerup, but without Event for performance reasonfunction(e: Event.X.Delta) - Call when panning horizontalfunction(e: Event.Y.Delta) - Call when panning verticalfunction(e: Event.X.Delta) - Call when swipe leftfunction(e: Event.X.Delta) - Call when swipe rightfunction(e: Event.Y.Delta) - Call when swipe upfunction(e: Event.Y.Delta) - Call when swipe downconst swipe = SwipeGesture({
onPanX: delta => console.log("pan x delta", delta)
});
yourDom.addEventListener("pointerdown", swipe.onStart);
yourDom.addEventListener("pointermove", swipe.onMove);
yourDom.addEventListener("pointerup", swipe.onEnd);
MIT
FAQs
Swipe gesture library
We found that @dalisoft/swipe-gesture 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
Destructive malware is rising across open source registries, using delays and kill switches to wipe code, break builds, and disrupt CI/CD.

Security News
Socket CTO Ahmad Nassri shares practical AI coding techniques, tools, and team workflows, plus what still feels noisy and why shipping remains human-led.

Research
/Security News
A five-month operation turned 27 npm packages into durable hosting for browser-run lures that mimic document-sharing portals and Microsoft sign-in, targeting 25 organizations across manufacturing, industrial automation, plastics, and healthcare for credential theft.