# node-celik-api

> NodeJS Čelik API (Serbian ID Card Reader)

Latest version **1.0.4** (published 2024-03-02) · MIT license · 0 weekly downloads

## Install

```sh
npm install node-celik-api
pnpm add node-celik-api
yarn add node-celik-api
bun add node-celik-api
```

## 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.4 |
| Published | 2024-03-02 |
| First published | 2022-02-07 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 5 |
| Unpacked size | 8.7 MB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 2 |
| Author | Miloš Zivlak |
| Maintainers | zivlakmilos |
| Keywords | nodejs, celik, api, celik-api, id-card |

## Links

- npm: https://www.npmjs.com/package/node-celik-api
- Repository: https://github.com/zivlakmilos/nodejs-celik-api
- Homepage: https://github.com/zivlakmilos/nodejs-celik-api#readme
- Issues: https://github.com/zivlakmilos/nodejs-celik-api/issues
- npm.io page: https://npm.io/package/node-celik-api

## Dependencies (5)

- [upath](https://npm.io/package/upath.md) ^2.0.1
- [ffi-napi](https://npm.io/package/ffi-napi.md) ^4.0.3
- [ref-napi](https://npm.io/package/ref-napi.md) ^3.0.3
- [ref-array-di](https://npm.io/package/ref-array-di.md) ^1.2.2
- [ref-struct-di](https://npm.io/package/ref-struct-di.md) ^1.1.1

## 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.4 (latest) — 2024-03-02
- 1.0.3 — 2022-02-07
- 1.0.2 — 2022-02-07

## README

# node-celik-api

NodeJS Wrapper for Čelik API (Serbian ID Card Reader)

## Requirements

- Windows OS
- NodeJS

## Dependencies

- ffi-napi
- ref-array-di
- ref-napi
- ref-struct-di
- upath

## Instalation

`npm install node-celik-api`

## Ussage

```
const fs = require('fs');

const { CelikAPI } = require('./api');

const main = () => {
  const api = new CelikAPI();
  api.init();                   // Call Only Once

  const data = api.read();      // Read Data From Id Card
  console.log(data);

  fs.writeFileSync('./test.bmp', data.portrait);

  api.cleanup();                // Call Only Once
}

main();
```

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