1.0.2 ⢠Published 5 years ago
partially-masked-email-and-phone v1.0.2
Welcome to partially-masked-email-and-phone š
Module hides emails and phones partially from an input message
š Homepage
Install
npm install partially-masked-email-and-phone
Usage
const maskEmailsPhones = require('partially-masked-email-and-phone')
Example:
var email = 'exampleemail@domail.com';
console.log(maskEmailsPhones(email))
var phoneNumber = '62811203898';
console.log(maskEmailsPhones(phoneNumber))
The output
variable will be equal to:
`ex**pl**ma**@domail.com
6281****898
`
Run tests
mocha tests/*.test.js
Author
š¤ Ali Jaradat (AmJaradat01@gmail.com)
- Github: @AmJaradat01
Show your support
Give a āļø if this project helped you!
š License
Copyright Ā© 2020 Ali Jaradat (AmJaradat01@gmail.com).
This project is MIT licensed.