1.0.1 ā€¢ Published 4 years ago

partially-hide-email-phone v1.0.1

Weekly downloads
2
License
MIT
Repository
github
Last release
4 years ago

Welcome to partially-hide-email-phone šŸ‘‹

Version Documentation Maintenance

šŸ  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)

Show your support

Give a ā­ļø if this project helped you!