Closed WaldoJeffers closed 6 years ago
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 https://github.com/aymericbouzy/french-ssn/pull/2
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 aisValid
function, but the library exports avalidate
function. This will be easy to fix but it can confuse newcomers ^^