scala-pretty
v1.0.1
Published
Pretty-prints a Scala toString() result with newlines and indentation
Downloads
23
Readme
scala-pretty
Pretty-prints a Scala toString() result with newlines and indentation.
Note that it's not syntax aware at all.
Installation
npm install -g scala-prettyExample
scala-pretty "Catalog(Map(GROUP -> Group(Group,List(NodeReference(LINK))), LINK -> Link(Link,http://foo)))"Results in:
Catalog(
Map(
GROUP -> Group(
Group,
List(
NodeReference(
LINK
)
)
),
LINK -> Link(
Link,
http://foo
)
)
)