Research
Security News
Kill Switch Hidden in npm Packages Typosquatting Chalk and Chokidar
Socket researchers found several malicious npm packages typosquatting Chalk and Chokidar, targeting Node.js developers with kill switches and data theft.
Simple and lightweight javascript library for smooth scrolling to element, It has no dependency.
A lightweight, smooth scrolling javascript library without any dependency.
Using NPM
npm install moveTo --save
Using Bower
bower install moveTo --save
const moveTo = new MoveTo();
const target = document.getElementById('target');
moveTo.move(target);
// or register a trigger
const trigger = document.getElementsByClassName('js-trigger')[0];
moveTo.registerTrigger(trigger);
Trigger HTML markup
<a href="#target" class="js-trigger" data-duration="300">Trigger</a>
Adds custom ease function
Type: string
Ease function name
Type: function
Ease function. See easing.js for more ease function.
// To install dev dependencies run:
npm install
// To start the development server run:
gulp serve
// To lint your code run:
gulp scripts:lint
// To make a full new build run:
gulp build
// To run tests
npm test tests/**
It should work in the current stable releases of Chrome, Firefox, Safari as well as IE9 and up.
Copyright (c) 2017 Hasan Aydoğdu. See the LICENSE file for license rights and limitations (MIT).
FAQs
A lightweight scroll animation javascript library without any dependency.
We found that moveto 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 researchers found several malicious npm packages typosquatting Chalk and Chokidar, targeting Node.js developers with kill switches and data theft.
Security News
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
Product
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.