Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
vigneshkb7 authored Jun 30, 2023
1 parent d71e913 commit aaa4705
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,10 +56,12 @@ currently it supports

```
![Alt](https://repobeats.axiom.co/api/embed/dd36319fddc491ec42260b34789b3ab42a1645a8.svg "Repobeats analytics image")
const { detectCardType } = require("card-validator-utils");
var cardType = detectCardType(cardNumber);
console.log(cardType); // Output: diners club
```

![Alt](https://repobeats.axiom.co/api/embed/dd36319fddc491ec42260b34789b3ab42a1645a8.svg "Repobeats analytics image")

0 comments on commit aaa4705

Please sign in to comment.