Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/zimme/meteor-luhn

Luhn validation for Meteor
https://github.com/zimme/meteor-luhn

Last synced: about 2 months ago
JSON representation

Luhn validation for Meteor

Awesome Lists containing this project

README

        

[![Gitter](https://img.shields.io/badge/gitter-join_chat-brightgreen.svg)]
(https://gitter.im/zimme/meteor-luhn)
[![Code Climate](https://img.shields.io/codeclimate/github/zimme/meteor-luhn.svg)]
(https://codeclimate.com/github/zimme/meteor-luhn)
[![Travis](https://img.shields.io/travis/zimme/meteor-luhn.svg)]
(https://travis-ci.org/zimme/meteor-luhn)

# Luhn validation

### Install
```sh
meteor add zimme:luhn
```

### Usage
```js
var validVisaCardNumber = '4929165942273997';

var isValid = Luhn.validate(validVisaCardNumber);
```