Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

reserved-email-addresses-list

Package Overview
Dependencies
Maintainers
1
Versions
29
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

reserved-email-addresses-list

List of 1250+ email addresses reserved for security concerns

  • 0.0.3
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
721
increased by39.73%
Maintainers
1
Weekly downloads
 
Created
Source

reserved-email-addresses-list

build status code coverage code style styled with prettier made with lass license npm downloads

List of 1250+ email addresses reserved for security concerns

Table of Contents

Install

npm:

npm install reserved-email-addresses-list

yarn:

yarn add reserved-email-addresses-list

Usage

The string you are comparing with must be converted to lowercase, trimmed of whitespace, and strictly converted to alphanumeric characters only.

It is also highly recommended that you check for strict equality, starts with, and ends with comparisons as well.

const reservedEmailAddressesList = require('reserved-email-addresses-list');

const str = 'Admin***!!!'.toLowerCase().replace(/[^0-9a-z]/g, '');
const match = reservedEmailAddresssesList.find(addr => addr === str || str.startsWith(addr) || str.endsWith(addr)))

if (match) throw new Error(`${str} matched a reserved email address of ${match}`);

List

See index.json for the complete list of all reserved email addresses.

References

Contributors

NameWebsite
Nick Baughhttp://niftylettuce.com/

License

MIT © Nick Baugh

Keywords

FAQs

Package last updated on 27 Jan 2020

Did you know?

Socket

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc