# kerium

> POSIX-style errors, logging, and more

Latest version **1.5.0** (published 2026-09-07) · MIT license · 0 weekly downloads

## Install

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

## Health

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

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

Warnings: low downloads.

## Facts

| | |
|---|---|
| Version | 1.5.0 |
| Published | 2026-09-07 |
| First published | 2025-03-25 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 1 |
| Unpacked size | 58.8 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Provenance | attested (GitHub Actions) |
| GitHub stars | 3 |
| Author | James Prevett |
| Maintainers | james-pre |

## Links

- npm: https://www.npmjs.com/package/kerium
- Repository: https://github.com/james-pre/kerium
- Homepage: https://github.com/james-pre/kerium#readme
- Issues: https://github.com/james-pre/kerium/issues
- Funding: https://github.com/sponsors/james-pre
- npm.io page: https://npm.io/package/kerium

## Dependencies (1)

- [utilium](https://npm.io/package/utilium.md) ^3.0.0

## Recent versions

- 1.5.0 (latest) — 2026-09-07
- 1.4.4 — 2026-09-01
- 1.4.3 — 2026-09-01
- 1.4.2 — 2026-07-25
- 1.4.1 — 2026-07-24
- 1.4.0 — 2026-07-24
- 1.3.9 — 2026-04-02
- 1.3.8 — 2025-10-29
- 1.3.7 — 2025-10-13
- 1.3.6 — 2025-07-31
- 1.3.5 — 2025-04-26
- 1.3.4 — 2025-03-28
- 1.3.3 — 2025-03-28
- 1.3.2 — 2025-03-28
- 1.3.1 — 2025-03-28
- … 8 more at https://npm.io/package/kerium/versions

## README

# Kerium

Kerium is a small library containing some POSIX-style code.
The focus is on providing shared utilities for other projects.

# Logging

Kerium exposes a flexible logging API that uses the same levels as syslog.

# Errors

The entire set of POSIX errnos are exposed through the `Errno` enum.
The `ErrnoException` class extends the built-in `Error` with errnos, and provides JSON functionality.
You can use `strerror` to get a human-readable description of an errno.

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