1M+ Monthly Downloads

ProfessionalImage Watermarkingfor Node.js Developers

The most powerful and easy-to-use Node.js library for adding professional watermarks. Trusted by 10,000+ developers worldwide.

MIT Licensed
TypeScript Support
Zero Dependencies
1M+
Monthly Downloads
Trusted worldwide
2.5K+
GitHub Stars
Community love
10K+
Developers
Active users
99.9%
Success Rate
Reliability
Quick Start

Get Started in Minutes

Install the package and start adding professional watermarks to your images with just a few lines of code. No complex setup required.

1

Install Package

Add to your project with npm

2

Import Functions

Import watermarking functions

3

Add Watermarks

Start watermarking images

View Full Tutorial
Terminal
1# Install via npm
2npm install images-watermark
3
4# Install via yarn  
5yarn add images-watermark
6
7# Install via pnpm
8pnpm add images-watermark
watermark.js
1const { singleImageWatermark } = require('images-watermark');
2const path = require('path');
3
4// Add professional text watermark
5const watermarkedImage = await singleImageWatermark({
6  imagePath: path.join(__dirname, './input.jpg'),
7  allowedReferrers: ['http://localhost:3000'],
8  headers: {
9    host: 'localhost:3000',
10    connection: 'keep-alive',
11    'user-agent': 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36',
12  },
13  textWatermark: '© 2025 Images Watermark',
14  textColor: '#ffffff',
15  opacity: '0.8',
16  fontWeight: '600'
17});
18
19// Add stunning image watermark
20const watermarkedImage = await singleImageWatermark({
21  imagePath: path.join(__dirname, './input.jpg'),
22  watermarkPath: path.join(__dirname, './logo.png'),
23  allowedReferrers: ['http://localhost:3000'],
24  headers: {
25    host: 'localhost:3000',
26    connection: 'keep-alive',
27    'user-agent': 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36',
28  }
29});
Features

Why Choose Images Watermark?

Built with modern Node.js best practices, providing everything you need for professional image watermarking with exceptional performance.

Lightning Fast

10x faster

Optimized for speed with minimal memory usage. Process thousands of images efficiently.

Highly Customizable

50+ options

Extensive styling options including fonts, colors, opacity, positioning, and effects.

Production Ready

99.9% uptime

Full TypeScript support, comprehensive error handling, and enterprise reliability.

Developer Friendly

5 min setup

Clean, intuitive API design that makes watermarking straightforward and enjoyable.

Use Cases

Perfect for Every Industry

From photography studios to enterprise platforms, Images Watermark adapts to your needs with powerful features and flexible customization.

📸

Photography Studios

Protect your work with professional watermarks

🛍️

E-commerce

Brand your product images automatically

🎨

Content Creators

Add signatures to your digital artwork

🏢

Enterprise

Secure document marking and compliance

Ready to Start Watermarking?

Join thousands of developers who trust Images Watermark for their image processing needs. Get started in minutes with our comprehensive documentation.

Free forever • MIT Licensed • No vendor lock-in • 1M+ downloads

Technical Specifications

Node.js 20.0.0+ support
TypeScript & JavaScript support
Sharp-based image processing
PNG, JPEG, WebP format support
Referrer-based access control
Batch processing capabilities

Performance Features

High Performance

Optimized with Sharp for lightning-fast processing

Memory Efficient

Minimal memory footprint for large-scale operations

Scalable

Handle thousands of images with ease

Frequently Asked Questions

How do I install Images Watermark?

Install using npm: npm install images-watermark, yarn: yarn add images-watermark, or pnpm: pnpm add images-watermark

What image formats are supported?

Images Watermark supports PNG, JPEG, WebP, and other formats supported by the Sharp library. The library automatically detects and processes the appropriate format.

Can I add both text and image watermarks?

Yes! You can add both text and image watermarks simultaneously using the singleImageWatermark function. Simply provide both textWatermark and watermarkPath parameters.

Is Images Watermark production ready?

Absolutely! Images Watermark is production-ready with comprehensive error handling, TypeScript support, high performance, and is trusted by thousands of developers worldwide.

How do I handle batch processing?

Use the multiImageWatermark function to process multiple images at once. Simply provide an array of image paths and the same watermark settings will be applied to all images.

What about security and access control?

Images Watermark includes referrer-based access control for protected content. You can specify allowed domains to ensure only authorized requests can access your watermarked images.

Join Our Community

Connect with thousands of developers using Images Watermark. Share experiences, get help, and contribute to the project.

GitHub

Star the repository and contribute to the project

View on GitHub

NPM

Download and install the latest version

View on NPM

Documentation

Comprehensive guides and API reference

View Docs