How to use burner-email-providers - 1 common examples

To help you get started, we’ve selected a few burner-email-providers examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github opencollective / opencollective-api / server / models / User.js View on Github external
isBurnerEmail: function(val) {
            if (isEmailBurner(val.toLowerCase()) && !emailLib.isWhitelistedDomain(val.toLowerCase())) {
              throw new Error(
                'This email provider is not allowed on Open Collective. If you think that it should be, please email us at support@opencollective.com.',
              );
            }
          },
        },

burner-email-providers

A list of burner email providers.

MIT
Latest version published 2 years ago

Package Health Score

49 / 100
Full package analysis

Popular burner-email-providers functions