mask-pii for JavaScript
JavaScript implementation of mask-pii for masking email and phone PII in logs and data pipelines.
Email masking
Masks local parts while preserving domain visibility.
Phone masking
Masks sensitive digits while keeping format and suffix visibility.
Builder-style API
Enable email/phone masking and mask character explicitly before processing.
Install and start
Follow the JavaScript README for package setup and usage details.
Installation
npm install mask-pii
Usage
README.md
// Language-specific README and examples:
https://github.com/finitefield-org/mask-pii/tree/main/javascript
Note
Please check the README for exact package ecosystem details and API examples for this language.
Previous
Language indexNext
GitHub