There is bug when using 'min' and 'max' options at the same time.
The method 'check' keep returning false although the password is correct.
I have found an 'options.ran' in 'create' method. Should that 'min', isn't it?
function create(options) { ... if (isNumber(options.min) && isNumber(options.max)) { regex += lengthOptions.range.replace('min', options.ran).replace('max', options.max); ... }
Thanks,
Minh