
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.
image-upload-kit
Advanced tools
A powerful and flexible image uploading utility for Node.js, Express, or NestJS apps.
A powerful and flexible image uploading utility for Node.js, Express, or NestJS apps.
/uploads🔗 https://github.com/Jaybhanu12/image-upload-kit
npm install image-upload-kit
import express from 'express';
import { ImageUploader } from 'image-upload-kit';
const app = express();
const uploader = new ImageUploader({
uploadDir: 'F:/uploads', // Just a folder path where files will be saved
db: {
type: 'postgres', // or 'mysql' or 'mongodb'
host: 'localhost',
port: 5432,
username: 'postgres',
password: 'password',
database: 'testdb',
},
});
await uploader.init(app); // Required to enable /upload and /upload/many routes + serve /uploads static
app.listen(4000, () => console.log('✅ Server running at http://localhost:4000'));
No need to manually define routes or static middleware — the package handles everything.
POSThttp://localhost:4000/upload → for single imagehttp://localhost:4000/upload/many → for multiple imagesForm-Data Body:
file or files[]{
"name": "cat.jpg",
"url": "http://localhost:4000/uploads/uuid-cat.jpg"
}
The returned url is public and usable in browser, frontend, etc.
You can use any one of the following:
npm install pg
db: {
type: 'postgres',
host: 'localhost',
port: 5432,
username: 'postgres',
password: 'password',
database: 'testdb',
}
npm install mysql
db: {
type: 'mysql',
host: 'localhost',
port: 3306,
username: 'root',
password: '',
database: 'testdb',
}
npm install mongodb
db: {
type: 'mongodb',
host: 'localhost',
port: 27017,
username: '',
password: '',
database: 'testdb',
}
This package simplifies image uploading and serving in any backend app by:
POST /upload and /upload/many/uploads)uploadDir like /var/www/myapp/uploadsThis image uploader gives you:
For contributions or issues: 👉 GitHub Issues
FAQs
A powerful and flexible image uploading utility for Node.js, Express, or NestJS apps.
We found that image-upload-kit demonstrated a healthy version release cadence and project activity because the last version was released less than 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.