Git Product home page Git Product logo

email-maker's Introduction

email-maker

Generate multiple work emails from only one email. It works because most mailers ignore dots written in the emails. Playing on this glitch, system users can randomly insert dots inside the email, keeping it valid email, to create multiple email variations from a single one. I created this repo to prevent this from happening on your system. Use the class, GitHub page, or the simple function to get all of the possible variations and add the instructions to your system.

For one-time uses, visit this page: Email Maker

Installation

You can install the email-maker package using npm:

npm install email-maker

or place this script tag inside the into your html file

<script type="module" src="https://cdn.jsdelivr.net/npm/email-maker@latest/EmailMaker.min.js" defer>

Usage

const EmailMaker = require('email-maker');

// Initialize with an email address
const emailInstance = new EmailMaker('[email protected]');

// Get email variations as an array
const variationsArray = emailInstance.getEmailVariations('arr');

// Get email variations as an object
const variationsObject = emailInstance.getEmailVariations('object');

// Get email variations as a string separated by a specified delimiter (default is comma)
const variationsString = emailInstance.getEmailVariations(', ');

// Log email variations to the console as an array
emailInstance.logVariations('arr');

// Log email variations to the console as a table
emailInstance.tableVariations();

// Download variations as a text file (frontend-side)
emailInstance.download('frontend');

Methods

getEmailVariations(type: string)

Returns email variations based on the specified type.

  • type: The format of the output. Possible values are 'arr' (array), 'object', or any delimiter for a string.

logVariations(type: string)

Logs email variations to the console based on the specified type.

  • type: The format of the output. Possible values are 'arr' (array), 'object', or any delimiter for a string.

tableVariations()

Logs email variations to the console as a table.

download(side: string)

Downloads email variations as a text file.

  • side: The side for downloading, either 'backend' or 'frontend'. But currently only front-end available, importing fs in the module causing problem when using it in front-end.

Example

const EmailMaker = require('email-maker');

const emailInstance = new EmailMaker('[email protected]');

// Log variations as a table
emailInstance.tableVariations();

// Download variations as a text file (frontend-side)
emailInstance.download('frontend');

Compatibility

Tested on:

  • gmail.com

License

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

email-maker's People

Contributors

eymeen avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.