Package category
Logging
Structured logging, log transports and debug output.
635 packages13 comparisons
Packages compared
635 packages
| Package | Weekly downloads | 12-month change | 52 weeks | Gzip | Last release | Module | Types | Categories |
|---|---|---|---|---|---|---|---|---|
| debug Lightweight debugging utility for Node.js and the browser | 557.1m | +52% | - | 1 year ago 4.4.3 | CommonJS | None | Logging | |
| ansi-styles ANSI escape codes for styling strings in the terminal | 536.6m | +36% | - | 1 month ago 7.0.0 | ESM only | Bundled | CLI tools and terminal utilities, Logging | |
| chalk Terminal string styling done right | 411.5m | +34% | - | 1 month ago 6.0.0 | ESM only | Bundled | CLI tools and terminal utilities, Logging | |
| strip-ansi Strip ANSI escape codes from a string | 397m | +51% | - | 6 months ago 7.2.0 | ESM only | Bundled | CLI tools and terminal utilities, Logging | |
| wrap-ansi Wordwrap a string with ANSI escape codes | 316.8m | +62% | - | 4 days ago 10.0.2 | ESM only | Bundled | CLI tools and terminal utilities, Logging | |
| ansi-escapes ANSI escape codes for manipulating the terminal | 95m | +45% | - | 7 months ago 7.3.0 | ESM only | Bundled | CLI tools and terminal utilities, Logging | |
| slice-ansi Slice a string with ANSI escape codes | 84.5m | +55% | - | 6 days ago 9.0.1 | ESM only | Bundled | CLI 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 only | Bundled | Logging, 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 | CommonJS | Bundled | CLI tools and terminal utilities, Logging | |
| pino-abstract-transport Write Pino transports easily | 38.5m | +225% | - | 11 months ago 3.0.0 | CommonJS | Bundled | Logging | |
| pino super fast, all natural json logger | 35.2m | +193% | - | 7 months ago 10.3.1 | CommonJS | Bundled | Logging, 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 only | Bundled | CLI 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 | CommonJS | Bundled | Logging | |
| yoctocolors The smallest and fastest command-line coloring package on the internet | 28.1m | +491% | - | 1 month ago 2.2.0 | ESM only | Bundled | CLI 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 | CommonJS | Bundled | CLI tools and terminal utilities, Logging | |
| winston A logger for just about everything. | 19.3m | +35% | - | 9 months ago 3.19.0 | CommonJS | Bundled | Logging | |
| winston-transport Base stream implementations for winston@3 and up. | 18m | +46% | - | 1 year ago 4.9.0 | CommonJS | Bundled | Logging | |
| logform An mutable object-based log format designed for chaining & objectMode streams. | 18m | +39% | - | 1 year ago 2.7.0 | CommonJS | Bundled | Logging | |
| triple-beam Definitions of levels for logging purposes & shareable Symbol constants. | 17.6m | +43% | - | 3 years ago 1.4.1 | CommonJS | None | Logging | |
| bs-logger Bare simple logger for NodeJS | 16.7m | +9% | - | 7 years ago 0.2.6 | CommonJS | Bundled | Logging | |
| pino-pretty Prettifier for Pino log lines | 15.6m | +177% | - | 9 months ago 13.1.3 | CommonJS | Bundled | Logging | |
| @open-draft/logger Environment-agnostic, ESM-friendly logger for simple needs. | 14m | +194% | - | 3 years ago 0.3.0 | ESM + CommonJS | Bundled | Logging | |
| @azure/logger Microsoft Azure SDK for JavaScript - Logger | 13.6m | +93% | - | 2 months ago 1.4.0 | ESM + CommonJS | Bundled | Cloud 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 | CommonJS | Bundled | Monitoring and error tracking, Logging | |
| @slack/logger Logging utility used by Node Slack SDK | 9.7m | +211% | - | 2 months ago 5.0.0 | CommonJS | Bundled | Logging | |
| morgan HTTP request logger middleware for node.js | 9.6m | +67% | - | 14 days ago 1.12.1 | - | None | Logging, 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 | CommonJS | None | Logging | |
| roarr JSON logger for Node.js and browser. | 8.5m | +137% | - | 1 month ago 7.21.7 | CommonJS | Bundled | Logging, 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 only | None | Logging | |
| chalk-template Terminal string styling with tagged template literals | 8m | +97% | - | 1 year ago 1.1.2 | ESM only | Bundled | CLI tools and terminal utilities, Templating | |
| @opentelemetry/instrumentation-winston OpenTelemetry instrumentation for `winston` logger | 7.4m | +212% | - | 24 days ago 0.66.0 | CommonJS | Bundled | Monitoring and error tracking, Logging | |
| @opentelemetry/instrumentation-bunyan OpenTelemetry instrumentation for `bunyan` logger | 7.4m | +202% | - | 24 days ago 0.67.0 | CommonJS | Bundled | Monitoring and error tracking, Logging | |
| @opentelemetry/instrumentation-pino OpenTelemetry instrumentation for `pino` logger | 7.4m | +207% | - | 24 days ago 0.68.0 | CommonJS | Bundled | Monitoring and error tracking, Logging | |
| @expo/xcpretty Parse and format xcodebuild logs | 6.3m | +337% | - | 17 days ago 4.4.5 | CommonJS | Bundled | Linting and formatting, Logging | |
| log4js Port of Log4js to work with node. | 5.9m | -6% | - | 3 years ago 6.9.1 | CommonJS | Bundled | Logging | |
| 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 + CommonJS | Bundled | Logging, TypeScript tooling | |
| webpack-log A logger for the Webpack ecosystem | 3.2m | -27% | - | 5 years ago 3.0.2 | CommonJS | None | Logging, Bundlers | |
| bunyan a JSON logging library for node.js services | 2.9m | +35% | - | 5 years ago 1.8.15 | CommonJS | None | Logging | |
| loglevel-plugin-prefix Plugin for loglevel message prefixing | 2.5m | +38% | - | 8 years ago 0.8.4 | CommonJS | Bundled | Logging | |
| cli-color Colors, formatting and other tools for the console | 2.5m | +1% | - | 2 years ago 2.0.4 | - | None | CLI 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 | CommonJS | Bundled | Logging, 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 only | Bundled | CSS-in-JS and styling, Logging | |
| elegant-spinner Elegant spinner for interactive CLI apps | 2.1m | +18% | - | 5 years ago 3.0.0 | ESM only | None | CLI tools and terminal utilities, Logging | |
| @google-cloud/logging Cloud Logging Client Library for Node.js | 1.9m | -2% | - | 8 days ago 12.1.0 | CommonJS | Bundled | Cloud SDKs, Logging | |
| nestjs-pino Pino logger for NestJS | 1.9m | +186% | - | 10 days ago 5.2.0 | CommonJS | Bundled | Logging | |
| glogg Global logging utility | 1.8m | +4% | - | 2 years ago 2.2.0 | CommonJS | None | Logging | |
| gulplog Logger for gulp and gulp plugins | 1.8m | +6% | - | 2 years ago 2.2.0 | CommonJS | Bundled | Logging | |
| ansi-gray The color gray, in ansi. | 1.8m | -8% | - | 11 years ago 0.1.1 | CommonJS | None | CLI tools and terminal utilities, Logging | |
| tslog Extensible TypeScript Logger for Node.js and Browser. | 1.7m | +909% | - | 14 days ago 5.2.0 | ESM only | Bundled | Logging, 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.
- debugLightweight debugging utility for Node.js and the browser
- ansi-stylesANSI escape codes for styling strings in the terminal
- chalkTerminal string styling done right
- strip-ansiStrip ANSI escape codes from a string
- wrap-ansiWordwrap a string with ANSI escape codes
- ansi-escapesANSI escape codes for manipulating the terminal
- slice-ansiSlice a string with ANSI escape codes
- log-symbolsColored symbols for various log levels. Example: `✔︎ Success`
- ansi-colorsEasily 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).
- pino-abstract-transportWrite Pino transports easily
- pinosuper fast, all natural json logger
- log-updateLog by overwriting the previous output in the terminal. Useful for rendering progress bars, animations, etc.
- pino-std-serializersA collection of standard object serializers for Pino
- yoctocolorsThe smallest and fastest command-line coloring package on the internet
- yoctocolors-cjsCommonJS version - The smallest and fastest command-line coloring package on the internet
- winstonA logger for just about everything.
- winston-transportBase stream implementations for winston@3 and up.
- logformAn mutable object-based log format designed for chaining & objectMode streams.
- triple-beamDefinitions of levels for logging purposes & shareable Symbol constants.
- bs-loggerBare simple logger for NodeJS
- pino-prettyPrettifier for Pino log lines
- @open-draft/loggerEnvironment-agnostic, ESM-friendly logger for simple needs.
- @azure/loggerMicrosoft Azure SDK for JavaScript - Logger
- @opentelemetry/exporter-logs-otlp-grpcOpenTelemetry Collector Exporter allows user to send collected log records to the OpenTelemetry Collector
- @slack/loggerLogging utility used by Node Slack SDK
- morganHTTP request logger middleware for node.js
- abstract-loggingA noop logger that conforms to the Log4j interface for modules to stub out internal logging
- roarrJSON logger for Node.js and browser.
- git-raw-commitsGet raw git commits out of your repository using git-log(1).
- chalk-templateTerminal string styling with tagged template literals
- @opentelemetry/instrumentation-winstonOpenTelemetry instrumentation for `winston` logger
- @opentelemetry/instrumentation-bunyanOpenTelemetry instrumentation for `bunyan` logger
- @opentelemetry/instrumentation-pinoOpenTelemetry instrumentation for `pino` logger
- @expo/xcprettyParse and format xcodebuild logs
- log4jsPort of Log4js to work with node.
- ts-logAbstract logger TypeScript interface with a dummy logger that does nothing, useful for libraries.
- webpack-logA logger for the Webpack ecosystem
- bunyana JSON logging library for node.js services
- loglevel-plugin-prefixPlugin for loglevel message prefixing
- cli-colorColors, formatting and other tools for the console
- stacktraceyParses call stacks. Reads sources. Clean & filtered output. Sourcemaps. Node & browsers.
- @csstools/postcss-exponential-functionsUse pow(), sqrt(), hypot(), log(), exp() exponential functions in CSS
- elegant-spinnerElegant spinner for interactive CLI apps
- @google-cloud/loggingCloud Logging Client Library for Node.js
- nestjs-pinoPino logger for NestJS
- gloggGlobal logging utility
- gulplogLogger for gulp and gulp plugins
- ansi-grayThe color gray, in ansi.
- tslogExtensible TypeScript Logger for Node.js and Browser.
- @logdna/tail-fileA node.js version of unix's `tail -f` command