[AskJS] Is there a better way to log and debug objects in Node?

This page summarizes the projects mentioned and recommended in the original post on /r/javascript

Our great sponsors
  • SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • debug

    A tiny JavaScript debugging utility modelled after Node.js core's debugging technique. Works in Node.js and web browsers

  • I've become a fan of it not only due to the pretty colors (really helps to stand-out in the console), but mainly because of the formatters, e.g. normally a large object is spans across many lines (each prefixed with the name of the logger, so kenman for me). But, I can use %o to get the same pretty output on one line, or %j for pure JSON output (removes [Circular], [Function], etc.).

  • SurveyJS

    Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.

    SurveyJS logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts