obfuscator-email
v1.0.3
Published
Obfuscates email addresses with *'s.
Downloads
1,968
Maintainers
Readme
About
Obfuscates email addresses with *'s.
Purpose?
This module will to obfuscate email addresses with *'s.
Example
email: [email protected]
obfuscateEmail: on*****@gmail.com
Usage
Default values
const obfuscatorEmail = require('obfuscator-email');
// Default values
const obfuscateEmail = obfuscatorEmail('[email protected]');
With options
const obfuscatorEmail = require('obfuscator-email');
// With options
const options = { numberOfAsteriks: 3, numberOfCharacters: 3 };
const obfuscateEmail = obfuscatorEmail('[email protected]', options);
License
This project is licensed under the MIT License - see the LICENSE.md file for details