This is an alternative site for discovering Elm packages. You may be looking for the official Elm package site instead.
Determine the brand of a credit card number
version 0.9.2
license BSD-3-Clause
native-modules False
elm-version 0.18.0 <= v < 0.19.0
Tag 0.9.2
Committed At 2018-06-08 18:03:18 UTC
ersocon/creditcard-validation 1.0.1 <= v < 2.0.0 1.0.1
elm-lang/core 5.1.1 <= v < 6.0.0 5.1.1



Determine the brand of a credit card number. Supports American Express (AM), Discover (DS), Diners Club (DC), Mastercard (MC) and VISA (VI). Allows you to dynamically limit the accepted card types. For example, if your business only accepts Mastercard and Visa you can limit the valid cards to those types.


  • ersocon/creditcard-validation


See test modules for examples.


We use SemVer for versioning. For the versions available, see the tags on this repository


This project is licensed under the BSD 3-clause "New" or "Revised" license - see the file for details.


  • Subrata Das - Initial work - sd0s