smart-console-sticker
v1.0.0
Published
A lightweight and fancy console logger with auto-emoji tagging and box styles. / 자동 이모지 태깅과 박스 스타일을 지원하는 경량 콘솔 로거입니다.
Maintainers
Readme
_____ __ __ ___ ____ ______
/ ___// |/ / | / __ \/_ __/
\__ \/ /|_/ / /| | / /_/ / / /
___/ / / / / ___ |/ _, _/ / /
/____/_/ /_/_/ |_/_/ |_| /_/
______ ____ _ _______ ____ __ ______
/ ____/ __ \/ \ / / ___// __ \/ / / ____/
/ / / / / / \ /\__ \/ / / / / / __/
/ /___/ /_/ / / \ \ ___/ /_/ / /___/ /___
\____/\____/_/ \__/____/\____/_____/_____/
_____ ______ ____ ______ __ __ ______ ____
/ ___//_ __/ / _// ____// //_// ____// __ \
\__ \ / / / / / / / ,< / __/ / /_/ /
___/ / / / _/ / / /___ / /| |/ /___/ _, _/
/____/ /_/ /___/ \____//_/ |_/_____//_/ |_| 🏷️ Smart-Console-Sticker
A lightweight, cute, and useful console logger for Node.js developers.
스마트한 Node.js 개발자를 위한 가볍고 귀여운 콘솔 로거입니다.
No more boring console.log! Automatically tag your data with emojis and wrap them in beautiful boxes.
더 이상 지루한 console.log는 그만! 데이터에 자동으로 이모지를 붙이고 예쁜 박스로 감싸보세요.
✨ Features / 주요 기능
- 🤖 Auto-Emoji Tagging / 자동 이모지 태깅: Automatically detects data types (Array, Object, Error, etc.) and attaches a matching emoji. / 데이터 타입(배열, 객체, 에러 등)을 자동으로 감지하여 어울리는 이모지를 붙여줍니다.
- 📦 Box Style / 박스 스타일: Output your data in a clean, framed box with a title. / 데이터를 깔끔한 테두리와 제목이 있는 박스 형태로 출력합니다.
- ⏱️ Execution Timer / 실행 시간 측정: Easily measure how long your code takes to run. / 코드 실행에 걸리는 시간을 간편하게 측정합니다.
- 🎨 Stylish Status / 스타일링된 상태 로그: Pre-styled logs for Success, Error, Info, and Warning. / 성공, 에러, 정보, 경고 상태에 맞는 스타일링된 로그를 제공합니다.
🚀 Installation / 설치 방법
npm install smart-console-sticker📖 Usage / 사용 방법
1. Basic Logging with Auto-Emoji / 기본 로깅 및 자동 이모지
const log = require('smart-console-sticker');
log.log('Hello world', 'Greeting'); // 📄 [Greeting] Hello world
log.log({ name: 'Rhee' }, 'User'); // 📦 [User] { name: 'Rhee' }
log.log([1, 2, 3], 'List'); // 📚 [List] [1, 2, 3]2. Box Style / 박스 스타일
log.box('Profile', { id: 1, name: 'rheehose' });Output:
┌──────────────────────────┐
│ Profile │
├──────────────────────────┤
│ { │
│ "id": 1, │
│ "name": "rheehose" │
│ } │
└──────────────────────────┘3. Execution Time / 실행 시간 측정
log.time('Loop');
// ... your code ...
log.timeEnd('Loop'); // ⏱️ Loop: 1.234ms4. Status Logs / 상태별 로그
log.success('Done!');
log.info('Connecting...');
log.warn('Disk full!');
log.error('Failed!');🛠️ Local Development / 로컬 개발 안내
If you want to test this package locally in another project:
이 패키지를 다른 로컬 프로젝트에서 테스트하고 싶다면:
- In this folder / 현재 폴더에서:
npm link - In your other project / 다른 프로젝트에서:
npm link smart-console-sticker
📄 License / 라이선스
MIT © 2008-2026 Rheehose (Rhee Creative)
