Skip to content

anishdevtech/betterlogs

Repository files navigation

@anish2dev/betterlogs 🚀

A lightweight yet powerful logging library that makes console output elegant, expressive, and customizable for both Node.js and browsers.

npm version npm downloads GitHub release GitHub stars License

Tests Minimal TestsCoverage TypeScript Node.js

✨ Features

  • 🎨 Beautiful Themes (dark, light, neon, minimal + custom)
  • 📝 Custom Labels & Levels
  • Timestamps (12h/24h format)
  • 😊 Emoji Support (auto-toggle for unsupported terminals)
  • 🌐 Browser & Node.js Support
  • 📊 Table & JSON Logging
  • TypeScript Ready
  • 🏷️ Label-based Logging
  • ⏱️ Timer Utilities
  • 📁 File Logging (Node.js)
  • 🔌 Discord Integration (Webhook transports)
  • 🎯 Smart Filtering (Level, label, and content-based)

📦 Installation

npm install @anishsharma/betterlogs

💬 Support

Need help or have questions? Join our community!

Discord

Get support, share feedback, and connect with other developers using BetterLogs.

📚 Documentation

📖 View Full Documentation

Our comprehensive documentation covers:

  • ⚙️ Configuration & Customization
  • 🔌 Discord Integration & Transports
  • 🎯 Smart Filtering Strategies
  • ⛓ Granular Control with .with()
  • 💾 File Logging
  • 🛠 Advanced Features
  • 🌐 Browser Support
  • 📝 Complete Examples

🤝 Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/amazing-feature)
  3. Commit your changes (git commit -m 'Add some amazing feature')
  4. Push to the branch (git push origin feature/amazing-feature)
  5. Open a Pull Request

📄 License

This project is licensed under the MIT License - see the LICENSE file for details.

👨‍💻 Author

Anish Sharma


Made with ❤️ by Anish Sharma

DocumentationGitHubNPM

About

A lightweight yet powerful logging library that makes console output elegant, expressive, and customizable

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors