log-symbols provides colored symbols for different log levels, such as info, success, warning, and error. It includes fallbacks for Windows CMD terminals that only support a limited character set, helping you display consistent log output across environments.
Project status
- Actively maintained, with recent updates on GitHub (last push 2025-05-21, including a follow-on update v7.0.1 on the same day).
- Apparent cadence is roughly annual since the major v7.0.0 update (2024-08-17) and a later same-month patch (v7.0.1 on 2025-05-21), suggesting normal evolution with periodic maintenance.
AI summary generated Today
Recent updates
v7.0.1
5/21/2025Release v7.0.1 makes a targeted correction to the Unicode error symbol used by the library. The update changes the exported `error` character when Unicode is supported and adjusts tests accordingly.
v7.0.0
8/17/2024v7.0.0 replaces `chalk` with `yoctocolors` and restructures the package to be more tree-shakeable. The implementation also splits symbol generation into new `symbols.js` (node) and `browser-symbols.js` (browser) modules and updates several dependency versions.
BreakingFeaturesv6.0.0
10/22/2023v6.0.0 primarily upgrades the package metadata and toolchain requirements. It documents a Node.js engine bump to require Node 18 and adds an `exports.types` entry for type resolution.
BreakingFeaturesv5.1.0
12/4/2021v5.1.0 makes a small internal formatting update and refreshes project dependencies. The release notes only say “Upgrade dependencies”, but the code diff also changes the CI Node.js test matrix and bumps several dependencies across major versions.
v5.0.0
4/18/2021log-symbols v5.0.0 upgrades the package to run on Node.js 12+ and converts the published package to pure ESM. The codebase switches from CommonJS require/module.exports to ES module imports and default exports.
Breakingv4.1.0
3/17/2021v4.1.0 changes how log-symbols determines whether to render Unicode symbols versus fallback ASCII symbols. It replaces the previous platform/CI/TERM heuristic with a dedicated unicode-support detection dependency.
v4.0.0
4/26/2020v4.0.0 primarily raises the minimum supported Node.js version to 10 and updates the project dependency/tooling stack. The release notes mention the Node requirement and a general dependency upgrade, but the diff shows a number of specific major version jumps that could affect runtime behavior (ANSI coloring) and developer workflows.
Breakingv3.0.0
4/17/2019v3.0.0 is a major release that updates the supported runtime. It also adds TypeScript type definitions to improve developer experience when using the package.
BreakingFeatures