# loohn

> A package implementing LUHN Algorithm to validate a Credit Card Number.

Latest version **1.0.0** (published 2022-02-11) · MIT license · 0 weekly downloads

## Install

```sh
npm install loohn
pnpm add loohn
yarn add loohn
bun add loohn
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.0 |
| Published | 2022-02-11 |
| First published | 2022-02-11 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 1.8 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Anoop Sivadas |
| Maintainers | toanoop80 |

## Links

- npm: https://www.npmjs.com/package/loohn
- npm.io page: https://npm.io/package/loohn

## Recent versions

- 1.0.0 (latest) — 2022-02-11

## README

# Loohn - A LUHN algorithm implementation for validating the Credit Card number given is a LUHN number.

Installation / requirements
npm install loon

Using the package 

```js
//First Require the package, this will import the loon.js object 
const luhn = require('loohn');
//Use the loonChek function,give the 16digit credit card number . The card number can //be stored in the array or can be directly given, see below
luhn.loonChek('4417123456789112')
const carray = [4,4,1,7,1,2,3,4,5,6,7,8,9,1,1,2];
luhn.loonChek(carray);
//the loonChek returns true(boolean) if the credit card number is a valid LUHN number as mentioned in the LUHN Algorithm , else it will return false(boolean)

```

---
_Source: https://npm.io/package/loohn · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
