@rxap/n8n-nodes-yaml
TypeScript icon, indicating that this package has built-in type declarations

0.1.6 • Public • Published

This n8n node allows you to convert data to and from YAML format. It supports operations like extracting data from YAML, converting to YAML, and setting values within YAML structures. It also includes utilities for handling binary data and different encoding options.

npm version commitizen friendly styled with prettier Libraries.io dependency status for latest release, scoped npm package npm NPM

Installation

Add the package to your workspace:

yarn add @rxap/n8n-nodes-yaml

Install peer dependencies:

yarn add n8n-workflow 

Execute the init generator:

yarn nx g @rxap/n8n-nodes-yaml:init

Guides

Node Variants

Extract From YAML

Transform YAML data into output items

Property Default Description
Input Binary Field data The name of the input field containing the file data to be processed
Destination Output Field data The name of the output field that will contain the extracted data

Convert to YAML

Transform input data into YAML file

Property Default Description
Mode once The operation mode
Put Output File in Field data The name of the output binary field to put the file in

Modes

  • Once: All Items to One File
  • each: Each Item to Separate File

JSON to YAML

Converts data from JSON to YAML

Property Default Description
Input Yaml Field data Name of the property which contains the YAML data to convert

YAML to JSON

Converts data from YAML to JSON

Property Default Description
Input Json Field data Name of the property which contains the JSON data
Destination Output Field data Name of the property to which to contains the converted YAML data

Set value in YAML

Converts data from YAML to JSON

Property Default Description
Input Yaml Field data Name of the property which contains the YAML data to where the value should be set
Fields to Set {} Edit existing fields or add new ones to modify the output data
Input Type auto The type of the input data

Input Types

  • auto: Automatically detect the input type
  • string: The input is a string
  • binary: The input is a binary file

Generators

init

Initialize the package in the workspace

nx g @rxap/n8n-nodes-yaml:init

Package Sidebar

Install

npm i @rxap/n8n-nodes-yaml

Weekly Downloads

49

Version

0.1.6

License

MIT

Unpacked Size

146 kB

Total Files

48

Last publish

Collaborators

  • badry.muenker
  • mmuenker