
Security News
vlt Launches "reproduce": A New Tool Challenging the Limits of Package Provenance
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
@tsparticles/plugin-rgb-color
Advanced tools
tsParticles plugin for adding the RGB color support.
The CDN/Vanilla version JS has one required file in vanilla configuration:
Including the tsparticles.plugin.rgbColor.min.js
file will export the function to load the plugin:
loadRgbColorPlugin
Once the scripts are loaded you can set up tsParticles
and the plugin like this:
(async () => {
await loadRgbColorPlugin();
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-rgb-color
or
$ yarn add @tsparticles/plugin-rgb-color
Then you need to import it in the app, like this:
const { tsParticles } = require("@tsparticles/engine");
const { loadRgbColorPlugin } = require("@tsparticles/plugin-rgb-color");
(async () => {
await loadRgbColorPlugin();
})();
or
import { tsParticles } from "@tsparticles/engine";
import { loadRgbColorPlugin } from "@tsparticles/plugin-rgb-color";
(async () => {
await loadRgbColorPlugin();
})();
FAQs
tsParticles RGB color plugin
The npm package @tsparticles/plugin-rgb-color receives a total of 46,077 weekly downloads. As such, @tsparticles/plugin-rgb-color popularity was classified as popular.
We found that @tsparticles/plugin-rgb-color 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
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
Research
Security News
Socket researchers uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
Research
The Socket Research Team discovered a malicious npm package, '@ton-wallet/create', stealing cryptocurrency wallet keys from developers and users in the TON ecosystem.