partially-hide-email-phone

1.0.1 • Public • Published

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!


/partially-hide-email-phone/

    Package Sidebar

    Install

    npm i partially-hide-email-phone

    Weekly Downloads

    10

    Version

    1.0.1

    License

    MIT

    Unpacked Size

    4.45 kB

    Total Files

    10

    Last publish

    Collaborators

    • amjaradat01