nanoservice-ts comes with a series of built-on nodes to make workflow development easier.

Control Flow

if-else

A node that allows you to define a sequence of steps to be executed based on a condition.

Params

conditions
array of steps conditions

Example of Use

{
    "name": "filter-request",
    "node": "@nanoservice-ts/if-else",
    "type": "module"
}

Web

api-call

A node that allows you to make an HTTP request to an API.

Params

inputs
object of inputs

Example of Use

{
  "name": "api",
  "node": "api-call",
  "type": "local"
}