react-email-mask
v1.0.1
Published
A react module that masks email addresses from any input string
Downloads
444
Readme
react-email-mask
A react module that masks email addresses from any input string
Install
npm install --save react-email-mask
Usage
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 [email protected], is your email address [email protected]?'));
return <div>Hello Email Mask Helper</div>
}
export default App
Output
my email address is h***o@a*c.com, is your email address b****e@d***h.com?
License
MIT © superflows-dev