Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

credit-card-brands

SamuelSlf6MIT0.0.4TypeScript support: included

Credit card brands is a simple project for ease of use credit card brands.

readme

Credit card brands

Credit card brands is a simple project for ease of use credit card brands.

Installation

npm install credit-card-brands --save

Usage

import { CreditCardBrandsModule } from 'credit-card-brands';
import { AppComponent } from './app.component';

@NgModule({
  imports: [BrowserModule, CreditCardBrandsModule],
  declarations: [AppComponent],
  bootstrap: [AppComponent]
})
export class AppModule {
}
<cc-brands width="32" brand="visa"></cc-brands>
Brands
visa
mastercard
elo
american-express
aura
hipercard