prettyprint 1.0.6
Pretty-print structured strings heuristically based on parentheses
To use this package, run the following command in your project's root directory:
Manual usage
Put the following dependency into your project's dependences section:
This package provides sub packages which can be used individually:
prettyprint:pp - Pretty-print runner that reads stdin and outputs prettyprinted lines
prettyprint
prettyprint takes a string representing a tree of parentheses and linebreaks and indents it.
Usage
Command line tool
dub run prettyprint:pp < logfile
Library
import prettyprint : prettyprint;
string formattedOutput = object.toString().prettyprint;
API
public string prettyprint(const string text, size_t columnWidth = 80);
- Registered by Mathis Beer
- 1.0.6 released 4 years ago
- funkwerk-mobility/prettyprint
- MIT
- Authors:
- Sub packages:
- prettyprint:pp
- Dependencies:
- none
- Versions:
-
1.0.9 2022-Aug-24 1.0.8 2022-Jun-23 1.0.7 2021-Mar-03 1.0.6 2020-Jul-06 1.0.5 2020-Jun-05 - Download Stats:
-
-
20 downloads today
-
202 downloads this week
-
965 downloads this month
-
22806 downloads total
-
- Score:
- 2.8
- Short URL:
- prettyprint.dub.pm