# @ondkloss/kid-util

> Module for making and verifying KID numbers

Latest version **1.0.3** (published 2019-04-27) · WTFPL license · 0 weekly downloads

> **Deprecated.** This package is deprecated.

## Install

```sh
npm install @ondkloss/kid-util
pnpm add @ondkloss/kid-util
yarn add @ondkloss/kid-util
bun add @ondkloss/kid-util
```

## Health

**Score 10/100 (F)** — status: deprecated.

Negative: deprecated.

## Facts

| | |
|---|---|
| Version | 1.0.3 |
| Published | 2019-04-27 |
| First published | 2019-04-27 |
| Weekly downloads | 0 |
| License | WTFPL |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 8.1 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Halvor Holsten Strand |
| Maintainers | ondkloss |
| Keywords | kid |

## Links

- npm: https://www.npmjs.com/package/@ondkloss/kid-util
- Repository: https://github.com/Ondkloss/kid-util.js
- Homepage: https://github.com/Ondkloss/kid-util.js#readme
- Issues: https://github.com/Ondkloss/kid-util.js/issues
- npm.io page: https://npm.io/package/@ondkloss/kid-util

## Alternatives

- [@sindresorhus/slugify](https://npm.io/package/@sindresorhus/slugify.md) — 3.7M weekly downloads
- [solid-js](https://npm.io/package/solid-js.md) — 2.7M weekly downloads
- [expo-glass-effect](https://npm.io/package/expo-glass-effect.md) — 2.5M weekly downloads
- [nanoassert](https://npm.io/package/nanoassert.md) — 780.8K weekly downloads
- [@ffmpeg/ffmpeg](https://npm.io/package/@ffmpeg/ffmpeg.md) — 529.5K weekly downloads

## Recent versions

- 1.0.3 (latest) — 2019-04-27

## README

# KID util

Simple utils to generate and verify KID numbers with either MOD10 or MOD11.

## Installation

To install from NPM as a package in your environment:

    npm install @ondkloss/kid-util

## Code usage from installation

Example code usages after installation:

    > const kid = require('@ondkloss/kid-util');
    undefined
    > kid.make('1234');
    '12344'
    > kid.make('1234', 'MOD11');
    '12343'
    > kid.verify('12344');
    true
    > kid.verify('12343', 'MOD11');
    true

## Testing from source

To run the tests:

    mocha

Or:

    npm test

## Distribution

The distribution was created by the following commands:

    npm publish --access public

## Notes

This repo is a JavaScript port of my Python [kid-util](https://github.com/Ondkloss/kid-util) repo.

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