cetydeprecated

Change email address to some specific domain

Usage no npm install needed!

<script type="module">
  import cety from 'https://cdn.skypack.dev/cety';
</script>

README

CETY

Version: 0.3.0

Short for Convert Email To Yopmail

A small command line utility to convert the email addresses to yopmail.com.

Usage

installation

npm install -g cety

convert

Use the following command to convert all the emails to yopmail addresses:

cety convert --url mongodb://localhost:27017/ --db one --collection users

Required Arguments:

  • url is the mongodb url
  • db is the database name
  • collection is the collection name.

help

Run the command cety man for more details.

Limitation

The utility looks at the collection and searches for the field email in the collection. I am searching a way to do this dynamically.

Dependencies

  • mongodb - To connect to mongodb database.
  • async - To loop over each document found asynchronously.

Todo

  • Take fieldname as argument instead of static email field.

Latest npm audit output:

❤️ Your modules look amazing. Keep up the great work. ❤️