
Security News
npm Adopts OIDC for Trusted Publishing in CI/CD Workflows
npm now supports Trusted Publishing with OIDC, enabling secure package publishing directly from CI/CD workflows without relying on long-lived tokens.
fake-mail-generator
Advanced tools
A lightweight Node.js module designed as an API for interacting with the Fake Mail Generator website.
Simplify the generation of random emails, retrieval of inbox details, and monitoring of incoming emails with ease.
Install the module via npm:
npm install fake-mail-generator-node
const FMG = require('fake-mail-generator-node');
// Create an instance of FMG
const fmgInstance = new FMG({ name: 'your_random_mail_name', refreshInterval: 5000 });
// Generate an email
fmgInstance.generateEmail().then((generatedEmail) => {
console.log(`Generated Email: ${generatedEmail}`);
// Watch the generated email
fmgInstance.watch(generatedEmail).then(() => {
console.log('Watching for emails...');
}).catch((error) => {
console.error('Error while watching:', error.message);
});
}).catch((error) => {
console.error('Error while generating email:', error.message);
});
Contributions are welcome! If you find a bug, have a feature request, or want to contribute in any way, feel free to open an issue or submit a pull request.
This project is licensed under the MIT License - see the LICENSE.md file for details.
We acknowledge the Fake Mail Generator website (https://www.fakemailgenerator.com/) for providing a valuable service. This module is designed as an API to enhance the user experience with their service.
FAQs
A Node.js module to interact with fakemailgenerator.com.
The npm package fake-mail-generator receives a total of 0 weekly downloads. As such, fake-mail-generator popularity was classified as not popular.
We found that fake-mail-generator demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
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.
Security News
npm now supports Trusted Publishing with OIDC, enabling secure package publishing directly from CI/CD workflows without relying on long-lived tokens.
Research
/Security News
A RubyGems malware campaign used 60 malicious packages posing as automation tools to steal credentials from social media and marketing tool users.
Security News
The CNA Scorecard ranks CVE issuers by data completeness, revealing major gaps in patch info and software identifiers across thousands of vulnerabilities.