@seedalpha/whitelist

database of target audience domains, with simple checking function

Usage no npm install needed!

<script type="module">
  import seedalphaWhitelist from 'https://cdn.skypack.dev/@seedalpha/whitelist';
</script>

README

Seed Whitelist

Module for storing target audience domains in a whitelist, and a function to check if email is in the whitelist

Changelog

1.0.0:

  • init

Usage

var whitelist = require('seed-whitelist);

var email = 'abc@gmail.com';

if (whitelist(email)) { console.log('this is whitelisted'); }

Authors

Marvin Lam lam@seedalpha.net

License

©2015 Seedalpha