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/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 29,194 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
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.