@satheshsat/angular-creditcard
v0.0.4
Published
Creditcard generator and validator
Downloads
6
Maintainers
Readme
Creditcard
Install
npm install --save @satheshsat/angular-creditcard
Usage
import { Injectable } from '@angular/core';
import CreditcardService from '@satheshsat/angular-creditcard';
@Injectable({
providedIn: 'root'
})
export class ExampleService {
constructor(public creditcard: CreditcardService) {
creditcard.validateCard(creditcard.generateCard().cardNumber);
}
}
License
MIT © satheshsat