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.
Vevet is a flexible JavaScript library designed for creative web development
Vevet is a flexible JavaScript library designed for creative web development. It offers pre-built solutions like smooth scrolling, text splitting, custom cursors, and other interactive components, allowing developers to enhance the visual and functional aspects of their websites.
Vevet is highly customizable, seamlessly integrates into existing projects, and provides basic and advanced functionalities for developers aiming to boost site interactivity.
vevet.isPhone
, vevet.isTablet
, vevet.isDesktop
, vevet.isMobile
vevet.osName
, vevet.browserName
, vevet.isWebpSupported
(Check WebP support)vevet.isPageLoaded
, vevet.onPageLoad
vevet.viewport
(Handles resize events efficiently)
width
, height
, sHeight
, vw
, vh
, svh
, isDesktop
, isTablet
, isPhone
, isPortrait
, isLandscape
, dpr
, lowerDpr
requestAnimationFrame
, offering custom FPS control.To install Vevet, use the following command:
npm install vevet
To use Vevet's styles, import them as follows:
@import '~vevet/lib/styles/base';
@import '~vevet/lib/styles/index';
For example, to import styles for the custom cursor:
@import '~vevet/lib/styles/components/CustomCursor';
Below is an example of how to initialize the CustomCursor
component:
import { CustomCursor } from 'vevet';
const instance = new CustomCursor({
container: document.getElementById('container')!,
});
This project is licensed under the terms of the MIT license.
FAQs
Vevet is a flexible JavaScript library designed for creative web development
We found that vevet demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers 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.