
Product
Introducing Socket Fix for Safe, Automated Dependency Upgrades
Automatically fix and test dependency updates with socket fix—a new CLI tool that turns CVE alerts into safe, automated upgrades.
@tsparticles/plugin-emitters
Advanced tools
tsParticles plugin for particles emitters.
The CDN/Vanilla version JS has one required file in vanilla configuration:
Including the tsparticles.plugin.emitters.min.js
file will export the function to load the plugin:
loadEmittersPlugin;
Once the scripts are loaded you can set up tsParticles
and the plugin like this:
(async () => {
await loadEmittersPlugin(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/plugin-emitters
or
$ yarn add @tsparticles/plugin-emitters
Then you need to import it in the app, like this:
const { tsParticles } = require("@tsparticles/engine");
const { loadEmittersPlugin } = require("@tsparticles/plugin-emitters");
(async () => {
await loadEmittersPlugin(tsParticles);
})();
or
import { tsParticles } from "@tsparticles/engine";
import { loadEmittersPlugin } from "@tsparticles/plugin-emitters";
(async () => {
await loadEmittersPlugin(tsParticles);
})();
FAQs
tsParticles emitters plugin
The npm package @tsparticles/plugin-emitters receives a total of 35,502 weekly downloads. As such, @tsparticles/plugin-emitters popularity was classified as popular.
We found that @tsparticles/plugin-emitters 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.
Product
Automatically fix and test dependency updates with socket fix—a new CLI tool that turns CVE alerts into safe, automated upgrades.
Security News
CISA denies CVE funding issues amid backlash over a new CVE foundation formed by board members, raising concerns about transparency and program governance.
Product
We’re excited to announce a powerful new capability in Socket: historical data and enhanced analytics.