Home

Awesome

motoko-pretty

A pretty printer library for Motoko.

Ported from purescript-dodo-printer.

All credit goes to Nathan Faubion

Examples

More examples are coming, but for now there's a basic Json printer in test/JsonExample.mo to give you an idea. You can run it with make -C test json.

How to develop

API Documentation

API documentation for this library can be found at https://kritzcreek.github.io/motoko-pretty

License

motoko-pretty is distributed under the terms of the Apache License (Version 2.0).

See LICENSE for details.