UNPKG

disposable-email-domains

Version:

A list of [disposable email domains](http://en.wikipedia.org/wiki/Disposable_email_address) like `mailinator.com`. You can use it to detect or block disposable accounts in your signup process. Exact domain matches are found in [index.json](https://github.

16 lines (15 loc) 418 B
/* Check if all the elements are in lowercase */ module.exports = function (chai) { chai.Assertion.addProperty('lowercase', function () { var obj = this._obj, _this = this; obj.forEach(function(o){ _this.assert( o === o.toLowerCase() , 'expected "' + o + '" to be all lowercase' , 'expected "' + o + '" to not be all lowercase' ); }); }); };