cipher-logger

See every request. Capture every error. Understand your application.
955 2
Install
npm install cipher-logger
Latest Version:1.5.1
Vue:3
License:BSD-3-Clause
Last Updated:Sep 19, 2026
Links: GitHub  ·  npm
Maintainer: cipherunits

Cipher Logger

Cipher Logger

See every request. Capture every error. Understand your application.

npm version license node version typescript


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.

  1. Check open issues before opening a new one
  2. Fork the repo and create a branch: git checkout -b feature/my-feature
  3. Follow Conventional Commits for commit messages
  4. Run pnpm run build before submitting
  5. Open a Pull Request

See the full contributing guide on the docs site for details.

License

BSD-3-Clause © Cipher Unit






Made with ❤️ for developers by CipherUnits

Related Packages

@allturko/nabiz-node

Nabız Hub için Node.js raporlayıcı — sunucu hataları, SSR hataları, yavaş istekl...

1,336 0
securenow

OpenTelemetry instrumentation for Node.js, Next.js, and Nuxt - Send traces and l...

20,297 0
evlog

Modern TypeScript logger — simple logs, wide events, structured errors. Built fo...

6,068,041 1,896
routeman-cli

Generate a complete Postman collection from your Node.js, Bun or Deno API (Expre...

370 0
@faultscope/node

Universal FaultScope SDK for Node.js, Express, Fastify, Koa, NestJS, Next.js, Nu...

0 0

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