drupflare/drangler - v0.1.0
    Preparing search index...

    Function emit

    • Emits either the JSON document or the human render.

      The JSON is the same object the text is derived from, so --json can never report something the text cannot; a second formatter that built its own object is how those two drift.

      Parameters

      • io: Io
      • json: boolean
      • value: unknown
      • lines: () => string[]

      Returns void