Skip to content

Welcome to Express Maskerize! πŸŽ‰ This middleware helps you effortlessly mask sensitive data like emails, phone numbers, IP addresses, and dates in your Express.js responses. Keep your logs clean and your users' data secure with just a few lines of code.

Notifications You must be signed in to change notification settings

fastuptime/Express_Maskerize

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

2 Commits
Β 
Β 
Β 
Β 

Repository files navigation

πŸ›‘οΈ Express Maskerize: Protect Sensitive Data in Your Express.js Responses

Welcome to Express Maskerize! πŸŽ‰ This middleware helps you effortlessly mask sensitive data like emails, phone numbers, IP addresses, and dates in your Express.js responses. Keep your logs clean and your users' data secure with just a few lines of code.

image

πŸš€ Features

  • Email Masking: Protects email addresses in your data.

    john.doe@example.com ➑️ [email protected]
  • Phone Number Masking: Masks phone numbers to maintain privacy.

    +1 (555) 555-5555 ➑️ [phone protected]
  • IP Address Masking: Safeguards IP addresses in your data.

    192.168.1.1 ➑️ [ip protected]
  • Automatic Field Detection: Masks sensitive data without requiring any manual configuration.

πŸ”§ Usage

Integrate Express Maskerize into your Express.js application:

const express = require('express');
const maskerize = require('./maskerize');

const app = express();

app.use(maskerize);

app.get('/data', (req, res) => {
    const data = {
        email: '[email protected]',
        phone: '+1 (555) 555-5555',
        ip: '192.168.1.1',
        createdAt: '2024-08-08T10:00:00Z'
    };
    res.json(data);
});

app.listen(3000, () => {
    console.log('Server is running on port 3000');
});

🎨 Screenshots

image

image

image


πŸ‘‹ Thank you for using Express Maskerize! Keep your users' data safe and secure!

About

Welcome to Express Maskerize! πŸŽ‰ This middleware helps you effortlessly mask sensitive data like emails, phone numbers, IP addresses, and dates in your Express.js responses. Keep your logs clean and your users' data secure with just a few lines of code.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published