isValid is exported as validate
WaldoJeffers opened this issue · comments
Hello,
This seems to be a very nice library. I was about to create one with the same purpose before stumbling upon french-ssn
. The README documents a isValid
function, but the library exports a validate
function. This will be easy to fix but it can confuse newcomers ^^
Sorry for not answering earlier, I was on holiday. This is a very good point, want to make a PR? Also, don't hesitate creating issues for things that might be missing in this package, i'll be glad to have a look into it.
@aymericbouzy Sure! Which name do you want to keep? isValid
or validate
?
I think it's better not to break anything : only editing the documentation seems a better choice. Therefore I would keep validate
.
Sure, fix is in #2