
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
imagerequest
Advanced tools
Image request handler for Node.js with on demand resizing using ImageMagick.
ImageRequest is a small module that you hook up to your Node.js HTTP server to handle image requests. ImageRequest will then handle image delivery and on demand resizing for you.
To use ImageRequest with for example Express do something like this:
var ir = require('image-request');
app.get('photos/:size/:img', ir({
src: __dirname + '/photos',
}));
Then when someone requests for example photos/small/picture.jpg a resized version of the original picture.jpg will be delivered. The resized version is stored on disk an reused for subsequent requests.
Install with npm install imagerequest
You will also need to have ImageMagick installed on your system.
This project is very new, and very rough around the edges. It's probably not very well coded at this moment. And a lot of functionality is only half assed or not at all implemented even though the source suggestes otherwise.
Please try it out if you want to. As always, pull requests much appreciated.
See LICENSE
FAQs
Image request handler with on demand resizing using ImageMagick.
We found that imagerequest demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.