Investigate changes in NODE-5040: Add color to BSON inspect functions

XMLWordPrintableJSON

    • Not Needed

      Use case

      When printing out BSON values in Node.js they appear all one color. Node.js colors the various types of javascript values and we can harness that for BSON types.

      POC: https://github.com/mongodb/js-bson/compare/main...feat/add-color

      AC

      • Use Node.js stylize function in inspect methods
      • Ensure we fallback to an empty function in web environments
      • TBD

            Assignee:
            Unassigned
            Reporter:
            TPM Jira Automations Bot
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: