# peeknik

> Take a peek at the NIK details

Latest version **0.1.0** (published 2026-08-28) · Apache-2.0 license · 0 weekly downloads

## Install

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

## Health

**Score 65/100 (B)** — status: active.

Positive: has types; no vulnerabilities; recently updated; high maintenance score; high quality score.

Warnings: low downloads; no esm support; pre 1.0.

## Facts

| | |
|---|---|
| Version | 0.1.0 |
| Published | 2026-08-28 |
| First published | 2023-03-13 |
| Weekly downloads | 0 |
| License | Apache-2.0 |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 259.9 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 2 |
| Author | Suluh S |
| Maintainers | sooluh |
| Keywords | nik, ktp, indonesia, nik-parser |

## Links

- npm: https://www.npmjs.com/package/peeknik
- Repository: https://github.com/qopiku/peeknik
- Homepage: https://github.com/qopiku/peeknik#readme
- Issues: https://github.com/qopiku/peeknik/issues
- npm.io page: https://npm.io/package/peeknik

## Recent versions

- 0.1.0 (latest) — 2026-08-28
- 0.0.4 — 2023-03-13
- 0.0.3 — 2023-03-13
- 0.0.2 — 2023-03-13
- 0.0.1 — 2023-03-13

## README

# piknik <sub><sup>/pik·nik/</sup></sub> _verb_

Peeknik can be read as "piknik" in Indonesian,
which means traveling somewhere outside the city to
hav fun with food and so on.

Peeknik in English can mean to peek, and NIK is
Nomor Induk Kependudukan, or National Identity Card
Number.

# Install

Install with your favorite package manager.

```bash
npm i peeknik
```

This will add the latest peeknik release as a
module to your project.

# Usage

For very easy usage, just call the function, and
we'll return an object.

```typescript
// const peeknik = require('peeknik')
import peeknik from 'peeknik'

// just a random sample!
const nik = '3327081203970040'
// you can use string or number data type

const data = peeknik(nik)
// {
//   "valid": true,
//   "province": "JAWA TENGAH",
//   "region": "KAB. PEMALANG",
//   "district": "PEMALANG",
//   "gender": "M",
//   "dob": "1997-03-12", // WIB calendar date (GMT+7)
//   "unique": "0040"
// }
```

# License

Code licensed under [Apache 2.0 License](./LICENSE).

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