🐨 Elegant Console Logger for Node.js and Browser
Today consola is being downloaded more than 19M times per month and used by over 1,700 dependencies and 850K projects!! Thank you everyone for trusting and using Consola 🐨 ❤️
This is the first prerelease version for consola v3, with a new codebase, typescript rewrite, fewer dependencies (no more chalk and dayjs bundled), and first-class ESM support.
You can try this version by installing consola@3x
and changing to named imports:
// ESM
import { consola } from "consola";
// CommonJS
const { consola } = require("consola");
Stay tuned for more features and enhancements and please report any issues you could find in this release.
logLevel
to 1 in test environments (#134)createConsola
and named exports (ef6e5e5)global
to globalThis
(bd03098)global
to globalThis
(8c3ef77)