# kid-util

> Module for making and verifying KID numbers

Latest version **1.0.5** (published 2019-05-11) · WTFPL license · 0 weekly downloads

## Install

```sh
npm install kid-util
pnpm add kid-util
yarn add kid-util
bun add kid-util
```

## 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.5 |
| Published | 2019-05-11 |
| First published | 2019-05-05 |
| Weekly downloads | 0 |
| License | WTFPL |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 8.2 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/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/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.5 (latest) — 2019-05-11
- 1.0.4 — 2019-05-05

## README

# KID util

[![Build Status](https://travis-ci.com/Ondkloss/kid-util.js.svg?branch=master)](https://travis-ci.com/Ondkloss/kid-util.js)

**Development moved to NPM package `norwegian-numbers`: [GitHub](https://github.com/Ondkloss/norwegian-numbers.js) [npm](https://www.npmjs.com/package/norwegian-numbers)**

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 kid-util

## Code usage from installation

Example code usages after installation:

    > const kid = require('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/kid-util · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
