json-fs-query
    Preparing search index...

    Function jsonText

    • The text a file of the database holds for content: compact JSON, or indented by 2 spaces for pretty.

      Parameters

      • content: any

        Anything JSON.stringify accepts.

      • format: "compact" | "pretty" = ...

        Defaults to the configured format (see configure).

      Returns string