console-timestamp

JSON →
library 0.3.0 ·javascript deprecated
verified Jun 4, 2026

Simple Node.js date formatter for logging, providing a `timestamp()` function and a String prototype getter `.timestamp`. Version 0.3.0 is the latest and appears to be stable with no recent updates. It formats dates with placeholders like YYYY, MM, DD, hh, mm, ss, iii. Differentiators: simple API with both functional and prototype-based usage, but lacks timezone support and is not maintained. Alternatives: date-fns, moment, dayjs.