appebayrd
v2.2.2
Published
A Node.js module for generating random user accounts and sending data to Telegram.
Maintainers
Readme
My Node Module
This is a Node.js module that provides functionality for generating random user accounts and sending data to Telegram. It can be used in various applications where random user data is needed.
Installation
To install the module, use npm:
npm install my-node-moduleUsage
After installing the module, you can require it in your application:
import { generateAccount, sendToTelegram } from 'my-node-module';
// Generate a random account
const account = generateAccount();
console.log(account);
// Send data to Telegram
sendToTelegram('Your message here');Functions
generateAccount()
Generates a random user account with the following properties:
- First Name
- Last Name
- Password
- Gender
- Date of Birth
- Address
- Social Security Number (SSN)
sendToTelegram(message)
Sends a message to a specified Telegram chat using the bot API. Make sure to set the TELEGRAM_TOKEN and TELEGRAM_CHAT_ID environment variables.
Environment Variables
To use the Telegram functionality, you need to set the following environment variables:
TELEGRAM_TOKEN: Your Telegram bot token.TELEGRAM_CHAT_ID: The chat ID where messages will be sent.
License
This project is licensed under the MIT License. See the LICENSE file for details.
