Small structured terminal logger for JavaScript and TypeScript.
npmlog is no longer supported. This package provides quiet, level-based terminal logging with npm-style level helpers and a machine-readable event hook.
npm install term-log-modernimport { createLogger } from "term-log-modern";
const log = createLogger({ level: "info" });
log.info("install", "starting");
log.warn("cache", "miss");createLogger(options?)logger.silly|verbose|info|warn|error(prefix, message, meta?)logger.log(level, prefix, message, meta?)logger.onLog(listener)
term-log-modern is an independent alternative or migration helper for projects moving away from npmlog. It is not affiliated with the original package maintainers or project.
For release context, see the local migration guide, examples, compatibility notes, source metadata, and adoption plan.