JamesEggers1 / luhn

A JavaScript module of the luhn algorithm for Credit Card Validation that works with both client-side JavaScript and Node.js
MIT License
52 stars 17 forks source link

Added UMD support, wrapped module logic in a class. #11

Closed ghost closed 5 years ago

ghost commented 8 years ago
davesag commented 5 years ago

How does wrapping it in a class afford better maintenance? It's javascript. Simpler is better.