Security News
GitHub Removes Malicious Pull Requests Targeting Open Source Repositories
GitHub removed 27 malicious pull requests attempting to inject harmful code across multiple open source repositories, in another round of low-effort attacks.
Effect is a node package that allows you to add effects on images.
This package depends on the software ImageMagick, you need to get it installed before being able to use Effect package.
$ npm install effect
After requiring the effect module :
var effect = require('effect');
you can use the following method (effects):
Every method's name gives an idea on the effect that will be applied on the specified image.
The arguments of all the methods are the same, let's take the method blur
as example:
var options = {
image : './path/to/your/image.jpg',
to : './path/to/target.jpg', /* optional, if not specified, the main image will be overwritten */
level : 5, /* optional, level of the effect that will be applied (default value : 5) */
size : 200, /* optional, you can resize your image while applying the effect (default value : 100%) */
};
var callback = function (error) {
if(!error) {
console.log("The effect was applied to your image !");
}
}
effetc.blur(options, callback);
MIT
FAQs
The missing standard library for TypeScript, for writing production-grade software.
The npm package effect receives a total of 749,563 weekly downloads. As such, effect popularity was classified as popular.
We found that effect demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 3 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
GitHub removed 27 malicious pull requests attempting to inject harmful code across multiple open source repositories, in another round of low-effort attacks.
Security News
RubyGems.org has added a new "maintainer" role that allows for publishing new versions of gems. This new permission type is aimed at improving security for gem owners and the service overall.
Security News
Node.js will be enforcing stricter semver-major PR policies a month before major releases to enhance stability and ensure reliable release candidates.