Security News
Fluent Assertions Faces Backlash After Abandoning Open Source Licensing
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
@tsparticles/interaction-external-repulse
Advanced tools
tsParticles repulse external interaction
tsParticles interaction plugin for repulse effect around mouse or HTML elements.
The CDN/Vanilla version JS has one required file in vanilla configuration:
Including the tsparticles.interaction.external.repulse.min.js
file will export the function to load the interaction
plugin:
loadExternalRepulseInteraction;
Once the scripts are loaded you can set up tsParticles
and the interaction plugin like this:
(async () => {
await loadExternalRepulseInteraction(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-repulse
or
$ yarn add @tsparticles/interaction-external-repulse
Then you need to import it in the app, like this:
const { tsParticles } = require("@tsparticles/engine");
const { loadExternalRepulseInteraction } = require("@tsparticles/interaction-external-repulse");
(async () => {
await loadExternalRepulseInteraction(tsParticles);
})();
or
import { tsParticles } from "@tsparticles/engine";
import { loadExternalRepulseInteraction } from "@tsparticles/interaction-external-repulse";
(async () => {
await loadExternalRepulseInteraction(tsParticles);
})();
FAQs
tsParticles repulse external interaction
The npm package @tsparticles/interaction-external-repulse receives a total of 43,617 weekly downloads. As such, @tsparticles/interaction-external-repulse popularity was classified as popular.
We found that @tsparticles/interaction-external-repulse 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.
Security News
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.