1.0.3 • Published 5 years ago

hide-email-phone-partially v1.0.3

Weekly downloads
-
License
MIT
Repository
github
Last release
5 years ago

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

Version Documentation Maintenance

šŸ  Homepage

Module hides emails and phones partially from an input

Install

npm install hide-email-phone-partially

Usage

const hideEmailPhone = require('hide-email-phone-partially')

Example:

var email = 'exampleemail@domail.com';

console.log(hideEmailPhone(email))

var phoneNumber = '62811203898';

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!