Security News
PyPI’s New Archival Feature Closes a Major Security Gap
PyPI now allows maintainers to archive projects, improving security and helping users make informed decisions about their dependencies.
@tsparticles/interaction-external-bounce
Advanced tools
tsParticles interaction plugin for bounce effect around mouse or HTML elements.
The CDN/Vanilla version JS has one required file in vanilla configuration:
Including the tsparticles.interaction.external.bounce.min.js
file will export the function to load the interaction
plugin:
loadExternalBounceInteraction;
Once the scripts are loaded you can set up tsParticles
and the interaction plugin like this:
(async () => {
await loadExternalBounceInteraction(tsParticles);
await tsParticles.load({
id: "tsparticles",
options: {
/* options */
},
});
})();
This package is compatible also with ES or CommonJS modules, firstly this needs to be installed, like this:
$ npm install @tsparticles/interaction-external-bounce
or
$ yarn add @tsparticles/interaction-external-bounce
Then you need to import it in the app, like this:
const { tsParticles } = require("@tsparticles/engine");
const { loadExternalBounceInteraction } = require("@tsparticles/interaction-external-bounce");
(async () => {
await loadExternalBounceInteraction(tsParticles);
})();
or
import { tsParticles } from "@tsparticles/engine";
import { loadExternalBounceInteraction } from "@tsparticles/interaction-external-bounce";
(async () => {
await loadExternalBounceInteraction(tsParticles);
})();
FAQs
tsParticles bounce external interaction
The npm package @tsparticles/interaction-external-bounce receives a total of 33,003 weekly downloads. As such, @tsparticles/interaction-external-bounce popularity was classified as popular.
We found that @tsparticles/interaction-external-bounce demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 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.
Security News
PyPI now allows maintainers to archive projects, improving security and helping users make informed decisions about their dependencies.
Research
Security News
Malicious npm package postcss-optimizer delivers BeaverTail malware, targeting developer systems; similarities to past campaigns suggest a North Korean connection.
Security News
CISA's KEV data is now on GitHub, offering easier access, API integration, commit history tracking, and automated updates for security teams and researchers.