Package Information
Downloads: 105 weekly / 108 monthly
Latest Version: 2.0.0
Author: MookieLian
Available Nodes
Documentation
n8n-nodes-toon-formatter
A single community node for n8n that converts JSON payloads into the compact TOON format. The node emits the formatted text under the toon key on each output item.
Installation
- Clone this repository (or install the package once it is published to npm).
- Enable community nodes in your n8n instance.
- Follow the official community node guide to build and load the package into n8n.
Operation
- Format – accepts any JSON value (object, array, primitive) and encodes it into TOON text.
Usage
The node offers two ways to pick the JSON to encode:
- Field Name – read JSON directly from a field on the incoming item (for example
data). - Expression / Manual JSON – provide JSON via an expression or paste raw JSON.
Typical flows:
- Add a TOON Formatter node to your workflow.
- Choose Source:
- Field Name – set Field Name (e.g.
data); the node will useitem.json.dataas input. - Expression / Manual JSON – set JSON Value, for example:
={{ $json }}to encode the whole item={{ $json.data }}to encode a nested property
- Field Name – set Field Name (e.g.
- Run the workflow and read the TOON output from the
toonproperty.
Resources
Version history
- 2.0.0 – Dual-source input (field name vs expression/manual JSON), improved encoder, updated icons and docs.
- 0.1.0 – Initial release of the TOON formatter node.