Skip to content
JS
Package category

Logging

Structured logging, log transports and debug output.

635 packages13 comparisons

Packages compared

635 packages
PackageWeekly downloads12-month change52 weeksGzipLast releaseModuleTypesCategories
debug
Lightweight debugging utility for Node.js and the browser
557.1m+52%-1 year ago
4.4.3
CommonJSNoneLogging
ansi-styles
ANSI escape codes for styling strings in the terminal
536.6m+36%-1 month ago
7.0.0
ESM onlyBundledCLI tools and terminal utilities, Logging
chalk
Terminal string styling done right
411.5m+34%-1 month ago
6.0.0
ESM onlyBundledCLI tools and terminal utilities, Logging
strip-ansi
Strip ANSI escape codes from a string
397m+51%-6 months ago
7.2.0
ESM onlyBundledCLI tools and terminal utilities, Logging
wrap-ansi
Wordwrap a string with ANSI escape codes
316.8m+62%-4 days ago
10.0.2
ESM onlyBundledCLI tools and terminal utilities, Logging
ansi-escapes
ANSI escape codes for manipulating the terminal
95m+45%-7 months ago
7.3.0
ESM onlyBundledCLI tools and terminal utilities, Logging
slice-ansi
Slice a string with ANSI escape codes
84.5m+55%-6 days ago
9.0.1
ESM onlyBundledCLI tools and terminal utilities, Logging
log-symbols
Colored symbols for various log levels. Example: `✔︎ Success`
76.2m+78%-1 year ago
7.0.1
ESM onlyBundledLogging, CLI tools and terminal utilities
ansi-colors
Easily add ANSI colors to your text and symbols in the terminal. A faster drop-in replacement for chalk, kleur and turbocolor (without the dependencies and rendering bugs).
45.7m+39%-4 years ago
4.1.3
CommonJSBundledCLI tools and terminal utilities, Logging
pino-abstract-transport
Write Pino transports easily
38.5m+225%-11 months ago
3.0.0
CommonJSBundledLogging
pino
super fast, all natural json logger
35.2m+193%-7 months ago
10.3.1
CommonJSBundledLogging, Parsers and serialisers
log-update
Log by overwriting the previous output in the terminal. Useful for rendering progress bars, animations, etc.
31.5m+31%-5 months ago
8.0.0
ESM onlyBundledCLI tools and terminal utilities, Logging
pino-std-serializers
A collection of standard object serializers for Pino
31.3m+178%-8 months ago
7.1.0
CommonJSBundledLogging
yoctocolors
The smallest and fastest command-line coloring package on the internet
28.1m+491%-1 month ago
2.2.0
ESM onlyBundledCLI tools and terminal utilities, Logging
yoctocolors-cjs
CommonJS version - The smallest and fastest command-line coloring package on the internet
21.5m+94%-1 year ago
2.1.3
CommonJSBundledCLI tools and terminal utilities, Logging
winston
A logger for just about everything.
19.3m+35%-9 months ago
3.19.0
CommonJSBundledLogging
winston-transport
Base stream implementations for winston@3 and up.
18m+46%-1 year ago
4.9.0
CommonJSBundledLogging
logform
An mutable object-based log format designed for chaining & objectMode streams.
18m+39%-1 year ago
2.7.0
CommonJSBundledLogging
triple-beam
Definitions of levels for logging purposes & shareable Symbol constants.
17.6m+43%-3 years ago
1.4.1
CommonJSNoneLogging
bs-logger
Bare simple logger for NodeJS
16.7m+9%-7 years ago
0.2.6
CommonJSBundledLogging
pino-pretty
Prettifier for Pino log lines
15.6m+177%-9 months ago
13.1.3
CommonJSBundledLogging
@open-draft/logger
Environment-agnostic, ESM-friendly logger for simple needs.
14m+194%-3 years ago
0.3.0
ESM + CommonJSBundledLogging
@azure/logger
Microsoft Azure SDK for JavaScript - Logger
13.6m+93%-2 months ago
1.4.0
ESM + CommonJSBundledCloud SDKs, Logging
@opentelemetry/exporter-logs-otlp-grpc
OpenTelemetry Collector Exporter allows user to send collected log records to the OpenTelemetry Collector
13.5m+323%-24 days ago
0.222.0
CommonJSBundledMonitoring and error tracking, Logging
@slack/logger
Logging utility used by Node Slack SDK
9.7m+211%-2 months ago
5.0.0
CommonJSBundledLogging
morgan
HTTP request logger middleware for node.js
9.6m+67%-14 days ago
1.12.1
-NoneLogging, HTTP servers and web frameworks
abstract-logging
A noop logger that conforms to the Log4j interface for modules to stub out internal logging
9.3m+230%-5 years ago
2.0.1
CommonJSNoneLogging
roarr
JSON logger for Node.js and browser.
8.5m+137%-1 month ago
7.21.7
CommonJSBundledLogging, Parsers and serialisers
git-raw-commits
Get raw git commits out of your repository using git-log(1).
8m+30%-6 months ago
5.0.1
ESM onlyNoneLogging
chalk-template
Terminal string styling with tagged template literals
8m+97%-1 year ago
1.1.2
ESM onlyBundledCLI tools and terminal utilities, Templating
@opentelemetry/instrumentation-winston
OpenTelemetry instrumentation for `winston` logger
7.4m+212%-24 days ago
0.66.0
CommonJSBundledMonitoring and error tracking, Logging
@opentelemetry/instrumentation-bunyan
OpenTelemetry instrumentation for `bunyan` logger
7.4m+202%-24 days ago
0.67.0
CommonJSBundledMonitoring and error tracking, Logging
@opentelemetry/instrumentation-pino
OpenTelemetry instrumentation for `pino` logger
7.4m+207%-24 days ago
0.68.0
CommonJSBundledMonitoring and error tracking, Logging
@expo/xcpretty
Parse and format xcodebuild logs
6.3m+337%-17 days ago
4.4.5
CommonJSBundledLinting and formatting, Logging
log4js
Port of Log4js to work with node.
5.9m-6%-3 years ago
6.9.1
CommonJSBundledLogging
ts-log
Abstract logger TypeScript interface with a dummy logger that does nothing, useful for libraries.
4.8m+68%-1 month ago
3.0.3
ESM + CommonJSBundledLogging, TypeScript tooling
webpack-log
A logger for the Webpack ecosystem
3.2m-27%-5 years ago
3.0.2
CommonJSNoneLogging, Bundlers
bunyan
a JSON logging library for node.js services
2.9m+35%-5 years ago
1.8.15
CommonJSNoneLogging
loglevel-plugin-prefix
Plugin for loglevel message prefixing
2.5m+38%-8 years ago
0.8.4
CommonJSBundledLogging
cli-color
Colors, formatting and other tools for the console
2.5m+1%-2 years ago
2.0.4
-NoneCLI tools and terminal utilities, Logging
stacktracey
Parses call stacks. Reads sources. Clean & filtered output. Sourcemaps. Node & browsers.
2.4m+102%-6 months ago
2.2.0
CommonJSBundledLogging, Parsers and serialisers
@csstools/postcss-exponential-functions
Use pow(), sqrt(), hypot(), log(), exp() exponential functions in CSS
2.2m+70%-12 days ago
3.0.6
ESM onlyBundledCSS-in-JS and styling, Logging
elegant-spinner
Elegant spinner for interactive CLI apps
2.1m+18%-5 years ago
3.0.0
ESM onlyNoneCLI tools and terminal utilities, Logging
@google-cloud/logging
Cloud Logging Client Library for Node.js
1.9m-2%-8 days ago
12.1.0
CommonJSBundledCloud SDKs, Logging
nestjs-pino
Pino logger for NestJS
1.9m+186%-10 days ago
5.2.0
CommonJSBundledLogging
glogg
Global logging utility
1.8m+4%-2 years ago
2.2.0
CommonJSNoneLogging
gulplog
Logger for gulp and gulp plugins
1.8m+6%-2 years ago
2.2.0
CommonJSBundledLogging
ansi-gray
The color gray, in ansi.
1.8m-8%-11 years ago
0.1.1
CommonJSNoneCLI tools and terminal utilities, Logging
tslog
Extensible TypeScript Logger for Node.js and Browser.
1.7m+909%-14 days ago
5.2.0
ESM onlyBundledLogging, TypeScript tooling
@logdna/tail-file
A node.js version of unix's `tail -f` command
1.7m+179%-2 years ago
4.0.2
--Logging

12-month change compares the average of the last 4 weeks of downloads with the first 4 weeks of the 52-week series. Gzip size is for the whole package, as measured by Bundlephobia. "-" means the value has not been fetched.