1.0.1 ā¢ Published 4 years ago
partially-hide-email-phone v1.0.1
Welcome to partially-hide-email-phone š
š Homepage
Module to hide emails and phone numbers partially
Install
npm install partially-hide-email-phone
Usage
const hideEmailPhone = require('partially-hide-email-phone')
Example:
var email = 'exampleemail@domail.com';
var phoneNumber = '62811203898';
console.log(hideEmailPhone(email));
console.log(hideEmailPhone(phoneNumber));
The output variable will be equal to:
`ex**pl**ma**@domail.com
6281****898`
Run tests
npm run test
Author
š¤ Ali Jaradat (AmJaradat01@gmail.com)
- Github: @AmJaradat01
Show your support
Give a āļø if this project helped you!