cipher-logger
| Install | |
|---|---|
npm install cipher-logger |
|
| Latest Version: | 1.5.1 |
| Vue: | 3 |
| License: | BSD-3-Clause |
| Last Updated: | Sep 19, 2026 |
| Links: | GitHub · npm |
Cipher Logger
See every request. Capture every error. Understand your application.
Cipher Logger is a lightweight, production-ready HTTP request logging library for Node.js. It captures every request with adapters for Express, Next.js, Fastify, Hono, NestJS, and Nuxt, with full control over which fields get logged.
Highlights
- TypeScript-first, fully typed API
- Configurable fields — required fields always logged, optional fields opt-in
- Framework adapters via subpath imports (
cipher-logger/express,cipher-logger/next, …) - Zero heavy dependencies — only your framework as an optional peer dependency
- Node.js 18+
Installation
npm install cipher-logger
# or
pnpm add cipher-logger
# or
yarn add cipher-logger
Quick Start
import { createCipherLogger } from "cipher-logger";
import { createExpressMiddleware } from "cipher-logger/express";
const cipher = createCipherLogger({
fields: { ip: true, userAgent: true, query: true },
level: "info",
});
app.use(createExpressMiddleware(cipher));
// or: app.use(cipher.express());
Documentation
Full documentation — configuration reference, framework guides, log schema, API reference, and architecture — lives on the docs site:
| Resource | URL |
|---|---|
| Npm Package | npmjs.com |
| Documentation | cipherunits.github.io/CipherLogger |
| GitHub Org | github.com/cipherunits |
Contributing
Contributions are welcome.
- Check open issues before opening a new one
- Fork the repo and create a branch:
git checkout -b feature/my-feature - Follow Conventional Commits for commit messages
- Run
pnpm run buildbefore submitting - Open a Pull Request
See the full contributing guide on the docs site for details.
License
Made with ❤️ for developers by CipherUnits
Related Packages
Nabız Hub için Node.js raporlayıcı — sunucu hataları, SSR hataları, yavaş istekl...
OpenTelemetry instrumentation for Node.js, Next.js, and Nuxt - Send traces and l...
Modern TypeScript logger — simple logs, wide events, structured errors. Built fo...
Generate a complete Postman collection from your Node.js, Bun or Deno API (Expre...
Universal FaultScope SDK for Node.js, Express, Fastify, Koa, NestJS, Next.js, Nu...
Version History
| Version | Released | Vue | License |
|---|---|---|---|
| 1.5.1 | ^3.0 | BSD-3-Clause | |
| 1.4.0 | ^3.0 | BSD-3-Clause | |
| 1.3.0 | >=3 | BSD-3-Clause | |
| 1.2.0 | BSD-3-Clause | ||
| 1.1.0 | BSD-3-Clause | ||
| 1.0.0 | BSD-3-Clause | ||
| 0.1.3 | BSD-3-Clause | ||
| 0.1.2 | BSD-3-Clause | ||
| 0.1.1 | BSD-3-Clause | ||
| 0.1.0 | BSD-3-Clause | ||
| 0.0.1 | ISC |