@satheshsat/angular-creditcard
TypeScript icon, indicating that this package has built-in type declarations

0.0.4 • Public • Published

Creditcard

NPM JavaScript Style Guide

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

Package Sidebar

Install

npm i @satheshsat/angular-creditcard

Weekly Downloads

0

Version

0.0.4

License

MIT

Unpacked Size

156 kB

Total Files

16

Last publish

Collaborators

  • satheshsat