Skip to content

Releases: AmJaradat01/DataVeil

DataVeil v1.0.0

07 Jul 00:14
Compare
Choose a tag to compare

DataVeil v1.0.0

Release Description:

We are excited to announce the initial release of DataVeil v1.0.0! DataVeil is a powerful and flexible library designed to help you mask sensitive information with ease. This initial release includes a comprehensive set of features to mask various types of data, ensuring privacy and security in your applications.

Key Features:

  • Card Number Masking: Mask credit and debit card numbers while preserving the last few digits for readability.

  • Email Masking: Protect email addresses by masking the local part while keeping the domain visible.

  • Password Masking: Securely mask passwords with customizable mask characters.

  • Phone Number Masking: Mask phone numbers with options for preserving country codes and specific digits.

  • Substring Masking: Mask specific substrings within a text, with options for custom mask characters and masking only the first occurrence.

  • UUID Masking: Mask UUIDs while preserving specific parts for identification.

  • JWT Masking: Securely mask JSON Web Tokens by obscuring the header, payload, and signature.

  • JSON Field Masking: Mask specific fields within a JSON object to protect sensitive information.

Utilities:

  • Nested Field Retrieval: Get nested fields from JSON objects using a dot notation path.

  • Nested Field Setting: Set nested fields in JSON objects using a dot notation path.

Getting Started:

Installation:

Add DataVeil to your project using npm:

npm install DataVeil

Usage:

Import the necessary functions and start masking data:

import { DataVeil } from 'DataVeil';

const maskedCard = DataVeil.maskCardNumber('1234567812345678');
console.log(maskedCard); // Output: ************5678

Contribution:

We welcome contributions to enhance DataVeil! Feel free to open issues, submit pull requests, or provide feedback on our GitHub repository.

Repository:

Find the source code, documentation, and examples on our GitHub repository.

Feedback:

Your feedback is invaluable to us. Please let us know what you think and how we can improve DataVeil. Happy masking!