npm.io
1.4.4 • Published 3d ago

kerium

Licence
MIT
Version
1.4.4
Deps
1
Size
55 kB
Vulns
0
Weekly
0
Stars
3

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.