ðĻ Logluxe
"Install once, never think about logs again."
Logluxe is a tiny, zero-dependency, TypeScript-first logging utility that serves as a drop-in replacement for console.* with beautiful colored logs, smart defaults, and zero configuration required.
âĻ Why Logluxe?â
| Feature | Logluxe | Console | Other Loggers |
|---|---|---|---|
| Zero Config | â | â | â |
| Beautiful Colors | â | â | â ïļ |
| TypeScript First | â | â | â ïļ |
| Zero Dependencies | â | â | â |
| Browser + Node | â | â | â ïļ |
| Tree Shakable | â | N/A | â ïļ |
| Bundle Size | ~2KB | 0KB | 10-50KB |
ð Quick Exampleâ
import log from 'logluxe';
// Semantic logging with beautiful colors
log.success('Build complete'); // â Build complete (green)
log.error('Database failed'); // â Database failed (red)
log.warn('Memory usage high'); // â Memory usage high (yellow)
log.info('Server started'); // âđ Server started (cyan)
log.debug('Request payload', data); // â Request payload (gray)
// Or use the drop-in console patch
import 'logluxe/patch';
console.info('Now with colors!'); // âđ Now with colors! (cyan)
Console Output
ââ Build complete
ââ Database failed
â â Memory usage high
âđâđ Server started
ââ Request payload { id: 1, name: 'test' }
âđâđ Now with colors!
ðŪ Try it yourself
ðŊ Key Featuresâ
ðŠķ Lightweightâ
- Zero dependencies - Pure TypeScript, nothing else
- < 2KB minified - Tiny footprint, massive functionality
- Tree-shakable - Import only what you need
ð Universalâ
- Node.js - Full ANSI color support
- Browser - CSS-based styling in DevTools
- Deno & Bun - First-class support
- React/Next.js/Vite - Works out of the box
ðĻ Beautifulâ
- Semantic colors - Success is green, errors are red
- Gradient text - Eye-catching rainbow effects
- Chainable styles - Build complex styles fluently
ð§ Developer Experienceâ
- Full TypeScript support - Complete type definitions
- IntelliSense - Autocomplete everything
- Zero config - Works immediately after install
ðĶ Installationâ
npm install logluxe
# or
yarn add logluxe
# or
pnpm add logluxe
Terminal
$ npm install logluxe
added 1 package in 2s
ðŽ See It In Actionâ
Terminal Outputâ
Semantic Logging
ââ Build complete
ââ Database connection failed
â â Memory usage is at 85%
âđâđ Server listening on port 3000
ââ Debug: Processing 42 items
With Effectsâ
Visual Effects
ð H e l l o W o r l d
â SERVER ONLINE
âââââââââââââââââââââââââââââââââââââââ
â Welcome to My CLI Tool â
âââââââââââââââââââââââââââââââââââââââ
ðŪ Try Visual Effects
ðšïļ Documentation Structureâ
- Getting Started - Installation, quick start, console patch
- Core API - Semantic logging, colors, style builder
- Effects & Utilities - Gradients, highlights, banners
- Advanced Features - Performance, themes, configuration
- Examples - Real-world usage patterns
ðĄ Philosophyâ
Logluxe is built on three principles:
- Zero Friction - Should work immediately with no setup
- Non-Invasive - Easy to add, easy to remove if needed
- Sensible Defaults - Beautiful output without configuration
Ready to get started? Head to the Installation Guide â