Socket
Socket
Sign inDemoInstall

obfuscator-email

Package Overview
Dependencies
0
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    obfuscator-email

Obfuscates email addresses with *'s.


Version published
Weekly downloads
352
decreased by-18.71%
Maintainers
1
Install size
98.0 kB
Created
Weekly downloads
 

Readme

Source

About

Obfuscates email addresses with *'s.

NPM

Purpose?

This module will to obfuscate email addresses with *'s.

Example
email: onildo.aguiar@gmail.com
obfuscateEmail: on*****@gmail.com

Usage

Default values
const obfuscatorEmail = require('obfuscator-email');

// Default values
const obfuscateEmail = obfuscatorEmail('onildo.aguiar@gmail.com');
With options
const obfuscatorEmail = require('obfuscator-email');

// With options
const options = { numberOfAsteriks: 3, numberOfCharacters: 3 };
const obfuscateEmail = obfuscatorEmail('onildo.aguiar@gmail.com', options);

License

This project is licensed under the MIT License - see the LICENSE.md file for details

Keywords

FAQs

Last updated on 10 Feb 2018

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc