credit card type detection and client-side validation for Ember.js apps
MIT License
This README outlines the details of collaborating on this Ember addon.
Credit card type
<span class="logo {{cc-number-to-type ccNumber allowedTypes='visa|mastercard|amex|discover'}}"></span>
Credit card validity
{{#if (cc-luhn ccNumber)}}
This card is valid
{{else}}
This card is invalid
{{/if}}
Install this addon with ember-cli ember install ember-creditcard
git clone
this repositorynpm install
bower install
ember server
ember test
ember test --server
ember build
For more information on using ember-cli, visit http://www.ember-cli.com/.
Copyright (c) 2015 Levanto Financial, 2016-18 Mike Works, Inc., All Rights Reserved