ember-creditcard

1.0.1 • Public • Published

ember-creditcard

Build Status Code Climate

This README outlines the details of collaborating on this Ember addon.

Usage

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}}
 

Setup

Install this addon with ember-cli ember install ember-creditcard

Installation

  • git clone this repository
  • npm install
  • bower install

Running

Running Tests

  • ember test
  • ember test --server

Building

  • 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

Readme

Keywords

Package Sidebar

Install

npm i ember-creditcard

Weekly Downloads

4

Version

1.0.1

License

MIT

Unpacked Size

11 kB

Total Files

20

Last publish

Collaborators

  • mike-north-bot
  • northm