pretty-error is a Node.js library that renders JavaScript error messages in a cleaner, more readable, and visually styled format to make debugging easier. PrettyError turns error objects into something similar to an html document, and then uses RenderKid to render the document using simple html/css-like commands. This allows PrettyError to be themed using simple css-like declarations. There are a few methods to help you customize the contents of your error logs. You can customize which trace lines get logged and which won't.
Features
- Cleans and highlights stack traces with color-coded sections
- Filters out internal Node.js paths for clarity
- Supports custom themes and style overrides
- Preserves relevant code context and formatting
- Offers configuration via API for toggling path verbosity
- Regularly used in CLI tools for improved developer experience
Categories
LibrariesLicense
MIT LicenseFollow Pretty-Error
Other Useful Business Software
MongoDB Atlas runs apps anywhere
MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of Pretty-Error!