A react module that masks email addresses from any input string
npm install --save react-email-mask
import React from 'react'
import { maskEmail } from 'react-email-mask'
import 'react-email-mask/dist/index.css'
const App = () => {
console.log(maskEmail('my email address is hello@abc.com, is your email address byebye@defgh.com?'));
return <div>Hello Email Mask Helper</div>
}
export default App
my email address is h***o@a*c.com, is your email address b****e@d***h.com?
MIT © superflows-dev