# identity-card-methods

> Some ID card related methods.

Latest version **2.0.1** (published 2017-06-26) · MIT license · 0 weekly downloads

## Install

```sh
npm install identity-card-methods
pnpm add identity-card-methods
yarn add identity-card-methods
bun add identity-card-methods
```

## 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 | 2.0.1 |
| Published | 2017-06-26 |
| First published | 2017-06-26 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | aloneest |
| Maintainers | aloneest |
| Keywords | IDCard, IDCardRelated |

## Links

- npm: https://www.npmjs.com/package/identity-card-methods
- Repository: https://github.com/aloneest/identity-card-methods
- Homepage: https://github.com/aloneest/identity-card-methods#readme
- Issues: https://github.com/aloneest/identity-card-methods/issues
- npm.io page: https://npm.io/package/identity-card-methods

## Recent versions

- 2.0.1 (latest) — 2017-06-26
- 1.0.2 — 2017-06-26
- 1.0.1 — 2017-06-26
- 1.0.0 — 2017-06-26

## README

# identity-card-related-methods
Some ID card related methods.

npm install 'identity-card-methods'

```
var identityCardMethods = require('identity-card-methods')

// transfer IDCardNO's length from 15 to 18
identityCardMethods.IDCardNO15To18(IDCardNO);

// checke IDCardNO is legal.
identityCardMethods.checkeIDCardNO(IDCardNO);

```

If use ES2015

npm install 'identity-card-methods'

```
import { checkeIDCardNO, IDCardNO15To18 } from 'identity-card-methods';
```

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