{"id":"Jap1Zz2TO60f","url":"https://totaljs.es/docs/lesscode/1-0/guides/introduction/","project":"lesscode","version":"1-0","section":"guides","language":"en","title":"Introduction","summary":"What Total.js LessCode is, what you can build with it and where to start.","markdown":"---\ntitle: Introduction\nproject: LessCode\nversion: 1.0\nsection: guides\nlanguage: en\nlicense: MIT\nurl: https://totaljs.es/docs/lesscode/1-0/guides/introduction/\nupdated: 2026-11-19T04:41:09.987Z\n---\n\n# Introduction\n\n> What Total.js LessCode is, what you can build with it and where to start.\n\nTotal.js LessCode is a small app for building services, scheduled workflows and API endpoints in the browser. You place nodes on a canvas, connect them and select **APPLY**. LessCode runs your design straight away on the same server.\n\nLessCode uses the Total.js Flow engine and its visual designer. It holds one flow, which it saves in a single file.\n\n## What you can build\n\n- **API endpoints.** A **Route** node receives HTTP requests and a **Response** node answers them. See [Create a GET endpoint](../../recipes/get-endpoint/).\n- **Scheduled workflows and services.** **Timer** and **Crontab** nodes start work at an interval or at set times. See [Run a workflow on a schedule](../../recipes/scheduled-workflow/).\n- **Calls to other HTTP APIs.** **Link endpoint** turns any HTTP address into a node. See [Call an HTTP API](../../recipes/call-http-api/).\n- **Your own logic.** A **Code** node runs a few lines of JavaScript on each message. See [Code](../../reference/code/).\n\n## What to read next\n\n1. Install LessCode [from source](../install-source/) or [with Docker](../install-docker/).\n2. Open the designer: [First access](../first-access/).\n3. Learn the screen: [The designer](../designer-overview/).\n4. Build your first endpoint: [Create a GET endpoint](../../recipes/get-endpoint/).\n5. Before you go live, read [Run in production](../production/) and [Back up your flow](../backups/).\n","entries":[],"license":"MIT","updated":"2026-11-19T04:41:09.987Z"}
{"id":"Jap1Zz2TO60f-de","url":"https://totaljs.es/docs/de/lesscode/1-0/guides/introduction/","project":"lesscode","version":"1-0","section":"guides","language":"de","title":"Einführung","summary":"Was Total.js LessCode ist, was du damit bauen kannst und wo du anfängst.","markdown":"---\ntitle: \"Einführung\"\nproject: Total.js LessCode\nversion: 1.0\nsection: guides\nlanguage: de\nlicense: MIT\nurl: https://totaljs.es/docs/de/lesscode/1-0/guides/introduction/\nupdated: 2026-11-19T04:41:09.987Z\n---\n\n# Einführung\n\n> Was Total.js LessCode ist, was du damit bauen kannst und wo du anfängst.\n\nTotal.js LessCode ist eine kleine App, mit der du Dienste, zeitgesteuerte Workflows und API-Endpunkte im Browser baust. Du platzierst Nodes auf einer Arbeitsfläche, verbindest sie und wählst **APPLY** (Übernehmen). LessCode führt dein Design sofort auf demselben Server aus.\n\nLessCode verwendet die Engine von Total.js Flow und ihren visuellen Designer. Es enthält einen einzigen Flow, den es in einer einzigen Datei speichert.\n\n## Was du bauen kannst\n\n- **API-Endpunkte.** Ein **Route**-Node empfängt HTTP-Anfragen und ein **Response**-Node beantwortet sie. Mehr dazu unter [Einen GET-Endpunkt erstellen](../../recipes/get-endpoint/).\n- **Zeitgesteuerte Workflows und Dienste.** **Timer**- und **Crontab**-Nodes starten Arbeit in einem Intervall oder zu festen Zeiten. Mehr dazu unter [Einen Workflow nach Zeitplan ausführen](../../recipes/scheduled-workflow/).\n- **Aufrufe anderer HTTP-APIs.** **Link endpoint** macht aus jeder HTTP-Adresse einen Node. Mehr dazu unter [Eine HTTP-API aufrufen](../../recipes/call-http-api/).\n- **Deine eigene Logik.** Ein **Code**-Node führt bei jeder Nachricht ein paar Zeilen JavaScript aus. Mehr dazu unter [Code](../../reference/code/).\n\n## Was du als Nächstes liest\n\n1. Installiere LessCode [aus dem Quellcode](../install-source/) oder [mit Docker](../install-docker/).\n2. Öffne den Designer: [Erster Zugriff](../first-access/).\n3. Lerne den Bildschirm kennen: [Der Designer](../designer-overview/).\n4. Bau deinen ersten Endpunkt: [Einen GET-Endpunkt erstellen](../../recipes/get-endpoint/).\n5. Bevor du live gehst, lies [Im Produktivbetrieb ausführen](../production/) und [Deinen Flow sichern](../backups/).\n","entries":[],"license":"MIT","updated":"2026-11-19T04:41:09.987Z"}
{"id":"Jap1Zz2TO60f-es","url":"https://totaljs.es/docs/es/lesscode/1-0/guides/introduction/","project":"lesscode","version":"1-0","section":"guides","language":"es","title":"Introducción","summary":"Qué es Total.js LessCode, qué puedes construir con él y por dónde empezar.","markdown":"---\ntitle: \"Introducción\"\nproject: Total.js LessCode\nversion: 1.0\nsection: guides\nlanguage: es\nlicense: MIT\nurl: https://totaljs.es/docs/es/lesscode/1-0/guides/introduction/\nupdated: 2026-11-19T04:41:09.987Z\n---\n\n# Introducción\n\n> Qué es Total.js LessCode, qué puedes construir con él y por dónde empezar.\n\nTotal.js LessCode es una pequeña app para construir servicios, flujos de trabajo programados y endpoints de API en el navegador. Colocas nodos en un lienzo, los conectas y seleccionas **APPLY** (aplicar). LessCode ejecuta tu diseño al instante en el mismo servidor.\n\nLessCode usa el motor de Total.js Flow y su diseñador visual. Contiene un solo flujo, que guarda en un único archivo.\n\n## Qué puedes construir\n\n- **Endpoints de API.** Un nodo **Route** recibe peticiones HTTP y un nodo **Response** las responde. Consulta [Crear un endpoint GET](../../recipes/get-endpoint/).\n- **Flujos de trabajo y servicios programados.** Los nodos **Timer** y **Crontab** ponen en marcha el trabajo cada cierto tiempo o a horas fijas. Consulta [Ejecutar un flujo de trabajo según un horario](../../recipes/scheduled-workflow/).\n- **Llamadas a otras API HTTP.** **Link endpoint** convierte cualquier dirección HTTP en un nodo. Consulta [Llamar a una API HTTP](../../recipes/call-http-api/).\n- **Tu propia lógica.** Un nodo **Code** ejecuta unas pocas líneas de JavaScript con cada mensaje. Consulta [Code](../../reference/code/).\n\n## Qué leer a continuación\n\n1. Instala LessCode [desde el código fuente](../install-source/) o [con Docker](../install-docker/).\n2. Abre el diseñador: [Primer acceso](../first-access/).\n3. Conoce la pantalla: [El diseñador](../designer-overview/).\n4. Construye tu primer endpoint: [Crear un endpoint GET](../../recipes/get-endpoint/).\n5. Antes de ponerlo en marcha de verdad, lee [Ejecutar en producción](../production/) y [Hacer una copia de seguridad del flujo](../backups/).\n","entries":[],"license":"MIT","updated":"2026-11-19T04:41:09.987Z"}
{"id":"Jap1Zz2TO60f-fr","url":"https://totaljs.es/docs/fr/lesscode/1-0/guides/introduction/","project":"lesscode","version":"1-0","section":"guides","language":"fr","title":"Introduction","summary":"Ce qu’est Total.js LessCode, ce que tu peux construire avec et par où commencer.","markdown":"---\ntitle: Introduction\nproject: Total.js LessCode\nversion: 1.0\nsection: guides\nlanguage: fr\nlicense: MIT\nurl: https://totaljs.es/docs/fr/lesscode/1-0/guides/introduction/\nupdated: 2026-11-19T04:41:09.987Z\n---\n\n# Introduction\n\n> Ce qu’est Total.js LessCode, ce que tu peux construire avec et par où commencer.\n\nTotal.js LessCode est une petite application pour construire des services, des workflows planifiés et des endpoints d’API dans le navigateur. Tu places des nœuds sur un canevas, tu les connectes et tu sélectionnes **APPLY** (appliquer). LessCode exécute ton design tout de suite, sur le même serveur.\n\nLessCode utilise le moteur de Total.js Flow et son designer visuel. Il contient un seul flux, qu’il enregistre dans un seul fichier.\n\n## Ce que tu peux construire\n\n- **Des endpoints d’API.** Un nœud **Route** reçoit les requêtes HTTP et un nœud **Response** y répond. Consulte [Créer un endpoint GET](../../recipes/get-endpoint/).\n- **Des workflows planifiés et des services.** Les nœuds **Timer** et **Crontab** lancent du travail à intervalle régulier ou à des heures fixes. Consulte [Exécuter un workflow selon un planning](../../recipes/scheduled-workflow/).\n- **Des appels à d’autres API HTTP.** **Link endpoint** transforme n’importe quelle adresse HTTP en nœud. Consulte [Appeler une API HTTP](../../recipes/call-http-api/).\n- **Ta propre logique.** Un nœud **Code** exécute quelques lignes de JavaScript sur chaque message. Consulte [Code](../../reference/code/).\n\n## Que lire ensuite\n\n1. Installe LessCode [depuis les sources](../install-source/) ou [avec Docker](../install-docker/).\n2. Ouvre le designer : [Premier accès](../first-access/).\n3. Découvre l’écran : [Le designer](../designer-overview/).\n4. Construis ton premier endpoint : [Créer un endpoint GET](../../recipes/get-endpoint/).\n5. Avant de passer en ligne, lis [Passer en production](../production/) et [Sauvegarder ton flux](../backups/).\n","entries":[],"license":"MIT","updated":"2026-11-19T04:41:09.987Z"}
{"id":"Jap1Zz2TO60f-it","url":"https://totaljs.es/docs/it/lesscode/1-0/guides/introduction/","project":"lesscode","version":"1-0","section":"guides","language":"it","title":"Introduzione","summary":"Cos'è Total.js LessCode, cosa puoi costruire con lui e da dove cominciare.","markdown":"---\ntitle: Introduzione\nproject: Total.js LessCode\nversion: 1.0\nsection: guides\nlanguage: it\nlicense: MIT\nurl: https://totaljs.es/docs/it/lesscode/1-0/guides/introduction/\nupdated: 2026-11-19T04:41:09.987Z\n---\n\n# Introduzione\n\n> Cos'è Total.js LessCode, cosa puoi costruire con lui e da dove cominciare.\n\nTotal.js LessCode è una piccola app per costruire servizi, workflow programmati ed endpoint API nel browser. Metti dei nodi su un canvas, li colleghi e selezioni **APPLY**. LessCode esegue subito il tuo design sullo stesso server.\n\nLessCode usa il motore di Total.js Flow e il suo designer visuale. Contiene un solo flusso, che salva in un unico file.\n\n## Cosa puoi costruire\n\n- **Endpoint API.** Un nodo **Route** riceve le richieste HTTP e un nodo **Response** risponde. Leggi [Creare un endpoint GET](../../recipes/get-endpoint/).\n- **Workflow e servizi programmati.** I nodi **Timer** e **Crontab** avviano il lavoro a intervalli regolari o a orari stabiliti. Leggi [Eseguire un workflow a orari programmati](../../recipes/scheduled-workflow/).\n- **Chiamate ad altre API HTTP.** **Link endpoint** trasforma qualsiasi indirizzo HTTP in un nodo. Leggi [Chiamare un'API HTTP](../../recipes/call-http-api/).\n- **La tua logica.** Un nodo **Code** esegue qualche riga di JavaScript su ogni messaggio. Leggi [Code](../../reference/code/).\n\n## Cosa leggere dopo\n\n1. Installa LessCode [dal codice sorgente](../install-source/) o [con Docker](../install-docker/).\n2. Apri il designer: [Primo accesso](../first-access/).\n3. Impara a conoscere la schermata: [Il designer](../designer-overview/).\n4. Costruisci il tuo primo endpoint: [Creare un endpoint GET](../../recipes/get-endpoint/).\n5. Prima di andare online, leggi [Usare LessCode in produzione](../production/) e [Fare il backup del flusso](../backups/).\n","entries":[],"license":"MIT","updated":"2026-11-19T04:41:09.987Z"}
{"id":"Jap1Zz2TO60f-sk","url":"https://totaljs.es/docs/sk/lesscode/1-0/guides/introduction/","project":"lesscode","version":"1-0","section":"guides","language":"sk","title":"Úvod","summary":"Čo je Total.js LessCode, čo s ním môžeš vytvoriť a kde začať.","markdown":"---\ntitle: \"Úvod\"\nproject: Total.js LessCode\nversion: 1.0\nsection: guides\nlanguage: sk\nlicense: MIT\nurl: https://totaljs.es/docs/sk/lesscode/1-0/guides/introduction/\nupdated: 2026-11-19T04:41:09.987Z\n---\n\n# Úvod\n\n> Čo je Total.js LessCode, čo s ním môžeš vytvoriť a kde začať.\n\nTotal.js LessCode je malá aplikácia na vytváranie služieb, plánovaných pracovných postupov a API endpointov v prehliadači. Uzly umiestniš na plátno, prepojíš ich a vyberieš **APPLY**. LessCode tvoj návrh hneď spustí na tom istom serveri.\n\nLessCode používa engine Total.js Flow a jeho vizuálny návrhár. Obsahuje jeden tok, ktorý ukladá do jediného súboru.\n\n## Čo môžeš vytvoriť\n\n- **API endpointy.** Uzol **Route** prijíma HTTP požiadavky a uzol **Response** na ne odpovedá. Pozri si [Vytvor GET endpoint](../../recipes/get-endpoint/).\n- **Plánované pracovné postupy a služby.** Uzly **Timer** a **Crontab** spúšťajú prácu v intervale alebo v stanovených časoch. Pozri si [Spúšťaj pracovný postup podľa plánu](../../recipes/scheduled-workflow/).\n- **Volania iných HTTP API.** **Link endpoint** zmení akúkoľvek HTTP adresu na uzol. Pozri si [Zavolaj HTTP API](../../recipes/call-http-api/).\n- **Vlastnú logiku.** Uzol **Code** vykoná pri každej správe pár riadkov JavaScriptu. Pozri si [Code](../../reference/code/).\n\n## Čo si prečítať ďalej\n\n1. Nainštaluj LessCode [zo zdrojového kódu](../install-source/) alebo [s Dockerom](../install-docker/).\n2. Otvor návrhára: [Prvý prístup](../first-access/).\n3. Spoznaj obrazovku: [Návrhár](../designer-overview/).\n4. Vytvor svoj prvý endpoint: [Vytvor GET endpoint](../../recipes/get-endpoint/).\n5. Skôr než pôjdeš do ostrej prevádzky, prečítaj si [Prevádzkuj v produkcii](../production/) a [Zálohuj svoj tok](../backups/).\n","entries":[],"license":"MIT","updated":"2026-11-19T04:41:09.987Z"}
{"id":"Jap1Zx2RO60f","url":"https://totaljs.es/docs/lesscode/1-0/guides/install-source/","project":"lesscode","version":"1-0","section":"guides","language":"en","title":"Install from source","summary":"Install LessCode with Node.js and start it on your computer or server.","markdown":"---\ntitle: Install from source\nproject: LessCode\nversion: 1.0\nsection: guides\nlanguage: en\nlicense: MIT\nurl: https://totaljs.es/docs/lesscode/1-0/guides/install-source/\nupdated: 2026-11-19T04:41:09.987Z\n---\n\n# Install from source\n\n> Install LessCode with Node.js and start it on your computer or server.\n\nYou need [Node.js](https://nodejs.org) 19 or newer and Git.\n\n## Install and start\n\n**1.** Get the code and open its folder:\n\n```bash\ngit clone https://github.com/totaljs/lesscode.git\ncd lesscode\n```\n\n**2.** Install the dependencies (once):\n\n```bash\nnpm install\n```\n\n**3.** Start LessCode:\n\n```bash\nnpm start\n```\n\n**4.** Open `http://localhost:8000/` in your browser. See [First access](../first-access/).\n\nLessCode keeps running until you stop it with Ctrl+C in the terminal.\n\n## Use another port\n\n`npm start` uses port 8000. To use another port, start LessCode with Node.js and pass the port:\n\n```bash\nnode index.js 8080\n```\n\n## Where your work is saved\n\nYour flow lives in the file `flowstreams/lesscode.flow` inside the LessCode folder. See [The flow file](../../reference/flow-file/) and [Back up your flow](../backups/).\n\n## Keep your server safe\n\nThe designer has no sign-in. Anyone who can open its address can change your flow and run code on the server. Before you install LessCode on a server that others can reach, read [Run in production](../production/).\n","entries":[],"license":"MIT","updated":"2026-11-19T04:41:09.987Z"}
{"id":"Jap1Zx2RO60f-de","url":"https://totaljs.es/docs/de/lesscode/1-0/guides/install-source/","project":"lesscode","version":"1-0","section":"guides","language":"de","title":"Aus dem Quellcode installieren","summary":"Installiere LessCode mit Node.js und starte es auf deinem Computer oder Server.","markdown":"---\ntitle: Aus dem Quellcode installieren\nproject: Total.js LessCode\nversion: 1.0\nsection: guides\nlanguage: de\nlicense: MIT\nurl: https://totaljs.es/docs/de/lesscode/1-0/guides/install-source/\nupdated: 2026-11-19T04:41:09.987Z\n---\n\n# Aus dem Quellcode installieren\n\n> Installiere LessCode mit Node.js und starte es auf deinem Computer oder Server.\n\nDu brauchst [Node.js](https://nodejs.org) 19 oder neuer und Git.\n\n## Installieren und starten\n\n**1.** Hol dir den Code und öffne seinen Ordner:\n\n```bash\ngit clone https://github.com/totaljs/lesscode.git\ncd lesscode\n```\n\n**2.** Installiere die Abhängigkeiten (einmalig):\n\n```bash\nnpm install\n```\n\n**3.** Starte LessCode:\n\n```bash\nnpm start\n```\n\n**4.** Öffne `http://localhost:8000/` in deinem Browser. Mehr dazu unter [Erster Zugriff](../first-access/).\n\nLessCode läuft, bis du es im Terminal mit Ctrl+C stoppst.\n\n## Einen anderen Port verwenden\n\n`npm start` verwendet den Port 8000. Für einen anderen Port startest du LessCode mit Node.js und gibst den Port mit:\n\n```bash\nnode index.js 8080\n```\n\n## Wo deine Arbeit gespeichert wird\n\nDein Flow liegt in der Datei `flowstreams/lesscode.flow` im LessCode-Ordner. Mehr dazu unter [Die Flow-Datei](../../reference/flow-file/) und [Deinen Flow sichern](../backups/).\n\n## Deinen Server schützen\n\nDer Designer hat keine Anmeldung. Wer seine Adresse öffnen kann, kann deinen Flow ändern und Code auf dem Server ausführen. Bevor du LessCode auf einem Server installierst, den andere erreichen können, lies [Im Produktivbetrieb ausführen](../production/).\n","entries":[],"license":"MIT","updated":"2026-11-19T04:41:09.987Z"}
{"id":"Jap1Zx2RO60f-es","url":"https://totaljs.es/docs/es/lesscode/1-0/guides/install-source/","project":"lesscode","version":"1-0","section":"guides","language":"es","title":"Instalar desde el código fuente","summary":"Instala LessCode con Node.js y ponlo en marcha en tu ordenador o servidor.","markdown":"---\ntitle: \"Instalar desde el código fuente\"\nproject: Total.js LessCode\nversion: 1.0\nsection: guides\nlanguage: es\nlicense: MIT\nurl: https://totaljs.es/docs/es/lesscode/1-0/guides/install-source/\nupdated: 2026-11-19T04:41:09.987Z\n---\n\n# Instalar desde el código fuente\n\n> Instala LessCode con Node.js y ponlo en marcha en tu ordenador o servidor.\n\nNecesitas [Node.js](https://nodejs.org) 19 o posterior y Git.\n\n## Instala y arranca\n\n**1.** Descarga el código y abre su carpeta:\n\n```bash\ngit clone https://github.com/totaljs/lesscode.git\ncd lesscode\n```\n\n**2.** Instala las dependencias (una sola vez):\n\n```bash\nnpm install\n```\n\n**3.** Arranca LessCode:\n\n```bash\nnpm start\n```\n\n**4.** Abre `http://localhost:8000/` en tu navegador. Consulta [Primer acceso](../first-access/).\n\nLessCode sigue funcionando hasta que lo detienes con Ctrl+C en la terminal.\n\n## Usa otro puerto\n\n`npm start` usa el puerto 8000. Para usar otro, arranca LessCode con Node.js e indica el puerto:\n\n```bash\nnode index.js 8080\n```\n\n## Dónde se guarda tu trabajo\n\nTu flujo está en el archivo `flowstreams/lesscode.flow`, dentro de la carpeta de LessCode. Consulta [El archivo del flujo](../../reference/flow-file/) y [Hacer una copia de seguridad del flujo](../backups/).\n\n## Mantén tu servidor seguro\n\nEl diseñador no tiene inicio de sesión. Cualquiera que pueda abrir su dirección puede cambiar tu flujo y ejecutar código en el servidor. Antes de instalar LessCode en un servidor al que otras personas puedan acceder, lee [Ejecutar en producción](../production/).\n","entries":[],"license":"MIT","updated":"2026-11-19T04:41:09.987Z"}
{"id":"Jap1Zx2RO60f-fr","url":"https://totaljs.es/docs/fr/lesscode/1-0/guides/install-source/","project":"lesscode","version":"1-0","section":"guides","language":"fr","title":"Installer depuis les sources","summary":"Installe LessCode avec Node.js et démarre-le sur ton ordinateur ou ton serveur.","markdown":"---\ntitle: Installer depuis les sources\nproject: Total.js LessCode\nversion: 1.0\nsection: guides\nlanguage: fr\nlicense: MIT\nurl: https://totaljs.es/docs/fr/lesscode/1-0/guides/install-source/\nupdated: 2026-11-19T04:41:09.987Z\n---\n\n# Installer depuis les sources\n\n> Installe LessCode avec Node.js et démarre-le sur ton ordinateur ou ton serveur.\n\nTu as besoin de [Node.js](https://nodejs.org) 19 ou plus récent et de Git.\n\n## Installer et démarrer\n\n**1.** Récupère le code et ouvre son dossier :\n\n```bash\ngit clone https://github.com/totaljs/lesscode.git\ncd lesscode\n```\n\n**2.** Installe les dépendances (une seule fois) :\n\n```bash\nnpm install\n```\n\n**3.** Démarre LessCode :\n\n```bash\nnpm start\n```\n\n**4.** Ouvre `http://localhost:8000/` dans ton navigateur. Consulte [Premier accès](../first-access/).\n\nLessCode continue de tourner jusqu’à ce que tu l’arrêtes avec Ctrl+C dans le terminal.\n\n## Utiliser un autre port\n\n`npm start` utilise le port 8000. Pour utiliser un autre port, démarre LessCode avec Node.js et indique le port :\n\n```bash\nnode index.js 8080\n```\n\n## Où ton travail est enregistré\n\nTon flux se trouve dans le fichier `flowstreams/lesscode.flow`, dans le dossier de LessCode. Consulte [Le fichier de flux](../../reference/flow-file/) et [Sauvegarder ton flux](../backups/).\n\n## Protéger ton serveur\n\nLe designer n’a pas de connexion. Toute personne qui peut ouvrir son adresse peut modifier ton flux et exécuter du code sur le serveur. Avant d’installer LessCode sur un serveur accessible à d’autres personnes, lis [Passer en production](../production/).\n","entries":[],"license":"MIT","updated":"2026-11-19T04:41:09.987Z"}
{"id":"Jap1Zx2RO60f-it","url":"https://totaljs.es/docs/it/lesscode/1-0/guides/install-source/","project":"lesscode","version":"1-0","section":"guides","language":"it","title":"Installare dal codice sorgente","summary":"Installa LessCode con Node.js e avvialo sul tuo computer o server.","markdown":"---\ntitle: Installare dal codice sorgente\nproject: Total.js LessCode\nversion: 1.0\nsection: guides\nlanguage: it\nlicense: MIT\nurl: https://totaljs.es/docs/it/lesscode/1-0/guides/install-source/\nupdated: 2026-11-19T04:41:09.987Z\n---\n\n# Installare dal codice sorgente\n\n> Installa LessCode con Node.js e avvialo sul tuo computer o server.\n\nTi servono [Node.js](https://nodejs.org) 19 o più recente e Git.\n\n## Installare e avviare\n\n**1.** Scarica il codice e apri la sua cartella:\n\n```bash\ngit clone https://github.com/totaljs/lesscode.git\ncd lesscode\n```\n\n**2.** Installa le dipendenze (una sola volta):\n\n```bash\nnpm install\n```\n\n**3.** Avvia LessCode:\n\n```bash\nnpm start\n```\n\n**4.** Apri `http://localhost:8000/` nel browser. Leggi [Primo accesso](../first-access/).\n\nLessCode resta in esecuzione finché non lo fermi con Ctrl+C nel terminale.\n\n## Usare un'altra porta\n\n`npm start` usa la porta 8000. Per usare un'altra porta, avvia LessCode con Node.js e passagli la porta:\n\n```bash\nnode index.js 8080\n```\n\n## Dove viene salvato il tuo lavoro\n\nIl tuo flusso si trova nel file `flowstreams/lesscode.flow` dentro la cartella di LessCode. Leggi [Il file del flusso](../../reference/flow-file/) e [Fare il backup del flusso](../backups/).\n\n## Proteggere il server\n\nIl designer non ha un accesso con credenziali. Chiunque possa aprire il suo indirizzo può modificare il tuo flusso ed eseguire codice sul server. Prima di installare LessCode su un server raggiungibile da altri, leggi [Usare LessCode in produzione](../production/).\n","entries":[],"license":"MIT","updated":"2026-11-19T04:41:09.987Z"}
{"id":"Jap1Zx2RO60f-sk","url":"https://totaljs.es/docs/sk/lesscode/1-0/guides/install-source/","project":"lesscode","version":"1-0","section":"guides","language":"sk","title":"Inštaluj zo zdrojového kódu","summary":"Nainštaluj LessCode s Node.js a spusti ho na svojom počítači alebo serveri.","markdown":"---\ntitle: \"Inštaluj zo zdrojového kódu\"\nproject: Total.js LessCode\nversion: 1.0\nsection: guides\nlanguage: sk\nlicense: MIT\nurl: https://totaljs.es/docs/sk/lesscode/1-0/guides/install-source/\nupdated: 2026-11-19T04:41:09.987Z\n---\n\n# Inštaluj zo zdrojového kódu\n\n> Nainštaluj LessCode s Node.js a spusti ho na svojom počítači alebo serveri.\n\nPotrebuješ [Node.js](https://nodejs.org) 19 alebo novší a Git.\n\n## Inštalácia a spustenie\n\n**1.** Získaj kód a otvor jeho priečinok:\n\n```bash\ngit clone https://github.com/totaljs/lesscode.git\ncd lesscode\n```\n\n**2.** Nainštaluj závislosti (raz):\n\n```bash\nnpm install\n```\n\n**3.** Spusti LessCode:\n\n```bash\nnpm start\n```\n\n**4.** V prehliadači otvor `http://localhost:8000/`. Pozri si [Prvý prístup](../first-access/).\n\nLessCode beží, kým ho v termináli nezastavíš klávesmi Ctrl+C.\n\n## Použitie iného portu\n\n`npm start` používa port 8000. Ak chceš iný port, spusti LessCode cez Node.js a zadaj port:\n\n```bash\nnode index.js 8080\n```\n\n## Kam sa ukladá tvoja práca\n\nTvoj tok je v súbore `flowstreams/lesscode.flow` v priečinku LessCode. Pozri si [Súbor toku](../../reference/flow-file/) a [Zálohuj svoj tok](../backups/).\n\n## Chráň svoj server\n\nNávrhár nemá prihlasovanie. Ktokoľvek, kto otvorí jeho adresu, môže meniť tvoj tok a spúšťať kód na serveri. Skôr než LessCode nainštaluješ na server, ku ktorému majú prístup iní, prečítaj si [Prevádzkuj v produkcii](../production/).\n","entries":[],"license":"MIT","updated":"2026-11-19T04:41:09.987Z"}
{"id":"Jap1Zv2PO60f","url":"https://totaljs.es/docs/lesscode/1-0/guides/install-docker/","project":"lesscode","version":"1-0","section":"guides","language":"en","title":"Install with Docker","summary":"Run the official LessCode image with a volume that keeps your flow.","markdown":"---\ntitle: Install with Docker\nproject: LessCode\nversion: 1.0\nsection: guides\nlanguage: en\nlicense: MIT\nurl: https://totaljs.es/docs/lesscode/1-0/guides/install-docker/\nupdated: 2026-11-19T04:41:09.987Z\n---\n\n# Install with Docker\n\n> Run the official LessCode image with a volume that keeps your flow.\n\nThe official image is `totalplatform/lesscode`. Inside the container, LessCode reads and saves its flow in the folder `/www/.src/flowstreams`. The image does not include a flow, so you put the default flow file into a volume on that folder once. Until you do, the designer shows a spinner and does not load.\n\n## Run with Docker\n\n**1.** Get the default flow file from the source code:\n\n```bash\ngit clone https://github.com/totaljs/lesscode.git\n```\n\n**2.** Start the container with a volume for the flow:\n\n```bash\ndocker run -d --name lesscode -p 8000:8000 -v lesscode-flows:/www/.src/flowstreams totalplatform/lesscode\n```\n\n**3.** Copy the flow file into the volume and restart the container:\n\n```bash\ndocker cp lesscode/flowstreams/lesscode.flow lesscode:/www/.src/flowstreams/lesscode.flow\ndocker restart lesscode\n```\n\n**4.** Open `http://localhost:8000/`. See [First access](../first-access/).\n\nThe volume `lesscode-flows` keeps your flow when you remove and create the container again. Always start new containers with the same `-v lesscode-flows:/www/.src/flowstreams` option.\n\n## Run with Docker Compose\n\n**1.** Create a `docker-compose.yaml` file:\n\n```yaml\nservices:\n  lesscode:\n    image: totalplatform/lesscode\n    container_name: lesscode\n    ports:\n      - \"8000:8000\"\n    volumes:\n      - flowstreams:/www/.src/flowstreams\nvolumes:\n  flowstreams:\n```\n\n**2.** Start it:\n\n```bash\ndocker compose up -d\n```\n\n**3.** Copy the default flow file into the volume (from a clone of the source code, as above) and restart:\n\n```bash\ndocker compose cp lesscode/flowstreams/lesscode.flow lesscode:/www/.src/flowstreams/lesscode.flow\ndocker compose restart\n```\n\n`docker compose down` followed by `docker compose up -d` keeps your flow, because it stays in the `flowstreams` volume.\n\nThe `docker-compose.yaml` file in the source code mounts `/www/flowstreams`. LessCode does not save to that folder, so use the volume shown above instead.\n\n## Before you stop a container\n\nLessCode writes changes to the flow file a few seconds after you make them. Wait a few seconds after your last change before you stop or remove the container.\n\nTo keep a copy of your flow outside Docker, see [Back up your flow](../backups/).\n","entries":[],"license":"MIT","updated":"2026-11-19T04:41:09.987Z"}
{"id":"Jap1Zv2PO60f-de","url":"https://totaljs.es/docs/de/lesscode/1-0/guides/install-docker/","project":"lesscode","version":"1-0","section":"guides","language":"de","title":"Mit Docker installieren","summary":"Starte das offizielle LessCode-Image mit einem Volume, das deinen Flow behält.","markdown":"---\ntitle: Mit Docker installieren\nproject: Total.js LessCode\nversion: 1.0\nsection: guides\nlanguage: de\nlicense: MIT\nurl: https://totaljs.es/docs/de/lesscode/1-0/guides/install-docker/\nupdated: 2026-11-19T04:41:09.987Z\n---\n\n# Mit Docker installieren\n\n> Starte das offizielle LessCode-Image mit einem Volume, das deinen Flow behält.\n\nDas offizielle Image ist `totalplatform/lesscode`. Im Container liest und speichert LessCode seinen Flow im Ordner `/www/.src/flowstreams`. Das Image enthält keinen Flow, deshalb legst du die Standard-Flow-Datei einmal in ein Volume auf diesem Ordner. Bis dahin zeigt der Designer nur einen Ladekreis und lädt nicht.\n\n## Mit Docker starten\n\n**1.** Hol dir die Standard-Flow-Datei aus dem Quellcode:\n\n```bash\ngit clone https://github.com/totaljs/lesscode.git\n```\n\n**2.** Starte den Container mit einem Volume für den Flow:\n\n```bash\ndocker run -d --name lesscode -p 8000:8000 -v lesscode-flows:/www/.src/flowstreams totalplatform/lesscode\n```\n\n**3.** Kopiere die Flow-Datei in das Volume und starte den Container neu:\n\n```bash\ndocker cp lesscode/flowstreams/lesscode.flow lesscode:/www/.src/flowstreams/lesscode.flow\ndocker restart lesscode\n```\n\n**4.** Öffne `http://localhost:8000/`. Mehr dazu unter [Erster Zugriff](../first-access/).\n\nDas Volume `lesscode-flows` behält deinen Flow, wenn du den Container entfernst und neu anlegst. Starte neue Container immer mit derselben Option `-v lesscode-flows:/www/.src/flowstreams`.\n\n## Mit Docker Compose starten\n\n**1.** Lege eine Datei `docker-compose.yaml` an:\n\n```yaml\nservices:\n  lesscode:\n    image: totalplatform/lesscode\n    container_name: lesscode\n    ports:\n      - \"8000:8000\"\n    volumes:\n      - flowstreams:/www/.src/flowstreams\nvolumes:\n  flowstreams:\n```\n\n**2.** Starte sie:\n\n```bash\ndocker compose up -d\n```\n\n**3.** Kopiere die Standard-Flow-Datei in das Volume (aus einem Klon des Quellcodes, wie oben) und starte neu:\n\n```bash\ndocker compose cp lesscode/flowstreams/lesscode.flow lesscode:/www/.src/flowstreams/lesscode.flow\ndocker compose restart\n```\n\n`docker compose down` gefolgt von `docker compose up -d` behält deinen Flow, weil er im Volume `flowstreams` bleibt.\n\nDie Datei `docker-compose.yaml` im Quellcode bindet `/www/flowstreams` ein. LessCode speichert nicht in diesen Ordner, verwende also stattdessen das oben gezeigte Volume.\n\n## Bevor du einen Container stoppst\n\nLessCode schreibt Änderungen ein paar Sekunden, nachdem du sie gemacht hast, in die Flow-Datei. Warte nach deiner letzten Änderung ein paar Sekunden, bevor du den Container stoppst oder entfernst.\n\nWie du eine Kopie deines Flows außerhalb von Docker aufbewahrst, erfährst du unter [Deinen Flow sichern](../backups/).\n","entries":[],"license":"MIT","updated":"2026-11-19T04:41:09.987Z"}
{"id":"Jap1Zv2PO60f-es","url":"https://totaljs.es/docs/es/lesscode/1-0/guides/install-docker/","project":"lesscode","version":"1-0","section":"guides","language":"es","title":"Instalar con Docker","summary":"Ejecuta la imagen oficial de LessCode con un volumen que conserva tu flujo.","markdown":"---\ntitle: Instalar con Docker\nproject: Total.js LessCode\nversion: 1.0\nsection: guides\nlanguage: es\nlicense: MIT\nurl: https://totaljs.es/docs/es/lesscode/1-0/guides/install-docker/\nupdated: 2026-11-19T04:41:09.987Z\n---\n\n# Instalar con Docker\n\n> Ejecuta la imagen oficial de LessCode con un volumen que conserva tu flujo.\n\nLa imagen oficial es `totalplatform/lesscode`. Dentro del contenedor, LessCode lee y guarda su flujo en la carpeta `/www/.src/flowstreams`. La imagen no incluye ningún flujo, así que tienes que poner una vez el archivo del flujo predeterminado en un volumen sobre esa carpeta. Hasta que lo hagas, el diseñador muestra un indicador de carga y no se abre.\n\n## Ejecuta con Docker\n\n**1.** Consigue el archivo del flujo predeterminado del código fuente:\n\n```bash\ngit clone https://github.com/totaljs/lesscode.git\n```\n\n**2.** Inicia el contenedor con un volumen para el flujo:\n\n```bash\ndocker run -d --name lesscode -p 8000:8000 -v lesscode-flows:/www/.src/flowstreams totalplatform/lesscode\n```\n\n**3.** Copia el archivo del flujo en el volumen y reinicia el contenedor:\n\n```bash\ndocker cp lesscode/flowstreams/lesscode.flow lesscode:/www/.src/flowstreams/lesscode.flow\ndocker restart lesscode\n```\n\n**4.** Abre `http://localhost:8000/`. Consulta [Primer acceso](../first-access/).\n\nEl volumen `lesscode-flows` conserva tu flujo cuando eliminas el contenedor y lo vuelves a crear. Inicia siempre los contenedores nuevos con la misma opción `-v lesscode-flows:/www/.src/flowstreams`.\n\n## Ejecuta con Docker Compose\n\n**1.** Crea un archivo `docker-compose.yaml`:\n\n```yaml\nservices:\n  lesscode:\n    image: totalplatform/lesscode\n    container_name: lesscode\n    ports:\n      - \"8000:8000\"\n    volumes:\n      - flowstreams:/www/.src/flowstreams\nvolumes:\n  flowstreams:\n```\n\n**2.** Inícialo:\n\n```bash\ndocker compose up -d\n```\n\n**3.** Copia el archivo del flujo predeterminado en el volumen (desde un clon del código fuente, como antes) y reinicia:\n\n```bash\ndocker compose cp lesscode/flowstreams/lesscode.flow lesscode:/www/.src/flowstreams/lesscode.flow\ndocker compose restart\n```\n\n`docker compose down` seguido de `docker compose up -d` conserva tu flujo, porque se queda en el volumen `flowstreams`.\n\nEl archivo `docker-compose.yaml` del código fuente monta `/www/flowstreams`. LessCode no guarda en esa carpeta, así que usa el volumen que se muestra arriba.\n\n## Antes de detener un contenedor\n\nLessCode escribe los cambios en el archivo del flujo unos segundos después de que los hagas. Espera unos segundos tras tu último cambio antes de detener o eliminar el contenedor.\n\nPara guardar una copia de tu flujo fuera de Docker, consulta [Hacer una copia de seguridad del flujo](../backups/).\n","entries":[],"license":"MIT","updated":"2026-11-19T04:41:09.987Z"}
{"id":"Jap1Zv2PO60f-fr","url":"https://totaljs.es/docs/fr/lesscode/1-0/guides/install-docker/","project":"lesscode","version":"1-0","section":"guides","language":"fr","title":"Installer avec Docker","summary":"Exécute l’image officielle de LessCode avec un volume qui garde ton flux.","markdown":"---\ntitle: Installer avec Docker\nproject: Total.js LessCode\nversion: 1.0\nsection: guides\nlanguage: fr\nlicense: MIT\nurl: https://totaljs.es/docs/fr/lesscode/1-0/guides/install-docker/\nupdated: 2026-11-19T04:41:09.987Z\n---\n\n# Installer avec Docker\n\n> Exécute l’image officielle de LessCode avec un volume qui garde ton flux.\n\nL’image officielle est `totalplatform/lesscode`. Dans le conteneur, LessCode lit et enregistre son flux dans le dossier `/www/.src/flowstreams`. L’image ne contient pas de flux, donc tu places une fois le fichier de flux par défaut dans un volume monté sur ce dossier. Tant que tu ne l’as pas fait, le designer affiche un indicateur de chargement et ne se charge pas.\n\n## Exécuter avec Docker\n\n**1.** Récupère le fichier de flux par défaut depuis le code source :\n\n```bash\ngit clone https://github.com/totaljs/lesscode.git\n```\n\n**2.** Démarre le conteneur avec un volume pour le flux :\n\n```bash\ndocker run -d --name lesscode -p 8000:8000 -v lesscode-flows:/www/.src/flowstreams totalplatform/lesscode\n```\n\n**3.** Copie le fichier de flux dans le volume et redémarre le conteneur :\n\n```bash\ndocker cp lesscode/flowstreams/lesscode.flow lesscode:/www/.src/flowstreams/lesscode.flow\ndocker restart lesscode\n```\n\n**4.** Ouvre `http://localhost:8000/`. Consulte [Premier accès](../first-access/).\n\nLe volume `lesscode-flows` garde ton flux quand tu supprimes et recrées le conteneur. Démarre toujours les nouveaux conteneurs avec la même option `-v lesscode-flows:/www/.src/flowstreams`.\n\n## Exécuter avec Docker Compose\n\n**1.** Crée un fichier `docker-compose.yaml` :\n\n```yaml\nservices:\n  lesscode:\n    image: totalplatform/lesscode\n    container_name: lesscode\n    ports:\n      - \"8000:8000\"\n    volumes:\n      - flowstreams:/www/.src/flowstreams\nvolumes:\n  flowstreams:\n```\n\n**2.** Démarre-le :\n\n```bash\ndocker compose up -d\n```\n\n**3.** Copie le fichier de flux par défaut dans le volume (depuis un clone du code source, comme ci-dessus) et redémarre :\n\n```bash\ndocker compose cp lesscode/flowstreams/lesscode.flow lesscode:/www/.src/flowstreams/lesscode.flow\ndocker compose restart\n```\n\n`docker compose down` suivi de `docker compose up -d` garde ton flux, car il reste dans le volume `flowstreams`.\n\nLe fichier `docker-compose.yaml` du code source monte `/www/flowstreams`. LessCode n’enregistre pas dans ce dossier, alors utilise plutôt le volume indiqué ci-dessus.\n\n## Avant d’arrêter un conteneur\n\nLessCode écrit les modifications dans le fichier de flux quelques secondes après que tu les as faites. Attends quelques secondes après ta dernière modification avant d’arrêter ou de supprimer le conteneur.\n\nPour garder une copie de ton flux en dehors de Docker, consulte [Sauvegarder ton flux](../backups/).\n","entries":[],"license":"MIT","updated":"2026-11-19T04:41:09.987Z"}
{"id":"Jap1Zv2PO60f-it","url":"https://totaljs.es/docs/it/lesscode/1-0/guides/install-docker/","project":"lesscode","version":"1-0","section":"guides","language":"it","title":"Installare con Docker","summary":"Esegui l'immagine ufficiale di LessCode con un volume che conserva il tuo flusso.","markdown":"---\ntitle: Installare con Docker\nproject: Total.js LessCode\nversion: 1.0\nsection: guides\nlanguage: it\nlicense: MIT\nurl: https://totaljs.es/docs/it/lesscode/1-0/guides/install-docker/\nupdated: 2026-11-19T04:41:09.987Z\n---\n\n# Installare con Docker\n\n> Esegui l'immagine ufficiale di LessCode con un volume che conserva il tuo flusso.\n\nL'immagine ufficiale è `totalplatform/lesscode`. Dentro il container, LessCode legge e salva il suo flusso nella cartella `/www/.src/flowstreams`. L'immagine non include un flusso, quindi devi mettere una volta il file del flusso predefinito in un volume su quella cartella. Finché non lo fai, il designer mostra un'icona di caricamento e non si apre.\n\n## Eseguire con Docker\n\n**1.** Prendi il file del flusso predefinito dal codice sorgente:\n\n```bash\ngit clone https://github.com/totaljs/lesscode.git\n```\n\n**2.** Avvia il container con un volume per il flusso:\n\n```bash\ndocker run -d --name lesscode -p 8000:8000 -v lesscode-flows:/www/.src/flowstreams totalplatform/lesscode\n```\n\n**3.** Copia il file del flusso nel volume e riavvia il container:\n\n```bash\ndocker cp lesscode/flowstreams/lesscode.flow lesscode:/www/.src/flowstreams/lesscode.flow\ndocker restart lesscode\n```\n\n**4.** Apri `http://localhost:8000/`. Leggi [Primo accesso](../first-access/).\n\nIl volume `lesscode-flows` conserva il tuo flusso quando rimuovi e ricrei il container. Avvia sempre i nuovi container con la stessa opzione `-v lesscode-flows:/www/.src/flowstreams`.\n\n## Eseguire con Docker Compose\n\n**1.** Crea un file `docker-compose.yaml`:\n\n```yaml\nservices:\n  lesscode:\n    image: totalplatform/lesscode\n    container_name: lesscode\n    ports:\n      - \"8000:8000\"\n    volumes:\n      - flowstreams:/www/.src/flowstreams\nvolumes:\n  flowstreams:\n```\n\n**2.** Avvialo:\n\n```bash\ndocker compose up -d\n```\n\n**3.** Copia il file del flusso predefinito nel volume (da un clone del codice sorgente, come sopra) e riavvia:\n\n```bash\ndocker compose cp lesscode/flowstreams/lesscode.flow lesscode:/www/.src/flowstreams/lesscode.flow\ndocker compose restart\n```\n\n`docker compose down` seguito da `docker compose up -d` conserva il tuo flusso, perché resta nel volume `flowstreams`.\n\nIl file `docker-compose.yaml` del codice sorgente monta `/www/flowstreams`. LessCode non salva in quella cartella, quindi usa invece il volume indicato sopra.\n\n## Prima di fermare un container\n\nLessCode scrive le modifiche nel file del flusso qualche secondo dopo che le hai fatte. Aspetta qualche secondo dopo l'ultima modifica prima di fermare o rimuovere il container.\n\nPer tenere una copia del tuo flusso fuori da Docker, leggi [Fare il backup del flusso](../backups/).\n","entries":[],"license":"MIT","updated":"2026-11-19T04:41:09.987Z"}
{"id":"Jap1Zv2PO60f-sk","url":"https://totaljs.es/docs/sk/lesscode/1-0/guides/install-docker/","project":"lesscode","version":"1-0","section":"guides","language":"sk","title":"Inštaluj s Dockerom","summary":"Spusti oficiálny obraz LessCode so zväzkom, ktorý uchová tvoj tok.","markdown":"---\ntitle: \"Inštaluj s Dockerom\"\nproject: Total.js LessCode\nversion: 1.0\nsection: guides\nlanguage: sk\nlicense: MIT\nurl: https://totaljs.es/docs/sk/lesscode/1-0/guides/install-docker/\nupdated: 2026-11-19T04:41:09.987Z\n---\n\n# Inštaluj s Dockerom\n\n> Spusti oficiálny obraz LessCode so zväzkom, ktorý uchová tvoj tok.\n\nOficiálny obraz je `totalplatform/lesscode`. V kontajneri LessCode číta a ukladá svoj tok v priečinku `/www/.src/flowstreams`. Obraz neobsahuje žiadny tok, preto do zväzku na tomto priečinku raz vložíš predvolený súbor toku. Kým to neurobíš, návrhár ukazuje len načítavací kruh a nenačíta sa.\n\n## Spustenie s Dockerom\n\n**1.** Získaj predvolený súbor toku zo zdrojového kódu:\n\n```bash\ngit clone https://github.com/totaljs/lesscode.git\n```\n\n**2.** Spusti kontajner so zväzkom pre tok:\n\n```bash\ndocker run -d --name lesscode -p 8000:8000 -v lesscode-flows:/www/.src/flowstreams totalplatform/lesscode\n```\n\n**3.** Skopíruj súbor toku do zväzku a reštartuj kontajner:\n\n```bash\ndocker cp lesscode/flowstreams/lesscode.flow lesscode:/www/.src/flowstreams/lesscode.flow\ndocker restart lesscode\n```\n\n**4.** Otvor `http://localhost:8000/`. Pozri si [Prvý prístup](../first-access/).\n\nZväzok `lesscode-flows` uchová tvoj tok, aj keď kontajner odstrániš a vytvoríš znova. Nové kontajnery vždy spúšťaj s tou istou voľbou `-v lesscode-flows:/www/.src/flowstreams`.\n\n## Spustenie s Docker Compose\n\n**1.** Vytvor súbor `docker-compose.yaml`:\n\n```yaml\nservices:\n  lesscode:\n    image: totalplatform/lesscode\n    container_name: lesscode\n    ports:\n      - \"8000:8000\"\n    volumes:\n      - flowstreams:/www/.src/flowstreams\nvolumes:\n  flowstreams:\n```\n\n**2.** Spusti ho:\n\n```bash\ndocker compose up -d\n```\n\n**3.** Skopíruj predvolený súbor toku do zväzku (z naklonovaného zdrojového kódu, ako vyššie) a reštartuj:\n\n```bash\ndocker compose cp lesscode/flowstreams/lesscode.flow lesscode:/www/.src/flowstreams/lesscode.flow\ndocker compose restart\n```\n\n`docker compose down` a po ňom `docker compose up -d` tvoj tok zachová, pretože zostáva vo zväzku `flowstreams`.\n\nSúbor `docker-compose.yaml` v zdrojovom kóde pripája `/www/flowstreams`. LessCode do tohto priečinka neukladá, preto namiesto neho použi zväzok uvedený vyššie.\n\n## Pred zastavením kontajnera\n\nLessCode zapisuje zmeny do súboru toku pár sekúnd po tom, čo ich urobíš. Po poslednej zmene počkaj pár sekúnd, kým kontajner zastavíš alebo odstrániš.\n\nAk si chceš uchovať kópiu toku mimo Dockeru, pozri si [Zálohuj svoj tok](../backups/).\n","entries":[],"license":"MIT","updated":"2026-11-19T04:41:09.987Z"}
{"id":"Jap1Zt2NO60f","url":"https://totaljs.es/docs/lesscode/1-0/guides/first-access/","project":"lesscode","version":"1-0","section":"guides","language":"en","title":"First access","summary":"Open the designer for the first time and run the example flow.","markdown":"---\ntitle: First access\nproject: LessCode\nversion: 1.0\nsection: guides\nlanguage: en\nlicense: MIT\nurl: https://totaljs.es/docs/lesscode/1-0/guides/first-access/\nupdated: 2026-11-19T04:41:09.987Z\n---\n\n# First access\n\n> Open the designer for the first time and run the example flow.\n\nLessCode has no sign-in page. The designer opens at the root address of the app.\n\n## Find the address\n\nWhen LessCode starts, the terminal (or `docker logs lesscode` for Docker) prints a short report. The last lines show the address and port the server listens on. The port is `8000` unless you [chose another one](../install-source/).\n\nOpen `http://localhost:8000/` on the same computer, or the server name and port from another computer.\n\n## Run the example flow\n\nA new LessCode flow has three nodes: **Trigger**, **Print** and **Console debug**. Trigger is already connected to Print.\n\n1. Select **Run** on the **Trigger** node.\n2. The **Print** node shows the date and the data it received. The example Trigger sends a random text.\n\n![The example flow after selecting Run: Print shows the date and the random text from Trigger](/files/Jap1Zr2MO61f.webp)\n\nSelect **Clear** on the Print node to empty it.\n\n## Next steps\n\n- Learn the screen: [The designer](../designer-overview/).\n- Add more components: [Download components](../download-components/).\n- Build an endpoint: [Create a GET endpoint](../../recipes/get-endpoint/).\n","entries":[],"license":"MIT","updated":"2026-11-19T04:41:09.987Z"}
{"id":"Jap1Zt2NO60f-de","url":"https://totaljs.es/docs/de/lesscode/1-0/guides/first-access/","project":"lesscode","version":"1-0","section":"guides","language":"de","title":"Erster Zugriff","summary":"Öffne den Designer zum ersten Mal und führe den Beispiel-Flow aus.","markdown":"---\ntitle: Erster Zugriff\nproject: Total.js LessCode\nversion: 1.0\nsection: guides\nlanguage: de\nlicense: MIT\nurl: https://totaljs.es/docs/de/lesscode/1-0/guides/first-access/\nupdated: 2026-11-19T04:41:09.987Z\n---\n\n# Erster Zugriff\n\n> Öffne den Designer zum ersten Mal und führe den Beispiel-Flow aus.\n\nLessCode hat keine Anmeldeseite. Der Designer öffnet sich unter der Stammadresse der App.\n\n## Die Adresse finden\n\nWenn LessCode startet, gibt das Terminal (oder bei Docker `docker logs lesscode`) einen kurzen Bericht aus. Die letzten Zeilen zeigen die Adresse und den Port, auf dem der Server lauscht. Der Port ist `8000`, außer du hast [einen anderen gewählt](../install-source/).\n\nÖffne `http://localhost:8000/` auf demselben Computer oder den Servernamen mit Port von einem anderen Computer aus.\n\n## Den Beispiel-Flow ausführen\n\nEin neuer LessCode-Flow hat drei Nodes: **Trigger**, **Print** und **Console debug**. Trigger ist schon mit Print verbunden.\n\n1. Wähle **Run** am Node **Trigger**.\n2. Der Node **Print** zeigt das Datum und die Daten, die er empfangen hat. Der Beispiel-Trigger schickt einen zufälligen Text.\n\n![Der Beispiel-Flow nach Run: Print zeigt das Datum und den zufälligen Text von Trigger](/files/Jap1Zr2MO61f.webp)\n\nWähle **Clear** am Print-Node, um ihn zu leeren.\n\n## Nächste Schritte\n\n- Lerne den Bildschirm kennen: [Der Designer](../designer-overview/).\n- Füge weitere Komponenten hinzu: [Komponenten herunterladen](../download-components/).\n- Bau einen Endpunkt: [Einen GET-Endpunkt erstellen](../../recipes/get-endpoint/).\n","entries":[],"license":"MIT","updated":"2026-11-19T04:41:09.987Z"}
{"id":"Jap1Zt2NO60f-es","url":"https://totaljs.es/docs/es/lesscode/1-0/guides/first-access/","project":"lesscode","version":"1-0","section":"guides","language":"es","title":"Primer acceso","summary":"Abre el diseñador por primera vez y ejecuta el flujo de ejemplo.","markdown":"---\ntitle: Primer acceso\nproject: Total.js LessCode\nversion: 1.0\nsection: guides\nlanguage: es\nlicense: MIT\nurl: https://totaljs.es/docs/es/lesscode/1-0/guides/first-access/\nupdated: 2026-11-19T04:41:09.987Z\n---\n\n# Primer acceso\n\n> Abre el diseñador por primera vez y ejecuta el flujo de ejemplo.\n\nLessCode no tiene página de inicio de sesión. El diseñador se abre en la dirección raíz de la app.\n\n## Encuentra la dirección\n\nCuando LessCode arranca, la terminal (o `docker logs lesscode` con Docker) muestra un breve informe. Las últimas líneas indican la dirección y el puerto en los que escucha el servidor. El puerto es `8000`, salvo que hayas [elegido otro](../install-source/).\n\nAbre `http://localhost:8000/` en el mismo ordenador, o el nombre del servidor y el puerto desde otro ordenador.\n\n## Ejecuta el flujo de ejemplo\n\nUn flujo nuevo de LessCode tiene tres nodos: **Trigger**, **Print** y **Console debug**. Trigger ya está conectado a Print.\n\n1. Selecciona **Run** (ejecutar) en el nodo **Trigger**.\n2. El nodo **Print** muestra la fecha y los datos que ha recibido. El Trigger de ejemplo envía un texto aleatorio.\n\n![El flujo de ejemplo tras seleccionar Run: Print muestra la fecha y el texto aleatorio de Trigger](/files/Jap1Zr2MO61f.webp)\n\nSelecciona **Clear** (vaciar) en el nodo Print para vaciarlo.\n\n## Siguientes pasos\n\n- Conoce la pantalla: [El diseñador](../designer-overview/).\n- Añade más componentes: [Descargar componentes](../download-components/).\n- Construye un endpoint: [Crear un endpoint GET](../../recipes/get-endpoint/).\n","entries":[],"license":"MIT","updated":"2026-11-19T04:41:09.987Z"}
{"id":"Jap1Zt2NO60f-fr","url":"https://totaljs.es/docs/fr/lesscode/1-0/guides/first-access/","project":"lesscode","version":"1-0","section":"guides","language":"fr","title":"Premier accès","summary":"Ouvre le designer pour la première fois et exécute le flux d’exemple.","markdown":"---\ntitle: \"Premier accès\"\nproject: Total.js LessCode\nversion: 1.0\nsection: guides\nlanguage: fr\nlicense: MIT\nurl: https://totaljs.es/docs/fr/lesscode/1-0/guides/first-access/\nupdated: 2026-11-19T04:41:09.987Z\n---\n\n# Premier accès\n\n> Ouvre le designer pour la première fois et exécute le flux d’exemple.\n\nLessCode n’a pas de page de connexion. Le designer s’ouvre à l’adresse racine de l’application.\n\n## Trouver l’adresse\n\nQuand LessCode démarre, le terminal (ou `docker logs lesscode` pour Docker) affiche un court rapport. Les dernières lignes indiquent l’adresse et le port sur lesquels le serveur écoute. Le port est `8000`, sauf si tu [en as choisi un autre](../install-source/).\n\nOuvre `http://localhost:8000/` sur le même ordinateur, ou le nom du serveur et le port depuis un autre ordinateur.\n\n## Exécuter le flux d’exemple\n\nUn nouveau flux LessCode a trois nœuds : **Trigger**, **Print** et **Console debug**. Trigger est déjà connecté à Print.\n\n1. Sélectionne **Run** (exécuter) sur le nœud **Trigger**.\n2. Le nœud **Print** affiche la date et les données qu’il a reçues. Le Trigger d’exemple envoie un texte aléatoire.\n\n![Le flux d’exemple après avoir sélectionné Run : Print affiche la date et le texte aléatoire de Trigger](/files/Jap1Zr2MO61f.webp)\n\nSélectionne **Clear** sur le nœud Print pour le vider.\n\n## Étapes suivantes\n\n- Découvre l’écran : [Le designer](../designer-overview/).\n- Ajoute d’autres composants : [Télécharger des composants](../download-components/).\n- Construis un endpoint : [Créer un endpoint GET](../../recipes/get-endpoint/).\n","entries":[],"license":"MIT","updated":"2026-11-19T04:41:09.987Z"}
{"id":"Jap1Zt2NO60f-it","url":"https://totaljs.es/docs/it/lesscode/1-0/guides/first-access/","project":"lesscode","version":"1-0","section":"guides","language":"it","title":"Primo accesso","summary":"Apri il designer per la prima volta ed esegui il flusso di esempio.","markdown":"---\ntitle: Primo accesso\nproject: Total.js LessCode\nversion: 1.0\nsection: guides\nlanguage: it\nlicense: MIT\nurl: https://totaljs.es/docs/it/lesscode/1-0/guides/first-access/\nupdated: 2026-11-19T04:41:09.987Z\n---\n\n# Primo accesso\n\n> Apri il designer per la prima volta ed esegui il flusso di esempio.\n\nLessCode non ha una pagina di accesso. Il designer si apre all'indirizzo principale dell'app.\n\n## Trovare l'indirizzo\n\nQuando LessCode parte, il terminale (o `docker logs lesscode` con Docker) stampa un breve resoconto. Le ultime righe mostrano l'indirizzo e la porta su cui il server è in ascolto. La porta è `8000`, a meno che tu non ne abbia [scelta un'altra](../install-source/).\n\nApri `http://localhost:8000/` sullo stesso computer, oppure il nome del server e la porta da un altro computer.\n\n## Eseguire il flusso di esempio\n\nUn flusso nuovo di LessCode ha tre nodi: **Trigger**, **Print** e **Console debug**. Trigger è già collegato a Print.\n\n1. Seleziona **Run** sul nodo **Trigger**.\n2. Il nodo **Print** mostra la data e i dati che ha ricevuto. Il Trigger di esempio invia un testo casuale.\n\n![Il flusso di esempio dopo aver selezionato Run: Print mostra la data e il testo casuale inviato da Trigger](/files/Jap1Zr2MO61f.webp)\n\nSeleziona **Clear** sul nodo Print per svuotarlo.\n\n## Prossimi passi\n\n- Impara a conoscere la schermata: [Il designer](../designer-overview/).\n- Aggiungi altri componenti: [Scaricare i componenti](../download-components/).\n- Costruisci un endpoint: [Creare un endpoint GET](../../recipes/get-endpoint/).\n","entries":[],"license":"MIT","updated":"2026-11-19T04:41:09.987Z"}
{"id":"Jap1Zt2NO60f-sk","url":"https://totaljs.es/docs/sk/lesscode/1-0/guides/first-access/","project":"lesscode","version":"1-0","section":"guides","language":"sk","title":"Prvý prístup","summary":"Otvor návrhára prvýkrát a spusti ukážkový tok.","markdown":"---\ntitle: \"Prvý prístup\"\nproject: Total.js LessCode\nversion: 1.0\nsection: guides\nlanguage: sk\nlicense: MIT\nurl: https://totaljs.es/docs/sk/lesscode/1-0/guides/first-access/\nupdated: 2026-11-19T04:41:09.987Z\n---\n\n# Prvý prístup\n\n> Otvor návrhára prvýkrát a spusti ukážkový tok.\n\nLessCode nemá prihlasovaciu stránku. Návrhár sa otvorí na koreňovej adrese aplikácie.\n\n## Zistenie adresy\n\nKeď sa LessCode spustí, terminál (alebo `docker logs lesscode` pri Dockeri) vypíše krátky prehľad. Posledné riadky ukazujú adresu a port, na ktorom server počúva. Port je `8000`, ak si [nevybral iný](../install-source/).\n\nNa tom istom počítači otvor `http://localhost:8000/`, z iného počítača názov servera a port.\n\n## Spustenie ukážkového toku\n\nNový tok LessCode má tri uzly: **Trigger**, **Print** a **Console debug**. Trigger je už prepojený s Print.\n\n1. Na uzle **Trigger** vyber **Run** (spustiť).\n2. Uzol **Print** ukáže dátum a dáta, ktoré prijal. Ukážkový Trigger posiela náhodný text.\n\n![Ukážkový tok po výbere Run: Print ukazuje dátum a náhodný text z uzla Trigger](/files/Jap1Zr2MO61f.webp)\n\nUzol Print vyprázdniš tlačidlom **Clear**.\n\n## Ďalšie kroky\n\n- Spoznaj obrazovku: [Návrhár](../designer-overview/).\n- Pridaj ďalšie komponenty: [Stiahni komponenty](../download-components/).\n- Vytvor endpoint: [Vytvor GET endpoint](../../recipes/get-endpoint/).\n","entries":[],"license":"MIT","updated":"2026-11-19T04:41:09.987Z"}
{"id":"Jap1Za29O60f","url":"https://totaljs.es/docs/lesscode/1-0/guides/designer-overview/","project":"lesscode","version":"1-0","section":"guides","language":"en","title":"The designer","summary":"The parts of the designer screen: toolbar, component list, canvas and status bar.","markdown":"---\ntitle: The designer\nproject: LessCode\nversion: 1.0\nsection: guides\nlanguage: en\nlicense: MIT\nurl: https://totaljs.es/docs/lesscode/1-0/guides/designer-overview/\nupdated: 2026-11-19T04:41:08.077Z\n---\n\n# The designer\n\n> The parts of the designer screen: toolbar, component list, canvas and status bar.\n\nThe designer is the only screen of LessCode. It shows your flow and lets you change it.\n\n![The designer with the toolbar at the top, the component list on the left and several flows on the canvas](/files/Jap1ZV26O61f.webp)\n\n## Toolbar\n\n![The toolbar buttons](/files/Jap1ZX27O60f.webp)\n\nFrom left to right:\n\n| Button | What it does |\n|---|---|\n| **APPLY** | Starts your changes on the server. See [Apply and save](../apply-and-save/). |\n| **Add** (plus) | Opens the menu to download components, link an HTTP endpoint, paste nodes, download the design or clear the canvas. |\n| **Variables** | Opens the [variables](../variables/) of the flow. |\n| **Console** | Opens the [Console](../console/) panel at the bottom. |\n| **Activities** | Opens the list of activities that nodes report. It shows **No activities** when there are none. |\n| **Search in nodes** | Finds nodes by their settings. See [Search in nodes](../search-nodes/). |\n| **Zoom** | Zooms the canvas out. Select it again to go back to 100%. |\n| **Pause** | Pauses the whole flow. See [Pause the flow](../pause-flow/). |\n\n## Component list\n\nThe list on the left shows the components you can use, grouped by category. Type in **Search components** to filter it. Drag a component onto the canvas to add a node. **Group** at the top adds a [group](../organize-canvas/).\n\nA new flow has only **Print**, **Console debug** and **Trigger**. Add more with [Download components](../download-components/).\n\n## Canvas\n\nThe canvas holds your nodes and the connections between them. Scroll to move around. Double-click a node to open its settings, and right-click it for more actions.\n\n## Status bar\n\n![The status bar with message, pending, per minute, error and memory counters](/files/Jap1ZY28O61f.webp)\n\n| Counter | Meaning |\n|---|---|\n| **Messages** | Messages processed by the flow. |\n| **Pending** | Messages still being processed. |\n| **Per minute** | Messages in the last minute. |\n| **Errors** | Errors raised by nodes. See [Errors](../errors/). |\n| **Memory** | Memory used by the flow. |\n\nThe last two values show the data the designer receives and sends over its connection to the server.\n","entries":[],"license":"MIT","updated":"2026-11-19T04:41:08.077Z"}
{"id":"Jap1Za29O60f-de","url":"https://totaljs.es/docs/de/lesscode/1-0/guides/designer-overview/","project":"lesscode","version":"1-0","section":"guides","language":"de","title":"Der Designer","summary":"Die Teile des Designers: Werkzeugleiste, Komponentenliste, Arbeitsfläche und Statusleiste.","markdown":"---\ntitle: Der Designer\nproject: Total.js LessCode\nversion: 1.0\nsection: guides\nlanguage: de\nlicense: MIT\nurl: https://totaljs.es/docs/de/lesscode/1-0/guides/designer-overview/\nupdated: 2026-11-19T04:41:08.077Z\n---\n\n# Der Designer\n\n> Die Teile des Designers: Werkzeugleiste, Komponentenliste, Arbeitsfläche und Statusleiste.\n\nDer Designer ist der einzige Bildschirm von LessCode. Er zeigt deinen Flow und lässt dich ihn ändern.\n\n![Der Designer mit der Werkzeugleiste oben, der Komponentenliste links und mehreren Flows auf der Arbeitsfläche](/files/Jap1ZV26O61f.webp)\n\n## Werkzeugleiste\n\n![Die Schaltflächen der Werkzeugleiste](/files/Jap1ZX27O60f.webp)\n\nVon links nach rechts:\n\n| Schaltfläche | Funktion |\n|---|---|\n| **APPLY** | Startet deine Änderungen auf dem Server. Mehr dazu unter [Übernehmen und speichern](../apply-and-save/). |\n| **Add** (Plus) | Öffnet das Menü, um Komponenten herunterzuladen, einen HTTP-Endpunkt zu verknüpfen, Nodes einzufügen, das Design herunterzuladen oder die Arbeitsfläche zu leeren. |\n| **Variables** | Öffnet die [Variablen](../variables/) des Flows. |\n| **Console** | Öffnet den Bereich [Console](../console/) unten. |\n| **Activities** | Öffnet die Liste der Aktivitäten, die Nodes melden. Gibt es keine, steht dort **No activities**. |\n| **Search in nodes** | Findet Nodes anhand ihrer Einstellungen. Mehr dazu unter [In Nodes suchen](../search-nodes/). |\n| **Zoom** | Zoomt die Arbeitsfläche heraus. Wähle die Schaltfläche noch einmal, um zu 100 % zurückzukehren. |\n| **Pause** | Pausiert den ganzen Flow. Mehr dazu unter [Den Flow pausieren](../pause-flow/). |\n\n## Komponentenliste\n\nDie Liste links zeigt die Komponenten, die du verwenden kannst, nach Kategorien gruppiert. Tippe in **Search components**, um sie zu filtern. Ziehe eine Komponente auf die Arbeitsfläche, um einen Node hinzuzufügen. **Group** ganz oben fügt eine [Gruppe](../organize-canvas/) hinzu.\n\nEin neuer Flow hat nur **Print**, **Console debug** und **Trigger**. Weitere bekommst du über [Komponenten herunterladen](../download-components/).\n\n## Arbeitsfläche\n\nAuf der Arbeitsfläche liegen deine Nodes und die Verbindungen zwischen ihnen. Scrolle, um dich zu bewegen. Doppelklicke auf einen Node, um seine Einstellungen zu öffnen, und klicke mit der rechten Maustaste darauf für weitere Aktionen.\n\n## Statusleiste\n\n![Die Statusleiste mit den Zählern für Nachrichten, ausstehende Nachrichten, pro Minute, Fehler und Speicher](/files/Jap1ZY28O61f.webp)\n\n| Zähler | Bedeutung |\n|---|---|\n| **Messages** | Nachrichten, die der Flow verarbeitet hat. |\n| **Pending** | Nachrichten, die noch verarbeitet werden. |\n| **Per minute** | Nachrichten in der letzten Minute. |\n| **Errors** | Fehler, die Nodes ausgelöst haben. Mehr dazu unter [Fehler](../errors/). |\n| **Memory** | Speicher, den der Flow belegt. |\n\nDie letzten beiden Werte zeigen die Daten, die der Designer über seine Verbindung zum Server empfängt und sendet.\n","entries":[],"license":"MIT","updated":"2026-11-19T04:41:08.077Z"}
{"id":"Jap1Za29O60f-es","url":"https://totaljs.es/docs/es/lesscode/1-0/guides/designer-overview/","project":"lesscode","version":"1-0","section":"guides","language":"es","title":"El diseñador","summary":"Las partes de la pantalla del diseñador: barra de herramientas, lista de componentes, lienzo y barra de estado.","markdown":"---\ntitle: \"El diseñador\"\nproject: Total.js LessCode\nversion: 1.0\nsection: guides\nlanguage: es\nlicense: MIT\nurl: https://totaljs.es/docs/es/lesscode/1-0/guides/designer-overview/\nupdated: 2026-11-19T04:41:08.077Z\n---\n\n# El diseñador\n\n> Las partes de la pantalla del diseñador: barra de herramientas, lista de componentes, lienzo y barra de estado.\n\nEl diseñador es la única pantalla de LessCode. Muestra tu flujo y te permite cambiarlo.\n\n![El diseñador con la barra de herramientas arriba, la lista de componentes a la izquierda y varios flujos en el lienzo](/files/Jap1ZV26O61f.webp)\n\n## Barra de herramientas\n\n![Los botones de la barra de herramientas](/files/Jap1ZX27O60f.webp)\n\nDe izquierda a derecha:\n\n| Botón | Qué hace |\n|---|---|\n| **APPLY** | Pone en marcha tus cambios en el servidor. Consulta [Aplicar y guardar](../apply-and-save/). |\n| **Add** (signo más) | Abre el menú para descargar componentes, enlazar un endpoint HTTP, pegar nodos, descargar el diseño o vaciar el lienzo. |\n| **Variables** | Abre las [variables](../variables/) del flujo. |\n| **Console** | Abre el panel [Console](../console/) en la parte inferior. |\n| **Activities** | Abre la lista de actividades que informan los nodos. Muestra **No activities** cuando no hay ninguna. |\n| **Search in nodes** | Busca nodos por sus ajustes. Consulta [Buscar en los nodos](../search-nodes/). |\n| **Zoom** | Aleja el lienzo. Selecciónalo de nuevo para volver al 100 %. |\n| **Pause** | Pausa todo el flujo. Consulta [Pausar el flujo](../pause-flow/). |\n\n## Lista de componentes\n\nLa lista de la izquierda muestra los componentes que puedes usar, agrupados por categoría. Escribe en **Search components** para filtrarla. Arrastra un componente al lienzo para añadir un nodo. **Group**, arriba del todo, añade un [grupo](../organize-canvas/).\n\nUn flujo nuevo solo tiene **Print**, **Console debug** y **Trigger**. Añade más con [Descargar componentes](../download-components/).\n\n## Lienzo\n\nEl lienzo contiene tus nodos y las conexiones entre ellos. Desplázate para moverte por él. Haz doble clic en un nodo para abrir sus ajustes y clic derecho para ver más acciones.\n\n## Barra de estado\n\n![La barra de estado con los contadores de mensajes, pendientes, por minuto, errores y memoria](/files/Jap1ZY28O61f.webp)\n\n| Contador | Significado |\n|---|---|\n| **Messages** | Mensajes procesados por el flujo. |\n| **Pending** | Mensajes que aún se están procesando. |\n| **Per minute** | Mensajes del último minuto. |\n| **Errors** | Errores generados por los nodos. Consulta [Errores](../errors/). |\n| **Memory** | Memoria que usa el flujo. |\n\nLos dos últimos valores muestran los datos que el diseñador recibe y envía por su conexión con el servidor.\n","entries":[],"license":"MIT","updated":"2026-11-19T04:41:08.077Z"}
{"id":"Jap1Za29O60f-fr","url":"https://totaljs.es/docs/fr/lesscode/1-0/guides/designer-overview/","project":"lesscode","version":"1-0","section":"guides","language":"fr","title":"Le designer","summary":"Les parties de l’écran du designer : barre d’outils, liste des composants, canevas et barre d’état.","markdown":"---\ntitle: Le designer\nproject: Total.js LessCode\nversion: 1.0\nsection: guides\nlanguage: fr\nlicense: MIT\nurl: https://totaljs.es/docs/fr/lesscode/1-0/guides/designer-overview/\nupdated: 2026-11-19T04:41:08.077Z\n---\n\n# Le designer\n\n> Les parties de l’écran du designer : barre d’outils, liste des composants, canevas et barre d’état.\n\nLe designer est le seul écran de LessCode. Il affiche ton flux et te permet de le modifier.\n\n![Le designer avec la barre d’outils en haut, la liste des composants à gauche et plusieurs flux sur le canevas](/files/Jap1ZV26O61f.webp)\n\n## Barre d’outils\n\n![Les boutons de la barre d’outils](/files/Jap1ZX27O60f.webp)\n\nDe gauche à droite :\n\n| Bouton | Ce qu’il fait |\n|---|---|\n| **APPLY** | Démarre tes modifications sur le serveur. Consulte [Appliquer et enregistrer](../apply-and-save/). |\n| **Add** (plus) | Ouvre le menu pour télécharger des composants, lier un endpoint HTTP, coller des nœuds, télécharger le design ou vider le canevas. |\n| **Variables** | Ouvre les [variables](../variables/) du flux. |\n| **Console** | Ouvre le panneau [Console](../console/) en bas. |\n| **Activities** | Ouvre la liste des activités signalées par les nœuds. Elle affiche **No activities** quand il n’y en a aucune. |\n| **Search in nodes** | Trouve des nœuds d’après leurs réglages. Consulte [Rechercher dans les nœuds](../search-nodes/). |\n| **Zoom** | Fait un zoom arrière sur le canevas. Sélectionne-le de nouveau pour revenir à 100 %. |\n| **Pause** | Met tout le flux en pause. Consulte [Mettre le flux en pause](../pause-flow/). |\n\n## Liste des composants\n\nLa liste de gauche affiche les composants que tu peux utiliser, regroupés par catégorie. Écris dans **Search components** pour la filtrer. Fais glisser un composant sur le canevas pour ajouter un nœud. **Group**, en haut, ajoute un [groupe](../organize-canvas/).\n\nUn nouveau flux n’a que **Print**, **Console debug** et **Trigger**. Ajoutes-en d’autres avec [Télécharger des composants](../download-components/).\n\n## Canevas\n\nLe canevas contient tes nœuds et les connexions entre eux. Fais défiler pour te déplacer. Double-clique sur un nœud pour ouvrir ses réglages, et fais un clic droit dessus pour plus d’actions.\n\n## Barre d’état\n\n![La barre d’état avec les compteurs de messages, en attente, par minute, d’erreurs et de mémoire](/files/Jap1ZY28O61f.webp)\n\n| Compteur | Signification |\n|---|---|\n| **Messages** | Les messages traités par le flux. |\n| **Pending** | Les messages encore en cours de traitement. |\n| **Per minute** | Les messages de la dernière minute. |\n| **Errors** | Les erreurs levées par les nœuds. Consulte [Erreurs](../errors/). |\n| **Memory** | La mémoire utilisée par le flux. |\n\nLes deux dernières valeurs indiquent les données que le designer reçoit et envoie par sa connexion au serveur.\n","entries":[],"license":"MIT","updated":"2026-11-19T04:41:08.077Z"}
{"id":"Jap1Za29O60f-it","url":"https://totaljs.es/docs/it/lesscode/1-0/guides/designer-overview/","project":"lesscode","version":"1-0","section":"guides","language":"it","title":"Il designer","summary":"Le parti della schermata del designer: barra degli strumenti, elenco dei componenti, canvas e barra di stato.","markdown":"---\ntitle: Il designer\nproject: Total.js LessCode\nversion: 1.0\nsection: guides\nlanguage: it\nlicense: MIT\nurl: https://totaljs.es/docs/it/lesscode/1-0/guides/designer-overview/\nupdated: 2026-11-19T04:41:08.077Z\n---\n\n# Il designer\n\n> Le parti della schermata del designer: barra degli strumenti, elenco dei componenti, canvas e barra di stato.\n\nIl designer è l'unica schermata di LessCode. Mostra il tuo flusso e ti permette di modificarlo.\n\n![Il designer con la barra degli strumenti in alto, l'elenco dei componenti a sinistra e diversi flussi sul canvas](/files/Jap1ZV26O61f.webp)\n\n## Barra degli strumenti\n\n![I pulsanti della barra degli strumenti](/files/Jap1ZX27O60f.webp)\n\nDa sinistra a destra:\n\n| Pulsante | Cosa fa |\n|---|---|\n| **APPLY** | Avvia le tue modifiche sul server. Leggi [Applicare e salvare](../apply-and-save/). |\n| **Add** (più) | Apre il menu per scaricare componenti, collegare un endpoint HTTP, incollare nodi, scaricare il design o svuotare il canvas. |\n| **Variables** | Apre le [variabili](../variables/) del flusso. |\n| **Console** | Apre il pannello [Console](../console/) in basso. |\n| **Activities** | Apre l'elenco delle attività segnalate dai nodi. Mostra **No activities** quando non ce ne sono. |\n| **Search in nodes** | Trova i nodi in base alle loro impostazioni. Leggi [Cercare nei nodi](../search-nodes/). |\n| **Zoom** | Riduce lo zoom del canvas. Selezionalo di nuovo per tornare al 100%. |\n| **Pause** | Mette in pausa tutto il flusso. Leggi [Mettere in pausa il flusso](../pause-flow/). |\n\n## Elenco dei componenti\n\nL'elenco a sinistra mostra i componenti che puoi usare, raggruppati per categoria. Scrivi in **Search components** per filtrarlo. Trascina un componente sul canvas per aggiungere un nodo. **Group** in cima aggiunge un [gruppo](../organize-canvas/).\n\nUn flusso nuovo ha solo **Print**, **Console debug** e **Trigger**. Aggiungine altri con [Scaricare i componenti](../download-components/).\n\n## Canvas\n\nIl canvas contiene i tuoi nodi e le connessioni tra di loro. Scorri per spostarti. Fai doppio clic su un nodo per aprire le sue impostazioni e clic con il tasto destro per altre azioni.\n\n## Barra di stato\n\n![La barra di stato con i contatori di messaggi, in attesa, al minuto, errori e memoria](/files/Jap1ZY28O61f.webp)\n\n| Contatore | Significato |\n|---|---|\n| **Messages** | Messaggi elaborati dal flusso. |\n| **Pending** | Messaggi ancora in elaborazione. |\n| **Per minute** | Messaggi nell'ultimo minuto. |\n| **Errors** | Errori generati dai nodi. Leggi [Errori](../errors/). |\n| **Memory** | Memoria usata dal flusso. |\n\nGli ultimi due valori mostrano i dati che il designer riceve e invia attraverso la sua connessione al server.\n","entries":[],"license":"MIT","updated":"2026-11-19T04:41:08.077Z"}
{"id":"Jap1Za29O60f-sk","url":"https://totaljs.es/docs/sk/lesscode/1-0/guides/designer-overview/","project":"lesscode","version":"1-0","section":"guides","language":"sk","title":"Návrhár","summary":"Časti obrazovky návrhára: panel nástrojov, zoznam komponentov, plátno a stavový riadok.","markdown":"---\ntitle: \"Návrhár\"\nproject: Total.js LessCode\nversion: 1.0\nsection: guides\nlanguage: sk\nlicense: MIT\nurl: https://totaljs.es/docs/sk/lesscode/1-0/guides/designer-overview/\nupdated: 2026-11-19T04:41:08.077Z\n---\n\n# Návrhár\n\n> Časti obrazovky návrhára: panel nástrojov, zoznam komponentov, plátno a stavový riadok.\n\nNávrhár je jediná obrazovka LessCode. Ukazuje tvoj tok a umožňuje ti ho meniť.\n\n![Návrhár s panelom nástrojov hore, zoznamom komponentov vľavo a niekoľkými tokmi na plátne](/files/Jap1ZV26O61f.webp)\n\n## Panel nástrojov\n\n![Tlačidlá panela nástrojov](/files/Jap1ZX27O60f.webp)\n\nZľava doprava:\n\n| Tlačidlo | Čo robí |\n|---|---|\n| **APPLY** | Spustí tvoje zmeny na serveri. Pozri si [Použi a ulož zmeny](../apply-and-save/). |\n| **Add** (plus) | Otvorí ponuku, v ktorej môžeš stiahnuť komponenty, pripojiť HTTP endpoint, vložiť uzly, stiahnuť návrh alebo vyčistiť plátno. |\n| **Variables** | Otvorí [premenné](../variables/) toku. |\n| **Console** | Otvorí panel [Console](../console/) v dolnej časti. |\n| **Activities** | Otvorí zoznam aktivít, ktoré hlásia uzly. Keď žiadne nie sú, ukazuje **No activities**. |\n| **Search in nodes** | Nájde uzly podľa ich nastavení. Pozri si [Hľadaj v uzloch](../search-nodes/). |\n| **Zoom** | Oddiali plátno. Ďalším výberom sa vrátiš na 100 %. |\n| **Pause** | Pozastaví celý tok. Pozri si [Pozastav tok](../pause-flow/). |\n\n## Zoznam komponentov\n\nZoznam vľavo ukazuje komponenty, ktoré môžeš použiť, zoskupené podľa kategórie. Ak ho chceš filtrovať, píš do poľa **Search components**. Uzol pridáš tak, že komponent pretiahneš na plátno. **Group** hore pridá [skupinu](../organize-canvas/).\n\nNový tok má len **Print**, **Console debug** a **Trigger**. Ďalšie pridáš cez [Stiahni komponenty](../download-components/).\n\n## Plátno\n\nNa plátne sú tvoje uzly a prepojenia medzi nimi. Po plátne sa pohybuješ posúvaním. Dvojklikom na uzol otvoríš jeho nastavenia a pravým tlačidlom ďalšie akcie.\n\n## Stavový riadok\n\n![Stavový riadok s počítadlami správ, čakajúcich správ, správ za minútu, chýb a pamäte](/files/Jap1ZY28O61f.webp)\n\n| Počítadlo | Význam |\n|---|---|\n| **Messages** | Správy, ktoré tok spracoval. |\n| **Pending** | Správy, ktoré sa ešte spracúvajú. |\n| **Per minute** | Správy za poslednú minútu. |\n| **Errors** | Chyby, ktoré vyvolali uzly. Pozri si [Chyby](../errors/). |\n| **Memory** | Pamäť, ktorú tok používa. |\n\nPosledné dve hodnoty ukazujú dáta, ktoré návrhár prijíma a posiela cez svoje spojenie so serverom.\n","entries":[],"license":"MIT","updated":"2026-11-19T04:41:08.077Z"}
{"id":"Jap1Zh2DO60f","url":"https://totaljs.es/docs/lesscode/1-0/guides/download-components/","project":"lesscode","version":"1-0","section":"guides","language":"en","title":"Download components","summary":"Add ready-made components, such as Route, Response, Code and Timer, from the Total.js catalog.","markdown":"---\ntitle: Download components\nproject: LessCode\nversion: 1.0\nsection: guides\nlanguage: en\nlicense: MIT\nurl: https://totaljs.es/docs/lesscode/1-0/guides/download-components/\nupdated: 2026-11-19T04:41:08.768Z\n---\n\n# Download components\n\n> Add ready-made components, such as Route, Response, Code and Timer, from the Total.js catalog.\n\nA new flow has only three components. The Total.js catalog has many more: HTTP routes and responses, code, timers, files, databases and more. The designer reads the catalog from the internet, so the browser needs internet access.\n\n## Download a component\n\n1. Select **Add** (plus) in the toolbar.\n2. Select **Download components**.\n\n![The Add menu](/files/Jap1Zd2BO60f.webp)\n\n3. Type in **Search components** to find a component, or scroll the groups.\n4. Select the component, then select **IMPORT** to confirm.\n5. Select **Close** when you have all the components you need.\n\n![The Download components window with the catalog grouped by category](/files/Jap1Zf2CO61f.webp)\n\nInstalled components are highlighted in the catalog. The component appears in the list on the left, under its group, ready to drag onto the canvas. Select **Read me** on a component to read its description before you import it.\n\nComponents marked **Community** were written by authors outside Total.js.\n\n## Components used in these pages\n\n| Component | Group in the catalog | Used in |\n|---|---|---|\n| **Route** | Total.js | [Create a GET endpoint](../../recipes/get-endpoint/) |\n| **Response** | Total.js | [Create a GET endpoint](../../recipes/get-endpoint/) |\n| **Code** | Common | [Code](../../reference/code/) |\n| **Timer** | Triggers | [Run a workflow on a schedule](../../recipes/scheduled-workflow/) |\n| **Crontab** | Triggers | [Run a workflow on a schedule](../../recipes/scheduled-workflow/) |\n\nComponents are saved in the [flow file](../../reference/flow-file/), so they stay after a restart.\n\n## Remove a component from the list\n\nRight-click the component in the list on the left, select **Remove**, then select **Remove** again to confirm.\n","entries":[],"license":"MIT","updated":"2026-11-19T04:41:08.768Z"}
{"id":"Jap1Zh2DO60f-de","url":"https://totaljs.es/docs/de/lesscode/1-0/guides/download-components/","project":"lesscode","version":"1-0","section":"guides","language":"de","title":"Komponenten herunterladen","summary":"Füge fertige Komponenten wie Route, Response, Code und Timer aus dem Total.js-Katalog hinzu.","markdown":"---\ntitle: Komponenten herunterladen\nproject: Total.js LessCode\nversion: 1.0\nsection: guides\nlanguage: de\nlicense: MIT\nurl: https://totaljs.es/docs/de/lesscode/1-0/guides/download-components/\nupdated: 2026-11-19T04:41:08.768Z\n---\n\n# Komponenten herunterladen\n\n> Füge fertige Komponenten wie Route, Response, Code und Timer aus dem Total.js-Katalog hinzu.\n\nEin neuer Flow hat nur drei Komponenten. Der Total.js-Katalog hat viel mehr: HTTP-Routen und -Antworten, Code, Timer, Dateien, Datenbanken und mehr. Der Designer liest den Katalog aus dem Internet, daher braucht der Browser einen Internetzugang.\n\n## Eine Komponente herunterladen\n\n1. Wähle **Add** (Hinzufügen, das Plus-Symbol) in der Werkzeugleiste.\n2. Wähle **Download components**.\n\n![Das Menü Add](/files/Jap1Zd2BO60f.webp)\n\n3. Tippe in **Search components**, um eine Komponente zu finden, oder scrolle durch die Gruppen.\n4. Wähle die Komponente und bestätige mit **IMPORT**.\n5. Wähle **Close**, wenn du alle Komponenten hast, die du brauchst.\n\n![Das Fenster Download components mit dem nach Kategorien gruppierten Katalog](/files/Jap1Zf2CO61f.webp)\n\nInstallierte Komponenten sind im Katalog hervorgehoben. Die Komponente erscheint in der Liste links unter ihrer Gruppe und ist bereit, auf die Arbeitsfläche gezogen zu werden. Wähle **Read me** bei einer Komponente, um ihre Beschreibung zu lesen, bevor du sie importierst.\n\nKomponenten mit der Markierung **Community** stammen von Autoren außerhalb von Total.js.\n\n## Komponenten, die auf diesen Seiten vorkommen\n\n| Komponente | Gruppe im Katalog | Verwendet in |\n|---|---|---|\n| **Route** | Total.js | [Einen GET-Endpunkt erstellen](../../recipes/get-endpoint/) |\n| **Response** | Total.js | [Einen GET-Endpunkt erstellen](../../recipes/get-endpoint/) |\n| **Code** | Common | [Code](../../reference/code/) |\n| **Timer** | Triggers | [Einen Workflow nach Zeitplan ausführen](../../recipes/scheduled-workflow/) |\n| **Crontab** | Triggers | [Einen Workflow nach Zeitplan ausführen](../../recipes/scheduled-workflow/) |\n\nKomponenten werden in der [Flow-Datei](../../reference/flow-file/) gespeichert und bleiben daher nach einem Neustart erhalten.\n\n## Eine Komponente aus der Liste entfernen\n\nKlicke mit der rechten Maustaste auf die Komponente in der Liste links, wähle **Remove** und bestätige noch einmal mit **Remove**.\n","entries":[],"license":"MIT","updated":"2026-11-19T04:41:08.768Z"}
{"id":"Jap1Zh2DO60f-es","url":"https://totaljs.es/docs/es/lesscode/1-0/guides/download-components/","project":"lesscode","version":"1-0","section":"guides","language":"es","title":"Descargar componentes","summary":"Añade componentes listos para usar, como Route, Response, Code y Timer, desde el catálogo de Total.js.","markdown":"---\ntitle: Descargar componentes\nproject: Total.js LessCode\nversion: 1.0\nsection: guides\nlanguage: es\nlicense: MIT\nurl: https://totaljs.es/docs/es/lesscode/1-0/guides/download-components/\nupdated: 2026-11-19T04:41:08.768Z\n---\n\n# Descargar componentes\n\n> Añade componentes listos para usar, como Route, Response, Code y Timer, desde el catálogo de Total.js.\n\nUn flujo nuevo solo tiene tres componentes. El catálogo de Total.js tiene muchos más: rutas y respuestas HTTP, código, temporizadores, archivos, bases de datos y más. El diseñador lee el catálogo desde internet, así que el navegador necesita acceso a internet.\n\n## Descarga un componente\n\n1. Selecciona **Add** (añadir, el signo más) en la barra de herramientas.\n2. Selecciona **Download components** (descargar componentes).\n\n![El menú Add](/files/Jap1Zd2BO60f.webp)\n\n3. Escribe en **Search components** para encontrar un componente, o recorre los grupos.\n4. Selecciona el componente y después **IMPORT** para confirmar.\n5. Selecciona **Close** cuando tengas todos los componentes que necesitas.\n\n![La ventana Download components con el catálogo agrupado por categoría](/files/Jap1Zf2CO61f.webp)\n\nLos componentes instalados aparecen resaltados en el catálogo. El componente aparece en la lista de la izquierda, dentro de su grupo, listo para arrastrarlo al lienzo. Selecciona **Read me** en un componente para leer su descripción antes de importarlo.\n\nLos componentes marcados como **Community** los han escrito autores ajenos a Total.js.\n\n## Componentes que se usan en estas páginas\n\n| Componente | Grupo en el catálogo | Se usa en |\n|---|---|---|\n| **Route** | Total.js | [Crear un endpoint GET](../../recipes/get-endpoint/) |\n| **Response** | Total.js | [Crear un endpoint GET](../../recipes/get-endpoint/) |\n| **Code** | Common | [Code](../../reference/code/) |\n| **Timer** | Triggers | [Ejecutar un flujo de trabajo según un horario](../../recipes/scheduled-workflow/) |\n| **Crontab** | Triggers | [Ejecutar un flujo de trabajo según un horario](../../recipes/scheduled-workflow/) |\n\nLos componentes se guardan en el [archivo del flujo](../../reference/flow-file/), así que siguen ahí después de reiniciar.\n\n## Quita un componente de la lista\n\nHaz clic derecho en el componente en la lista de la izquierda, selecciona **Remove** y después selecciona **Remove** otra vez para confirmar.\n","entries":[],"license":"MIT","updated":"2026-11-19T04:41:08.768Z"}
{"id":"Jap1Zh2DO60f-fr","url":"https://totaljs.es/docs/fr/lesscode/1-0/guides/download-components/","project":"lesscode","version":"1-0","section":"guides","language":"fr","title":"Télécharger des composants","summary":"Ajoute des composants prêts à l’emploi, comme Route, Response, Code et Timer, depuis le catalogue Total.js.","markdown":"---\ntitle: \"Télécharger des composants\"\nproject: Total.js LessCode\nversion: 1.0\nsection: guides\nlanguage: fr\nlicense: MIT\nurl: https://totaljs.es/docs/fr/lesscode/1-0/guides/download-components/\nupdated: 2026-11-19T04:41:08.768Z\n---\n\n# Télécharger des composants\n\n> Ajoute des composants prêts à l’emploi, comme Route, Response, Code et Timer, depuis le catalogue Total.js.\n\nUn nouveau flux n’a que trois composants. Le catalogue Total.js en contient beaucoup d’autres : routes et réponses HTTP, code, minuteurs, fichiers, bases de données et plus encore. Le designer lit le catalogue sur Internet, donc le navigateur a besoin d’un accès à Internet.\n\n## Télécharger un composant\n\n1. Sélectionne **Add** (plus) dans la barre d’outils.\n2. Sélectionne **Download components** (télécharger des composants).\n\n![Le menu Add](/files/Jap1Zd2BO60f.webp)\n\n3. Écris dans **Search components** pour trouver un composant, ou fais défiler les groupes.\n4. Sélectionne le composant, puis sélectionne **IMPORT** pour confirmer.\n5. Sélectionne **Close** quand tu as tous les composants dont tu as besoin.\n\n![La fenêtre Download components avec le catalogue regroupé par catégorie](/files/Jap1Zf2CO61f.webp)\n\nLes composants installés sont mis en évidence dans le catalogue. Le composant apparaît dans la liste de gauche, sous son groupe, prêt à être glissé sur le canevas. Sélectionne **Read me** sur un composant pour lire sa description avant de l’importer.\n\nLes composants marqués **Community** ont été écrits par des auteurs extérieurs à Total.js.\n\n## Les composants utilisés dans ces pages\n\n| Composant | Groupe dans le catalogue | Utilisé dans |\n|---|---|---|\n| **Route** | Total.js | [Créer un endpoint GET](../../recipes/get-endpoint/) |\n| **Response** | Total.js | [Créer un endpoint GET](../../recipes/get-endpoint/) |\n| **Code** | Common | [Code](../../reference/code/) |\n| **Timer** | Triggers | [Exécuter un workflow selon un planning](../../recipes/scheduled-workflow/) |\n| **Crontab** | Triggers | [Exécuter un workflow selon un planning](../../recipes/scheduled-workflow/) |\n\nLes composants sont enregistrés dans le [fichier de flux](../../reference/flow-file/), donc ils restent après un redémarrage.\n\n## Retirer un composant de la liste\n\nFais un clic droit sur le composant dans la liste de gauche, sélectionne **Remove**, puis sélectionne de nouveau **Remove** pour confirmer.\n","entries":[],"license":"MIT","updated":"2026-11-19T04:41:08.768Z"}
{"id":"Jap1Zh2DO60f-it","url":"https://totaljs.es/docs/it/lesscode/1-0/guides/download-components/","project":"lesscode","version":"1-0","section":"guides","language":"it","title":"Scaricare i componenti","summary":"Aggiungi componenti pronti all'uso, come Route, Response, Code e Timer, dal catalogo di Total.js.","markdown":"---\ntitle: Scaricare i componenti\nproject: Total.js LessCode\nversion: 1.0\nsection: guides\nlanguage: it\nlicense: MIT\nurl: https://totaljs.es/docs/it/lesscode/1-0/guides/download-components/\nupdated: 2026-11-19T04:41:08.768Z\n---\n\n# Scaricare i componenti\n\n> Aggiungi componenti pronti all'uso, come Route, Response, Code e Timer, dal catalogo di Total.js.\n\nUn flusso nuovo ha solo tre componenti. Il catalogo di Total.js ne ha molti di più: route e risposte HTTP, codice, timer, file, database e altro ancora. Il designer legge il catalogo da internet, quindi il browser deve avere accesso a internet.\n\n## Scaricare un componente\n\n1. Seleziona **Add** (più) nella barra degli strumenti.\n2. Seleziona **Download components**.\n\n![Il menu Add](/files/Jap1Zd2BO60f.webp)\n\n3. Scrivi in **Search components** per trovare un componente, oppure scorri i gruppi.\n4. Seleziona il componente, poi seleziona **IMPORT** per confermare.\n5. Seleziona **Close** quando hai tutti i componenti che ti servono.\n\n![La finestra Download components con il catalogo raggruppato per categoria](/files/Jap1Zf2CO61f.webp)\n\nI componenti installati sono evidenziati nel catalogo. Il componente compare nell'elenco a sinistra, sotto il suo gruppo, pronto da trascinare sul canvas. Seleziona **Read me** su un componente per leggerne la descrizione prima di importarlo.\n\nI componenti segnati come **Community** sono stati scritti da autori esterni a Total.js.\n\n## Componenti usati in queste pagine\n\n| Componente | Gruppo nel catalogo | Usato in |\n|---|---|---|\n| **Route** | Total.js | [Creare un endpoint GET](../../recipes/get-endpoint/) |\n| **Response** | Total.js | [Creare un endpoint GET](../../recipes/get-endpoint/) |\n| **Code** | Common | [Code](../../reference/code/) |\n| **Timer** | Triggers | [Eseguire un workflow a orari programmati](../../recipes/scheduled-workflow/) |\n| **Crontab** | Triggers | [Eseguire un workflow a orari programmati](../../recipes/scheduled-workflow/) |\n\nI componenti vengono salvati nel [file del flusso](../../reference/flow-file/), quindi restano anche dopo un riavvio.\n\n## Rimuovere un componente dall'elenco\n\nFai clic con il tasto destro sul componente nell'elenco a sinistra, seleziona **Remove**, poi seleziona di nuovo **Remove** per confermare.\n","entries":[],"license":"MIT","updated":"2026-11-19T04:41:08.768Z"}
{"id":"Jap1Zh2DO60f-sk","url":"https://totaljs.es/docs/sk/lesscode/1-0/guides/download-components/","project":"lesscode","version":"1-0","section":"guides","language":"sk","title":"Stiahni komponenty","summary":"Pridaj hotové komponenty, napríklad Route, Response, Code a Timer, z katalógu Total.js.","markdown":"---\ntitle: Stiahni komponenty\nproject: Total.js LessCode\nversion: 1.0\nsection: guides\nlanguage: sk\nlicense: MIT\nurl: https://totaljs.es/docs/sk/lesscode/1-0/guides/download-components/\nupdated: 2026-11-19T04:41:08.768Z\n---\n\n# Stiahni komponenty\n\n> Pridaj hotové komponenty, napríklad Route, Response, Code a Timer, z katalógu Total.js.\n\nNový tok má len tri komponenty. Katalóg Total.js ich má oveľa viac: HTTP routy a odpovede, kód, časovače, súbory, databázy a ďalšie. Návrhár číta katalóg z internetu, takže prehliadač potrebuje prístup na internet.\n\n## Stiahnutie komponentu\n\n1. Na paneli nástrojov vyber **Add** (plus).\n2. Vyber **Download components** (stiahnuť komponenty).\n\n![Ponuka Add](/files/Jap1Zd2BO60f.webp)\n\n3. Komponent nájdeš, keď píšeš do poľa **Search components**, alebo keď prechádzaš skupiny.\n4. Vyber komponent a potvrď tlačidlom **IMPORT**.\n5. Keď máš všetky komponenty, ktoré potrebuješ, vyber **Close**.\n\n![Okno Download components s katalógom zoskupeným podľa kategórie](/files/Jap1Zf2CO61f.webp)\n\nNainštalované komponenty sú v katalógu zvýraznené. Komponent sa objaví v zozname vľavo, vo svojej skupine, pripravený na pretiahnutie na plátno. Ak si chceš pred importom prečítať popis komponentu, vyber na ňom **Read me**.\n\nKomponenty označené **Community** napísali autori mimo Total.js.\n\n## Komponenty použité v týchto stránkach\n\n| Komponent | Skupina v katalógu | Použitý v |\n|---|---|---|\n| **Route** | Total.js | [Vytvor GET endpoint](../../recipes/get-endpoint/) |\n| **Response** | Total.js | [Vytvor GET endpoint](../../recipes/get-endpoint/) |\n| **Code** | Common | [Code](../../reference/code/) |\n| **Timer** | Triggers | [Spúšťaj pracovný postup podľa plánu](../../recipes/scheduled-workflow/) |\n| **Crontab** | Triggers | [Spúšťaj pracovný postup podľa plánu](../../recipes/scheduled-workflow/) |\n\nKomponenty sa ukladajú do [súboru toku](../../reference/flow-file/), takže po reštarte zostanú.\n\n## Odstránenie komponentu zo zoznamu\n\nKlikni na komponent v zozname vľavo pravým tlačidlom, vyber **Remove** a potom na potvrdenie znova **Remove**.\n","entries":[],"license":"MIT","updated":"2026-11-19T04:41:08.768Z"}
{"id":"Jap1ZL20O61f","url":"https://totaljs.es/docs/lesscode/1-0/guides/build-a-flow/","project":"lesscode","version":"1-0","section":"guides","language":"en","title":"Build a flow","summary":"Add nodes to the canvas, connect them, configure them and start them.","markdown":"---\ntitle: Build a flow\nproject: LessCode\nversion: 1.0\nsection: guides\nlanguage: en\nlicense: MIT\nurl: https://totaljs.es/docs/lesscode/1-0/guides/build-a-flow/\nupdated: 2026-11-19T04:41:04.689Z\n---\n\n# Build a flow\n\n> Add nodes to the canvas, connect them, configure them and start them.\n\nA flow is a set of nodes joined by connections. Data travels from the output of one node to the input of the next.\n\n## Add a node\n\nDrag a component from the list on the left and drop it on an empty part of the canvas. The new node is marked as new until you apply.\n\n## Connect two nodes\n\nDrag from the dot of an output (on the right side of a node) to the dot of an input (on the left side of another node). A line joins them. An output can go to several inputs.\n\n## Configure a node\n\n1. Double-click the node, or right-click it and select **Configure**.\n2. Change the settings in the window that opens.\n3. Select **APPLY** at the bottom of the window.\n\nWhen **Close after applying** is ticked, the window closes after you apply. Select **Read me** in the window to read about the component.\n\n## Start your changes\n\nSelect **APPLY** in the toolbar, then select **Continue**. See [Apply and save](../apply-and-save/).\n\n## Other node actions\n\nRight-click a node to see its menu:\n\n| Item | What it does |\n|---|---|\n| **Read information** | Shows the description of the component. |\n| **Set a note** | Adds a note to the node. See [Organize the canvas](../organize-canvas/). |\n| **Configure** | Opens the settings. |\n| **Clone** | Adds a copy of the node with the same settings. Select **APPLY** to start it. |\n| **Remove** | Removes the node. See [Remove nodes](../remove-nodes/). |\n\nFor a complete example, see [Create a GET endpoint](../../recipes/get-endpoint/).\n","entries":[],"license":"MIT","updated":"2026-11-19T04:41:04.689Z"}
{"id":"Jap1ZL20O61f-de","url":"https://totaljs.es/docs/de/lesscode/1-0/guides/build-a-flow/","project":"lesscode","version":"1-0","section":"guides","language":"de","title":"Einen Flow bauen","summary":"Füge Nodes zur Arbeitsfläche hinzu, verbinde und konfiguriere sie und starte sie.","markdown":"---\ntitle: Einen Flow bauen\nproject: Total.js LessCode\nversion: 1.0\nsection: guides\nlanguage: de\nlicense: MIT\nurl: https://totaljs.es/docs/de/lesscode/1-0/guides/build-a-flow/\nupdated: 2026-11-19T04:41:04.689Z\n---\n\n# Einen Flow bauen\n\n> Füge Nodes zur Arbeitsfläche hinzu, verbinde und konfiguriere sie und starte sie.\n\nEin Flow ist eine Reihe von Nodes, die durch Verbindungen verknüpft sind. Die Daten wandern vom Ausgang eines Nodes zum Eingang des nächsten.\n\n## Einen Node hinzufügen\n\nZiehe eine Komponente aus der Liste links und lass sie auf einer freien Stelle der Arbeitsfläche los. Der neue Node ist als neu markiert, bis du übernimmst.\n\n## Zwei Nodes verbinden\n\nZiehe vom Punkt eines Ausgangs (rechts an einem Node) zum Punkt eines Eingangs (links an einem anderen Node). Eine Linie verbindet die beiden. Ein Ausgang kann zu mehreren Eingängen führen.\n\n## Einen Node konfigurieren\n\n1. Doppelklicke auf den Node oder klicke mit der rechten Maustaste darauf und wähle **Configure**.\n2. Ändere die Einstellungen im Fenster, das sich öffnet.\n3. Wähle **APPLY** unten im Fenster.\n\nIst **Close after applying** angehakt, schließt sich das Fenster nach dem Übernehmen. Wähle **Read me** im Fenster, um mehr über die Komponente zu lesen.\n\n## Deine Änderungen starten\n\nWähle **APPLY** in der Werkzeugleiste und dann **Continue**. Mehr dazu unter [Übernehmen und speichern](../apply-and-save/).\n\n## Weitere Aktionen für Nodes\n\nKlicke mit der rechten Maustaste auf einen Node, um sein Menü zu sehen:\n\n| Eintrag | Funktion |\n|---|---|\n| **Read information** | Zeigt die Beschreibung der Komponente. |\n| **Set a note** | Fügt dem Node eine Notiz hinzu. Mehr dazu unter [Die Arbeitsfläche ordnen](../organize-canvas/). |\n| **Configure** | Öffnet die Einstellungen. |\n| **Clone** | Fügt eine Kopie des Nodes mit denselben Einstellungen hinzu. Wähle **APPLY**, um sie zu starten. |\n| **Remove** | Entfernt den Node. Mehr dazu unter [Nodes entfernen](../remove-nodes/). |\n\nEin vollständiges Beispiel findest du unter [Einen GET-Endpunkt erstellen](../../recipes/get-endpoint/).\n","entries":[],"license":"MIT","updated":"2026-11-19T04:41:04.689Z"}
{"id":"Jap1ZL20O61f-es","url":"https://totaljs.es/docs/es/lesscode/1-0/guides/build-a-flow/","project":"lesscode","version":"1-0","section":"guides","language":"es","title":"Construir un flujo","summary":"Añade nodos al lienzo, conéctalos, configúralos y ponlos en marcha.","markdown":"---\ntitle: Construir un flujo\nproject: Total.js LessCode\nversion: 1.0\nsection: guides\nlanguage: es\nlicense: MIT\nurl: https://totaljs.es/docs/es/lesscode/1-0/guides/build-a-flow/\nupdated: 2026-11-19T04:41:04.689Z\n---\n\n# Construir un flujo\n\n> Añade nodos al lienzo, conéctalos, configúralos y ponlos en marcha.\n\nUn flujo es un conjunto de nodos unidos por conexiones. Los datos viajan desde la salida de un nodo hasta la entrada del siguiente.\n\n## Añade un nodo\n\nArrastra un componente desde la lista de la izquierda y suéltalo en una zona vacía del lienzo. El nodo nuevo aparece marcado como nuevo hasta que aplicas.\n\n## Conecta dos nodos\n\nArrastra desde el punto de una salida (en el lado derecho de un nodo) hasta el punto de una entrada (en el lado izquierdo de otro nodo). Una línea los une. Una salida puede ir a varias entradas.\n\n## Configura un nodo\n\n1. Haz doble clic en el nodo, o haz clic derecho en él y selecciona **Configure** (configurar).\n2. Cambia los ajustes en la ventana que se abre.\n3. Selecciona **APPLY** en la parte inferior de la ventana.\n\nSi **Close after applying** (cerrar después de aplicar) está marcado, la ventana se cierra al aplicar. Selecciona **Read me** en la ventana para leer sobre el componente.\n\n## Pon en marcha tus cambios\n\nSelecciona **APPLY** en la barra de herramientas y después **Continue**. Consulta [Aplicar y guardar](../apply-and-save/).\n\n## Otras acciones de los nodos\n\nHaz clic derecho en un nodo para ver su menú:\n\n| Opción | Qué hace |\n|---|---|\n| **Read information** | Muestra la descripción del componente. |\n| **Set a note** | Añade una nota al nodo. Consulta [Organizar el lienzo](../organize-canvas/). |\n| **Configure** | Abre los ajustes. |\n| **Clone** | Añade una copia del nodo con los mismos ajustes. Selecciona **APPLY** para ponerla en marcha. |\n| **Remove** | Elimina el nodo. Consulta [Eliminar nodos](../remove-nodes/). |\n\nPara ver un ejemplo completo, consulta [Crear un endpoint GET](../../recipes/get-endpoint/).\n","entries":[],"license":"MIT","updated":"2026-11-19T04:41:04.689Z"}
{"id":"Jap1ZL20O61f-fr","url":"https://totaljs.es/docs/fr/lesscode/1-0/guides/build-a-flow/","project":"lesscode","version":"1-0","section":"guides","language":"fr","title":"Construire un flux","summary":"Ajoute des nœuds au canevas, connecte-les, configure-les et démarre-les.","markdown":"---\ntitle: Construire un flux\nproject: Total.js LessCode\nversion: 1.0\nsection: guides\nlanguage: fr\nlicense: MIT\nurl: https://totaljs.es/docs/fr/lesscode/1-0/guides/build-a-flow/\nupdated: 2026-11-19T04:41:04.689Z\n---\n\n# Construire un flux\n\n> Ajoute des nœuds au canevas, connecte-les, configure-les et démarre-les.\n\nUn flux est un ensemble de nœuds reliés par des connexions. Les données passent de la sortie d’un nœud à l’entrée du suivant.\n\n## Ajouter un nœud\n\nFais glisser un composant de la liste de gauche et dépose-le sur une partie vide du canevas. Le nouveau nœud est marqué comme nouveau jusqu’à ce que tu appliques.\n\n## Connecter deux nœuds\n\nFais glisser le point d’une sortie (sur le côté droit d’un nœud) jusqu’au point d’une entrée (sur le côté gauche d’un autre nœud). Une ligne les relie. Une sortie peut aller vers plusieurs entrées.\n\n## Configurer un nœud\n\n1. Double-clique sur le nœud, ou fais un clic droit dessus et sélectionne **Configure** (configurer).\n2. Modifie les réglages dans la fenêtre qui s’ouvre.\n3. Sélectionne **APPLY** en bas de la fenêtre.\n\nQuand **Close after applying** est coché, la fenêtre se ferme après l’application. Sélectionne **Read me** dans la fenêtre pour lire la description du composant.\n\n## Démarrer tes modifications\n\nSélectionne **APPLY** dans la barre d’outils, puis sélectionne **Continue**. Consulte [Appliquer et enregistrer](../apply-and-save/).\n\n## Les autres actions sur un nœud\n\nFais un clic droit sur un nœud pour voir son menu :\n\n| Élément | Ce qu’il fait |\n|---|---|\n| **Read information** | Affiche la description du composant. |\n| **Set a note** | Ajoute une note au nœud. Consulte [Organiser le canevas](../organize-canvas/). |\n| **Configure** | Ouvre les réglages. |\n| **Clone** | Ajoute une copie du nœud avec les mêmes réglages. Sélectionne **APPLY** pour la démarrer. |\n| **Remove** | Supprime le nœud. Consulte [Supprimer des nœuds](../remove-nodes/). |\n\nPour un exemple complet, consulte [Créer un endpoint GET](../../recipes/get-endpoint/).\n","entries":[],"license":"MIT","updated":"2026-11-19T04:41:04.689Z"}
{"id":"Jap1ZL20O61f-it","url":"https://totaljs.es/docs/it/lesscode/1-0/guides/build-a-flow/","project":"lesscode","version":"1-0","section":"guides","language":"it","title":"Costruire un flusso","summary":"Aggiungi nodi al canvas, collegali, configurali e avviali.","markdown":"---\ntitle: Costruire un flusso\nproject: Total.js LessCode\nversion: 1.0\nsection: guides\nlanguage: it\nlicense: MIT\nurl: https://totaljs.es/docs/it/lesscode/1-0/guides/build-a-flow/\nupdated: 2026-11-19T04:41:04.689Z\n---\n\n# Costruire un flusso\n\n> Aggiungi nodi al canvas, collegali, configurali e avviali.\n\nUn flusso è un insieme di nodi uniti da connessioni. I dati viaggiano dall'uscita di un nodo all'ingresso del successivo.\n\n## Aggiungere un nodo\n\nTrascina un componente dall'elenco a sinistra e rilascialo in una parte vuota del canvas. Il nuovo nodo resta segnato come nuovo finché non applichi.\n\n## Collegare due nodi\n\nTrascina dal punto di un'uscita (sul lato destro di un nodo) al punto di un ingresso (sul lato sinistro di un altro nodo). Una linea li unisce. Un'uscita può andare a più ingressi.\n\n## Configurare un nodo\n\n1. Fai doppio clic sul nodo, oppure fai clic con il tasto destro e seleziona **Configure**.\n2. Cambia le impostazioni nella finestra che si apre.\n3. Seleziona **APPLY** in fondo alla finestra.\n\nSe **Close after applying** è spuntato, la finestra si chiude dopo che hai applicato. Seleziona **Read me** nella finestra per leggere la descrizione del componente.\n\n## Avviare le modifiche\n\nSeleziona **APPLY** nella barra degli strumenti, poi seleziona **Continue**. Leggi [Applicare e salvare](../apply-and-save/).\n\n## Altre azioni sul nodo\n\nFai clic con il tasto destro su un nodo per vedere il suo menu:\n\n| Voce | Cosa fa |\n|---|---|\n| **Read information** | Mostra la descrizione del componente. |\n| **Set a note** | Aggiunge una nota al nodo. Leggi [Organizzare il canvas](../organize-canvas/). |\n| **Configure** | Apre le impostazioni. |\n| **Clone** | Aggiunge una copia del nodo con le stesse impostazioni. Seleziona **APPLY** per avviarla. |\n| **Remove** | Rimuove il nodo. Leggi [Rimuovere i nodi](../remove-nodes/). |\n\nPer un esempio completo, leggi [Creare un endpoint GET](../../recipes/get-endpoint/).\n","entries":[],"license":"MIT","updated":"2026-11-19T04:41:04.689Z"}
{"id":"Jap1ZL20O61f-sk","url":"https://totaljs.es/docs/sk/lesscode/1-0/guides/build-a-flow/","project":"lesscode","version":"1-0","section":"guides","language":"sk","title":"Vytvor tok","summary":"Pridaj uzly na plátno, prepoj ich, nastav ich a spusti ich.","markdown":"---\ntitle: Vytvor tok\nproject: Total.js LessCode\nversion: 1.0\nsection: guides\nlanguage: sk\nlicense: MIT\nurl: https://totaljs.es/docs/sk/lesscode/1-0/guides/build-a-flow/\nupdated: 2026-11-19T04:41:04.689Z\n---\n\n# Vytvor tok\n\n> Pridaj uzly na plátno, prepoj ich, nastav ich a spusti ich.\n\nTok je súbor uzlov spojených prepojeniami. Dáta putujú z výstupu jedného uzla do vstupu ďalšieho.\n\n## Pridanie uzla\n\nPretiahni komponent zo zoznamu vľavo a pusť ho na prázdne miesto na plátne. Nový uzol je označený ako nový, kým zmeny nepoužiješ.\n\n## Prepojenie dvoch uzlov\n\nPotiahni od bodky výstupu (na pravej strane uzla) k bodke vstupu (na ľavej strane iného uzla). Spojí ich čiara. Jeden výstup môže viesť do viacerých vstupov.\n\n## Nastavenie uzla\n\n1. Dvakrát klikni na uzol, alebo naň klikni pravým tlačidlom a vyber **Configure** (nastaviť).\n2. Zmeň nastavenia v okne, ktoré sa otvorí.\n3. V dolnej časti okna vyber **APPLY**.\n\nKeď je zaškrtnuté **Close after applying**, okno sa po použití zatvorí. Ak si chceš prečítať o komponente, vyber v okne **Read me**.\n\n## Spustenie zmien\n\nNa paneli nástrojov vyber **APPLY** a potom **Continue**. Pozri si [Použi a ulož zmeny](../apply-and-save/).\n\n## Ďalšie akcie s uzlom\n\nKlikni na uzol pravým tlačidlom a uvidíš jeho ponuku:\n\n| Položka | Čo robí |\n|---|---|\n| **Read information** | Zobrazí popis komponentu. |\n| **Set a note** | Pridá k uzlu poznámku. Pozri si [Usporiadaj plátno](../organize-canvas/). |\n| **Configure** | Otvorí nastavenia. |\n| **Clone** | Pridá kópiu uzla s rovnakými nastaveniami. Spustíš ju tlačidlom **APPLY**. |\n| **Remove** | Odstráni uzol. Pozri si [Odstráň uzly](../remove-nodes/). |\n\nCelý príklad nájdeš v článku [Vytvor GET endpoint](../../recipes/get-endpoint/).\n","entries":[],"license":"MIT","updated":"2026-11-19T04:41:04.689Z"}
{"id":"Jap1ZG1wO61f","url":"https://totaljs.es/docs/lesscode/1-0/guides/apply-and-save/","project":"lesscode","version":"1-0","section":"guides","language":"en","title":"Apply and save","summary":"When your changes start to run and when LessCode writes them to the flow file.","markdown":"---\ntitle: Apply and save\nproject: LessCode\nversion: 1.0\nsection: guides\nlanguage: en\nlicense: MIT\nurl: https://totaljs.es/docs/lesscode/1-0/guides/apply-and-save/\nupdated: 2026-11-19T04:41:04.689Z\n---\n\n# Apply and save\n\n> When your changes start to run and when LessCode writes them to the flow file.\n\nSome changes start at once and some wait for **APPLY**.\n\n## Changes that need APPLY\n\nNew nodes, removed nodes and new or removed connections only run after you apply them:\n\n1. Select **APPLY** in the toolbar. It is highlighted while you have changes that are not applied.\n2. Select **Continue** to confirm.\n\n## Changes that start at once\n\nThese changes run as soon as you make them, without **APPLY**:\n\n- The settings of a node that is already applied, after you select **APPLY** in its settings window.\n- [Variables](../variables/), after you select **SUBMIT**.\n- [Notes](../organize-canvas/) and [groups](../organize-canvas/).\n- [Pause](../pause-flow/).\n\n## When LessCode saves\n\nLessCode writes your flow to the [flow file](../../reference/flow-file/) about five seconds after a change. If you stop LessCode sooner, the last change is lost. Wait a few seconds after your last change before you stop or restart it.\n\nAfter a restart, LessCode loads the flow from the file and runs it again.\n","entries":[],"license":"MIT","updated":"2026-11-19T04:41:04.689Z"}
{"id":"Jap1ZG1wO61f-de","url":"https://totaljs.es/docs/de/lesscode/1-0/guides/apply-and-save/","project":"lesscode","version":"1-0","section":"guides","language":"de","title":"Übernehmen und speichern","summary":"Wann deine Änderungen zu laufen beginnen und wann LessCode sie in die Flow-Datei schreibt.","markdown":"---\ntitle: \"Übernehmen und speichern\"\nproject: Total.js LessCode\nversion: 1.0\nsection: guides\nlanguage: de\nlicense: MIT\nurl: https://totaljs.es/docs/de/lesscode/1-0/guides/apply-and-save/\nupdated: 2026-11-19T04:41:04.689Z\n---\n\n# Übernehmen und speichern\n\n> Wann deine Änderungen zu laufen beginnen und wann LessCode sie in die Flow-Datei schreibt.\n\nManche Änderungen wirken sofort, andere warten auf **APPLY** (Übernehmen).\n\n## Änderungen, die APPLY brauchen\n\nNeue Nodes, entfernte Nodes sowie neue oder entfernte Verbindungen laufen erst, wenn du sie übernimmst:\n\n1. Wähle **APPLY** in der Werkzeugleiste. Die Schaltfläche ist hervorgehoben, solange du Änderungen hast, die noch nicht übernommen sind.\n2. Bestätige mit **Continue**.\n\n## Änderungen, die sofort wirken\n\nDiese Änderungen laufen, sobald du sie machst, ohne **APPLY**:\n\n- Die Einstellungen eines Nodes, der schon übernommen ist, nachdem du in seinem Einstellungsfenster **APPLY** gewählt hast.\n- [Variablen](../variables/), nachdem du **SUBMIT** gewählt hast.\n- [Notizen](../organize-canvas/) und [Gruppen](../organize-canvas/).\n- [Pause](../pause-flow/).\n\n## Wann LessCode speichert\n\nLessCode schreibt deinen Flow etwa fünf Sekunden nach einer Änderung in die [Flow-Datei](../../reference/flow-file/). Stoppst du LessCode früher, geht die letzte Änderung verloren. Warte nach deiner letzten Änderung ein paar Sekunden, bevor du es stoppst oder neu startest.\n\nNach einem Neustart lädt LessCode den Flow aus der Datei und führt ihn wieder aus.\n","entries":[],"license":"MIT","updated":"2026-11-19T04:41:04.689Z"}
{"id":"Jap1ZG1wO61f-es","url":"https://totaljs.es/docs/es/lesscode/1-0/guides/apply-and-save/","project":"lesscode","version":"1-0","section":"guides","language":"es","title":"Aplicar y guardar","summary":"Cuándo empiezan a funcionar tus cambios y cuándo los escribe LessCode en el archivo del flujo.","markdown":"---\ntitle: Aplicar y guardar\nproject: Total.js LessCode\nversion: 1.0\nsection: guides\nlanguage: es\nlicense: MIT\nurl: https://totaljs.es/docs/es/lesscode/1-0/guides/apply-and-save/\nupdated: 2026-11-19T04:41:04.689Z\n---\n\n# Aplicar y guardar\n\n> Cuándo empiezan a funcionar tus cambios y cuándo los escribe LessCode en el archivo del flujo.\n\nAlgunos cambios empiezan a funcionar al momento y otros esperan a **APPLY** (aplicar).\n\n## Cambios que necesitan APPLY\n\nLos nodos nuevos, los nodos eliminados y las conexiones nuevas o eliminadas solo funcionan después de aplicarlos:\n\n1. Selecciona **APPLY** en la barra de herramientas. Aparece resaltado mientras tienes cambios sin aplicar.\n2. Selecciona **Continue** (continuar) para confirmar.\n\n## Cambios que empiezan al momento\n\nEstos cambios funcionan en cuanto los haces, sin **APPLY**:\n\n- Los ajustes de un nodo que ya está aplicado, después de seleccionar **APPLY** en su ventana de ajustes.\n- Las [variables](../variables/), después de seleccionar **SUBMIT**.\n- Las [notas](../organize-canvas/) y los [grupos](../organize-canvas/).\n- La [pausa](../pause-flow/).\n\n## Cuándo guarda LessCode\n\nLessCode escribe tu flujo en el [archivo del flujo](../../reference/flow-file/) unos cinco segundos después de un cambio. Si detienes LessCode antes, pierdes el último cambio. Espera unos segundos tras tu último cambio antes de detenerlo o reiniciarlo.\n\nDespués de reiniciar, LessCode carga el flujo desde el archivo y lo vuelve a ejecutar.\n","entries":[],"license":"MIT","updated":"2026-11-19T04:41:04.689Z"}
{"id":"Jap1ZG1wO61f-fr","url":"https://totaljs.es/docs/fr/lesscode/1-0/guides/apply-and-save/","project":"lesscode","version":"1-0","section":"guides","language":"fr","title":"Appliquer et enregistrer","summary":"Quand tes modifications commencent à s’exécuter et quand LessCode les écrit dans le fichier de flux.","markdown":"---\ntitle: Appliquer et enregistrer\nproject: Total.js LessCode\nversion: 1.0\nsection: guides\nlanguage: fr\nlicense: MIT\nurl: https://totaljs.es/docs/fr/lesscode/1-0/guides/apply-and-save/\nupdated: 2026-11-19T04:41:04.689Z\n---\n\n# Appliquer et enregistrer\n\n> Quand tes modifications commencent à s’exécuter et quand LessCode les écrit dans le fichier de flux.\n\nCertaines modifications s’appliquent tout de suite, d’autres attendent **APPLY** (appliquer).\n\n## Les modifications qui ont besoin de APPLY\n\nLes nouveaux nœuds, les nœuds supprimés et les connexions ajoutées ou supprimées ne s’exécutent qu’une fois appliqués :\n\n1. Sélectionne **APPLY** dans la barre d’outils. Le bouton est mis en évidence tant que tu as des modifications non appliquées.\n2. Sélectionne **Continue** pour confirmer.\n\n## Les modifications qui s’appliquent tout de suite\n\nCes modifications s’exécutent dès que tu les fais, sans **APPLY** :\n\n- Les réglages d’un nœud déjà appliqué, après avoir sélectionné **APPLY** dans sa fenêtre de réglages.\n- Les [variables](../variables/), après avoir sélectionné **SUBMIT**.\n- Les [notes](../organize-canvas/) et les [groupes](../organize-canvas/).\n- La [pause](../pause-flow/).\n\n## Quand LessCode enregistre\n\nLessCode écrit ton flux dans le [fichier de flux](../../reference/flow-file/) environ cinq secondes après une modification. Si tu arrêtes LessCode avant, la dernière modification est perdue. Attends quelques secondes après ta dernière modification avant de l’arrêter ou de le redémarrer.\n\nAprès un redémarrage, LessCode charge le flux depuis le fichier et l’exécute de nouveau.\n","entries":[],"license":"MIT","updated":"2026-11-19T04:41:04.689Z"}
{"id":"Jap1ZG1wO61f-it","url":"https://totaljs.es/docs/it/lesscode/1-0/guides/apply-and-save/","project":"lesscode","version":"1-0","section":"guides","language":"it","title":"Applicare e salvare","summary":"Quando le tue modifiche iniziano a funzionare e quando LessCode le scrive nel file del flusso.","markdown":"---\ntitle: Applicare e salvare\nproject: Total.js LessCode\nversion: 1.0\nsection: guides\nlanguage: it\nlicense: MIT\nurl: https://totaljs.es/docs/it/lesscode/1-0/guides/apply-and-save/\nupdated: 2026-11-19T04:41:04.689Z\n---\n\n# Applicare e salvare\n\n> Quando le tue modifiche iniziano a funzionare e quando LessCode le scrive nel file del flusso.\n\nAlcune modifiche partono subito, altre aspettano **APPLY**.\n\n## Modifiche che richiedono APPLY\n\nI nodi nuovi, i nodi rimossi e le connessioni nuove o rimosse funzionano solo dopo che li hai applicati:\n\n1. Seleziona **APPLY** nella barra degli strumenti. Il pulsante resta evidenziato finché hai modifiche non applicate.\n2. Seleziona **Continue** per confermare.\n\n## Modifiche che partono subito\n\nQueste modifiche funzionano appena le fai, senza **APPLY**:\n\n- Le impostazioni di un nodo già applicato, dopo che hai selezionato **APPLY** nella sua finestra delle impostazioni.\n- Le [variabili](../variables/), dopo che hai selezionato **SUBMIT**.\n- Le [note](../organize-canvas/) e i [gruppi](../organize-canvas/).\n- La [pausa](../pause-flow/).\n\n## Quando LessCode salva\n\nLessCode scrive il tuo flusso nel [file del flusso](../../reference/flow-file/) circa cinque secondi dopo una modifica. Se fermi LessCode prima, l'ultima modifica va persa. Aspetta qualche secondo dopo l'ultima modifica prima di fermarlo o riavviarlo.\n\nDopo un riavvio, LessCode carica il flusso dal file e lo esegue di nuovo.\n","entries":[],"license":"MIT","updated":"2026-11-19T04:41:04.689Z"}
{"id":"Jap1ZG1wO61f-sk","url":"https://totaljs.es/docs/sk/lesscode/1-0/guides/apply-and-save/","project":"lesscode","version":"1-0","section":"guides","language":"sk","title":"Použi a ulož zmeny","summary":"Kedy sa tvoje zmeny začnú vykonávať a kedy ich LessCode zapíše do súboru toku.","markdown":"---\ntitle: \"Použi a ulož zmeny\"\nproject: Total.js LessCode\nversion: 1.0\nsection: guides\nlanguage: sk\nlicense: MIT\nurl: https://totaljs.es/docs/sk/lesscode/1-0/guides/apply-and-save/\nupdated: 2026-11-19T04:41:04.689Z\n---\n\n# Použi a ulož zmeny\n\n> Kedy sa tvoje zmeny začnú vykonávať a kedy ich LessCode zapíše do súboru toku.\n\nNiektoré zmeny začnú platiť hneď a niektoré čakajú na **APPLY** (použiť).\n\n## Zmeny, ktoré potrebujú APPLY\n\nNové uzly, odstránené uzly a nové či odstránené prepojenia sa začnú vykonávať až potom, čo ich použiješ:\n\n1. Na paneli nástrojov vyber **APPLY**. Tlačidlo je zvýraznené, kým máš zmeny, ktoré ešte nie sú použité.\n2. Potvrď tlačidlom **Continue**.\n\n## Zmeny, ktoré platia hneď\n\nTieto zmeny začnú platiť hneď, ako ich urobíš, bez **APPLY**:\n\n- Nastavenia uzla, ktorý je už použitý, keď v jeho okne s nastaveniami vyberieš **APPLY**.\n- [Premenné](../variables/), keď vyberieš **SUBMIT**.\n- [Poznámky](../organize-canvas/) a [skupiny](../organize-canvas/).\n- [Pozastavenie](../pause-flow/).\n\n## Kedy LessCode ukladá\n\nLessCode zapíše tvoj tok do [súboru toku](../../reference/flow-file/) asi päť sekúnd po zmene. Ak LessCode zastavíš skôr, posledná zmena sa stratí. Po poslednej zmene počkaj pár sekúnd, kým ho zastavíš alebo reštartuješ.\n\nPo reštarte LessCode načíta tok zo súboru a znova ho spustí.\n","entries":[],"license":"MIT","updated":"2026-11-19T04:41:04.689Z"}
{"id":"Jap1aH2fO60f","url":"https://totaljs.es/docs/lesscode/1-0/guides/remove-nodes/","project":"lesscode","version":"1-0","section":"guides","language":"en","title":"Remove nodes","summary":"Remove one node or clear the whole canvas, and restart LessCode before you add new nodes.","markdown":"---\ntitle: Remove nodes\nproject: LessCode\nversion: 1.0\nsection: guides\nlanguage: en\nlicense: MIT\nurl: https://totaljs.es/docs/lesscode/1-0/guides/remove-nodes/\nupdated: 2026-11-19T04:41:12.340Z\n---\n\n# Remove nodes\n\n> Remove one node or clear the whole canvas, and restart LessCode before you add new nodes.\n\n## Remove a node\n\n1. Right-click the node.\n2. Select **Remove**.\n\n![The menu of a node, with Remove at the bottom](/files/Jap1aF2eO61f.webp)\n\n3. Select **APPLY** in the toolbar, then **Continue**.\n\n## Clear the canvas\n\n1. Select **Add** (plus) in the toolbar.\n2. Select **Clear**, then select **Clear** again to confirm.\n\nClear removes every node and applies the change at once. Your installed components and variables stay.\n\n## Restart after removing nodes\n\nAfter an Apply that removed nodes, restart LessCode before you add new nodes. Otherwise the next Apply that adds nodes looks successful but does not run or save them, and they are gone after the next restart.\n\n1. Wait a few seconds after the Apply, so LessCode saves the flow.\n2. Stop LessCode (Ctrl+C in the terminal, or `docker restart lesscode` for Docker) and start it again.\n3. Reload the designer and continue.\n\nChanging the settings of nodes that are already applied does not need a restart.\n","entries":[],"license":"MIT","updated":"2026-11-19T04:41:12.340Z"}
{"id":"Jap1aH2fO60f-de","url":"https://totaljs.es/docs/de/lesscode/1-0/guides/remove-nodes/","project":"lesscode","version":"1-0","section":"guides","language":"de","title":"Nodes entfernen","summary":"Entferne einen Node oder leere die ganze Arbeitsfläche und starte LessCode neu, bevor du neue Nodes hinzufügst.","markdown":"---\ntitle: Nodes entfernen\nproject: Total.js LessCode\nversion: 1.0\nsection: guides\nlanguage: de\nlicense: MIT\nurl: https://totaljs.es/docs/de/lesscode/1-0/guides/remove-nodes/\nupdated: 2026-11-19T04:41:12.340Z\n---\n\n# Nodes entfernen\n\n> Entferne einen Node oder leere die ganze Arbeitsfläche und starte LessCode neu, bevor du neue Nodes hinzufügst.\n\n## Einen Node entfernen\n\n1. Klicke mit der rechten Maustaste auf den Node.\n2. Wähle **Remove**.\n\n![Das Menü eines Nodes, unten mit Remove](/files/Jap1aF2eO61f.webp)\n\n3. Wähle **APPLY** in der Werkzeugleiste und dann **Continue**.\n\n## Die Arbeitsfläche leeren\n\n1. Wähle **Add** (Hinzufügen, das Plus-Symbol) in der Werkzeugleiste.\n2. Wähle **Clear** und bestätige noch einmal mit **Clear**.\n\nClear entfernt alle Nodes und übernimmt die Änderung sofort. Deine installierten Komponenten und Variablen bleiben erhalten.\n\n## Nach dem Entfernen von Nodes neu starten\n\nNach einem Apply, das Nodes entfernt hat, starte LessCode neu, bevor du neue Nodes hinzufügst. Sonst sieht das nächste Apply, das Nodes hinzufügt, erfolgreich aus, führt sie aber weder aus noch speichert es sie, und nach dem nächsten Neustart sind sie weg.\n\n1. Warte nach dem Apply ein paar Sekunden, damit LessCode den Flow speichert.\n2. Stoppe LessCode (Ctrl+C im Terminal oder bei Docker `docker restart lesscode`) und starte es wieder.\n3. Lade den Designer neu und mach weiter.\n\nWenn du die Einstellungen von Nodes änderst, die schon übernommen sind, brauchst du keinen Neustart.\n","entries":[],"license":"MIT","updated":"2026-11-19T04:41:12.340Z"}
{"id":"Jap1aH2fO60f-es","url":"https://totaljs.es/docs/es/lesscode/1-0/guides/remove-nodes/","project":"lesscode","version":"1-0","section":"guides","language":"es","title":"Eliminar nodos","summary":"Elimina un nodo o vacía todo el lienzo, y reinicia LessCode antes de añadir nodos nuevos.","markdown":"---\ntitle: Eliminar nodos\nproject: Total.js LessCode\nversion: 1.0\nsection: guides\nlanguage: es\nlicense: MIT\nurl: https://totaljs.es/docs/es/lesscode/1-0/guides/remove-nodes/\nupdated: 2026-11-19T04:41:12.340Z\n---\n\n# Eliminar nodos\n\n> Elimina un nodo o vacía todo el lienzo, y reinicia LessCode antes de añadir nodos nuevos.\n\n## Elimina un nodo\n\n1. Haz clic derecho en el nodo.\n2. Selecciona **Remove** (eliminar).\n\n![El menú de un nodo, con Remove al final](/files/Jap1aF2eO61f.webp)\n\n3. Selecciona **APPLY** en la barra de herramientas y después **Continue**.\n\n## Vacía el lienzo\n\n1. Selecciona **Add** (añadir, el signo más) en la barra de herramientas.\n2. Selecciona **Clear** (vaciar) y después **Clear** otra vez para confirmar.\n\nClear elimina todos los nodos y aplica el cambio al momento. Tus componentes instalados y tus variables se mantienen.\n\n## Reinicia después de eliminar nodos\n\nDespués de un Apply que ha eliminado nodos, reinicia LessCode antes de añadir nodos nuevos. Si no, el siguiente Apply que añade nodos parece correcto, pero no los ejecuta ni los guarda, y desaparecen en el siguiente reinicio.\n\n1. Espera unos segundos después del Apply, para que LessCode guarde el flujo.\n2. Detén LessCode (Ctrl+C en la terminal, o `docker restart lesscode` con Docker) y vuelve a arrancarlo.\n3. Vuelve a cargar el diseñador y sigue trabajando.\n\nCambiar los ajustes de nodos que ya están aplicados no necesita reiniciar.\n","entries":[],"license":"MIT","updated":"2026-11-19T04:41:12.340Z"}
{"id":"Jap1aH2fO60f-fr","url":"https://totaljs.es/docs/fr/lesscode/1-0/guides/remove-nodes/","project":"lesscode","version":"1-0","section":"guides","language":"fr","title":"Supprimer des nœuds","summary":"Supprime un nœud ou vide tout le canevas, et redémarre LessCode avant d’ajouter de nouveaux nœuds.","markdown":"---\ntitle: \"Supprimer des nœuds\"\nproject: Total.js LessCode\nversion: 1.0\nsection: guides\nlanguage: fr\nlicense: MIT\nurl: https://totaljs.es/docs/fr/lesscode/1-0/guides/remove-nodes/\nupdated: 2026-11-19T04:41:12.340Z\n---\n\n# Supprimer des nœuds\n\n> Supprime un nœud ou vide tout le canevas, et redémarre LessCode avant d’ajouter de nouveaux nœuds.\n\n## Supprimer un nœud\n\n1. Fais un clic droit sur le nœud.\n2. Sélectionne **Remove** (supprimer).\n\n![Le menu d’un nœud, avec Remove en bas](/files/Jap1aF2eO61f.webp)\n\n3. Sélectionne **APPLY** dans la barre d’outils, puis **Continue**.\n\n## Vider le canevas\n\n1. Sélectionne **Add** (plus) dans la barre d’outils.\n2. Sélectionne **Clear** (vider), puis sélectionne de nouveau **Clear** pour confirmer.\n\nClear supprime tous les nœuds et applique la modification tout de suite. Tes composants installés et tes variables restent.\n\n## Redémarrer après avoir supprimé des nœuds\n\nAprès un Apply qui a supprimé des nœuds, redémarre LessCode avant d’ajouter de nouveaux nœuds. Sinon, le prochain Apply qui ajoute des nœuds semble réussir, mais il ne les exécute pas et ne les enregistre pas, et ils disparaissent au redémarrage suivant.\n\n1. Attends quelques secondes après l’Apply, pour que LessCode enregistre le flux.\n2. Arrête LessCode (Ctrl+C dans le terminal, ou `docker restart lesscode` pour Docker) et redémarre-le.\n3. Recharge le designer et continue.\n\nModifier les réglages de nœuds déjà appliqués ne demande pas de redémarrage.\n","entries":[],"license":"MIT","updated":"2026-11-19T04:41:12.340Z"}
{"id":"Jap1aH2fO60f-it","url":"https://totaljs.es/docs/it/lesscode/1-0/guides/remove-nodes/","project":"lesscode","version":"1-0","section":"guides","language":"it","title":"Rimuovere i nodi","summary":"Rimuovi un nodo o svuota tutto il canvas, e riavvia LessCode prima di aggiungere nuovi nodi.","markdown":"---\ntitle: Rimuovere i nodi\nproject: Total.js LessCode\nversion: 1.0\nsection: guides\nlanguage: it\nlicense: MIT\nurl: https://totaljs.es/docs/it/lesscode/1-0/guides/remove-nodes/\nupdated: 2026-11-19T04:41:12.340Z\n---\n\n# Rimuovere i nodi\n\n> Rimuovi un nodo o svuota tutto il canvas, e riavvia LessCode prima di aggiungere nuovi nodi.\n\n## Rimuovere un nodo\n\n1. Fai clic con il tasto destro sul nodo.\n2. Seleziona **Remove**.\n\n![Il menu di un nodo, con Remove in fondo](/files/Jap1aF2eO61f.webp)\n\n3. Seleziona **APPLY** nella barra degli strumenti, poi **Continue**.\n\n## Svuotare il canvas\n\n1. Seleziona **Add** (più) nella barra degli strumenti.\n2. Seleziona **Clear**, poi seleziona di nuovo **Clear** per confermare.\n\nClear rimuove tutti i nodi e applica subito la modifica. I componenti installati e le variabili restano.\n\n## Riavviare dopo aver rimosso dei nodi\n\nDopo un Apply che ha rimosso dei nodi, riavvia LessCode prima di aggiungere nuovi nodi. Altrimenti il successivo Apply che aggiunge nodi sembra riuscito, ma non li esegue né li salva, e dopo il riavvio seguente spariscono.\n\n1. Aspetta qualche secondo dopo l'Apply, così LessCode salva il flusso.\n2. Ferma LessCode (Ctrl+C nel terminale, oppure `docker restart lesscode` con Docker) e avvialo di nuovo.\n3. Ricarica il designer e continua.\n\nCambiare le impostazioni di nodi già applicati non richiede un riavvio.\n","entries":[],"license":"MIT","updated":"2026-11-19T04:41:12.340Z"}
{"id":"Jap1aH2fO60f-sk","url":"https://totaljs.es/docs/sk/lesscode/1-0/guides/remove-nodes/","project":"lesscode","version":"1-0","section":"guides","language":"sk","title":"Odstráň uzly","summary":"Odstráň jeden uzol alebo vyčisti celé plátno a pred pridaním nových uzlov reštartuj LessCode.","markdown":"---\ntitle: \"Odstráň uzly\"\nproject: Total.js LessCode\nversion: 1.0\nsection: guides\nlanguage: sk\nlicense: MIT\nurl: https://totaljs.es/docs/sk/lesscode/1-0/guides/remove-nodes/\nupdated: 2026-11-19T04:41:12.340Z\n---\n\n# Odstráň uzly\n\n> Odstráň jeden uzol alebo vyčisti celé plátno a pred pridaním nových uzlov reštartuj LessCode.\n\n## Odstránenie uzla\n\n1. Klikni na uzol pravým tlačidlom.\n2. Vyber **Remove** (odstrániť).\n\n![Ponuka uzla s položkou Remove na konci](/files/Jap1aF2eO61f.webp)\n\n3. Na paneli nástrojov vyber **APPLY** a potom **Continue**.\n\n## Vyčistenie plátna\n\n1. Na paneli nástrojov vyber **Add** (plus).\n2. Vyber **Clear** (vyčistiť) a potom na potvrdenie znova **Clear**.\n\nClear odstráni všetky uzly a zmenu hneď použije. Nainštalované komponenty a premenné zostanú.\n\n## Reštart po odstránení uzlov\n\nPo použití zmien (Apply), ktoré odstránilo uzly, reštartuj LessCode skôr, než pridáš nové uzly. Inak ďalšie použitie zmien, ktoré pridáva uzly, vyzerá úspešne, ale uzly sa nespustia ani neuložia a po ďalšom reštarte zmiznú.\n\n1. Po použití zmien počkaj pár sekúnd, aby LessCode uložil tok.\n2. Zastav LessCode (Ctrl+C v termináli, alebo `docker restart lesscode` pri Dockeri) a znova ho spusti.\n3. Znova načítaj návrhára a pokračuj.\n\nZmena nastavení uzlov, ktoré sú už použité, reštart nepotrebuje.\n","entries":[],"license":"MIT","updated":"2026-11-19T04:41:12.340Z"}
{"id":"Jap1a92YO61f","url":"https://totaljs.es/docs/lesscode/1-0/guides/organize-canvas/","project":"lesscode","version":"1-0","section":"guides","language":"en","title":"Organize the canvas","summary":"Add notes to nodes and draw groups so a large flow stays easy to read.","markdown":"---\ntitle: Organize the canvas\nproject: LessCode\nversion: 1.0\nsection: guides\nlanguage: en\nlicense: MIT\nurl: https://totaljs.es/docs/lesscode/1-0/guides/organize-canvas/\nupdated: 2026-11-19T04:41:11.468Z\n---\n\n# Organize the canvas\n\n> Add notes to nodes and draw groups so a large flow stays easy to read.\n\nNotes and groups do not change what your flow does. They help you and others read it.\n\n## Add a note to a node\n\n1. Right-click the node and select **Set a note**.\n2. Type the note. You can use Markdown.\n3. Select **SUBMIT**.\n\nThe note appears inside the node.\n\n![A Route node with a note](/files/Jap1a22VO60f.webp)\n\n## Add a group\n\nA group is a labelled area of the canvas.\n\n1. Drag **Group** from the top of the component list onto the canvas.\n2. Double-click the group to edit it.\n3. Type the **Group name** and pick a **Background** and **Font color** if you like.\n4. Select **SUBMIT**.\n\n![The Edit group window](/files/Jap1a42WO61f.webp)\n\n![A group named Public API on the canvas](/files/Jap1a62XO60f.webp)\n\nTo edit or remove a group later, right-click it and select **Configure** or **Remove**.\n","entries":[],"license":"MIT","updated":"2026-11-19T04:41:11.468Z"}
{"id":"Jap1a92YO61f-de","url":"https://totaljs.es/docs/de/lesscode/1-0/guides/organize-canvas/","project":"lesscode","version":"1-0","section":"guides","language":"de","title":"Die Arbeitsfläche ordnen","summary":"Füge Nodes Notizen hinzu und zeichne Gruppen, damit ein großer Flow gut lesbar bleibt.","markdown":"---\ntitle: \"Die Arbeitsfläche ordnen\"\nproject: Total.js LessCode\nversion: 1.0\nsection: guides\nlanguage: de\nlicense: MIT\nurl: https://totaljs.es/docs/de/lesscode/1-0/guides/organize-canvas/\nupdated: 2026-11-19T04:41:11.468Z\n---\n\n# Die Arbeitsfläche ordnen\n\n> Füge Nodes Notizen hinzu und zeichne Gruppen, damit ein großer Flow gut lesbar bleibt.\n\nNotizen und Gruppen ändern nicht, was dein Flow tut. Sie helfen dir und anderen, ihn zu lesen.\n\n## Einem Node eine Notiz hinzufügen\n\n1. Klicke mit der rechten Maustaste auf den Node und wähle **Set a note**.\n2. Tippe die Notiz. Du kannst Markdown verwenden.\n3. Wähle **SUBMIT**.\n\nDie Notiz erscheint im Node.\n\n![Ein Route-Node mit einer Notiz](/files/Jap1a22VO60f.webp)\n\n## Eine Gruppe hinzufügen\n\nEine Gruppe ist ein beschrifteter Bereich der Arbeitsfläche.\n\n1. Ziehe **Group** von oben aus der Komponentenliste auf die Arbeitsfläche.\n2. Doppelklicke auf die Gruppe, um sie zu bearbeiten.\n3. Tippe den **Group name** ein und wähle, wenn du magst, **Background** und **Font color**.\n4. Wähle **SUBMIT**.\n\n![Das Fenster Edit group](/files/Jap1a42WO61f.webp)\n\n![Eine Gruppe namens Public API auf der Arbeitsfläche](/files/Jap1a62XO60f.webp)\n\nUm eine Gruppe später zu bearbeiten oder zu entfernen, klicke mit der rechten Maustaste darauf und wähle **Configure** oder **Remove**.\n","entries":[],"license":"MIT","updated":"2026-11-19T04:41:11.468Z"}
{"id":"Jap1a92YO61f-es","url":"https://totaljs.es/docs/es/lesscode/1-0/guides/organize-canvas/","project":"lesscode","version":"1-0","section":"guides","language":"es","title":"Organizar el lienzo","summary":"Añade notas a los nodos y dibuja grupos para que un flujo grande siga siendo fácil de leer.","markdown":"---\ntitle: Organizar el lienzo\nproject: Total.js LessCode\nversion: 1.0\nsection: guides\nlanguage: es\nlicense: MIT\nurl: https://totaljs.es/docs/es/lesscode/1-0/guides/organize-canvas/\nupdated: 2026-11-19T04:41:11.468Z\n---\n\n# Organizar el lienzo\n\n> Añade notas a los nodos y dibuja grupos para que un flujo grande siga siendo fácil de leer.\n\nLas notas y los grupos no cambian lo que hace tu flujo. Te ayudan a ti y a los demás a leerlo.\n\n## Añade una nota a un nodo\n\n1. Haz clic derecho en el nodo y selecciona **Set a note** (poner una nota).\n2. Escribe la nota. Puedes usar Markdown.\n3. Selecciona **SUBMIT**.\n\nLa nota aparece dentro del nodo.\n\n![Un nodo Route con una nota](/files/Jap1a22VO60f.webp)\n\n## Añade un grupo\n\nUn grupo es una zona del lienzo con una etiqueta.\n\n1. Arrastra **Group** desde la parte superior de la lista de componentes al lienzo.\n2. Haz doble clic en el grupo para editarlo.\n3. Escribe el **Group name** (nombre del grupo) y elige un **Background** (fondo) y un **Font color** (color del texto) si quieres.\n4. Selecciona **SUBMIT**.\n\n![La ventana Edit group](/files/Jap1a42WO61f.webp)\n\n![Un grupo llamado Public API en el lienzo](/files/Jap1a62XO60f.webp)\n\nPara editar o eliminar un grupo más adelante, haz clic derecho en él y selecciona **Configure** o **Remove**.\n","entries":[],"license":"MIT","updated":"2026-11-19T04:41:11.468Z"}
{"id":"Jap1a92YO61f-fr","url":"https://totaljs.es/docs/fr/lesscode/1-0/guides/organize-canvas/","project":"lesscode","version":"1-0","section":"guides","language":"fr","title":"Organiser le canevas","summary":"Ajoute des notes aux nœuds et dessine des groupes pour qu’un grand flux reste facile à lire.","markdown":"---\ntitle: Organiser le canevas\nproject: Total.js LessCode\nversion: 1.0\nsection: guides\nlanguage: fr\nlicense: MIT\nurl: https://totaljs.es/docs/fr/lesscode/1-0/guides/organize-canvas/\nupdated: 2026-11-19T04:41:11.468Z\n---\n\n# Organiser le canevas\n\n> Ajoute des notes aux nœuds et dessine des groupes pour qu’un grand flux reste facile à lire.\n\nLes notes et les groupes ne changent pas ce que fait ton flux. Ils le rendent plus facile à lire, pour toi comme pour les autres.\n\n## Ajouter une note à un nœud\n\n1. Fais un clic droit sur le nœud et sélectionne **Set a note** (ajouter une note).\n2. Écris la note. Tu peux utiliser Markdown.\n3. Sélectionne **SUBMIT**.\n\nLa note apparaît dans le nœud.\n\n![Un nœud Route avec une note](/files/Jap1a22VO60f.webp)\n\n## Ajouter un groupe\n\nUn groupe est une zone du canevas avec un nom.\n\n1. Fais glisser **Group** depuis le haut de la liste des composants vers le canevas.\n2. Double-clique sur le groupe pour le modifier.\n3. Écris le **Group name** (nom du groupe) et choisis un **Background** et une **Font color** si tu veux.\n4. Sélectionne **SUBMIT**.\n\n![La fenêtre Edit group](/files/Jap1a42WO61f.webp)\n\n![Un groupe nommé Public API sur le canevas](/files/Jap1a62XO60f.webp)\n\nPour modifier ou supprimer un groupe plus tard, fais un clic droit dessus et sélectionne **Configure** ou **Remove**.\n","entries":[],"license":"MIT","updated":"2026-11-19T04:41:11.468Z"}
{"id":"Jap1a92YO61f-it","url":"https://totaljs.es/docs/it/lesscode/1-0/guides/organize-canvas/","project":"lesscode","version":"1-0","section":"guides","language":"it","title":"Organizzare il canvas","summary":"Aggiungi note ai nodi e disegna gruppi, così anche un flusso grande resta facile da leggere.","markdown":"---\ntitle: Organizzare il canvas\nproject: Total.js LessCode\nversion: 1.0\nsection: guides\nlanguage: it\nlicense: MIT\nurl: https://totaljs.es/docs/it/lesscode/1-0/guides/organize-canvas/\nupdated: 2026-11-19T04:41:11.468Z\n---\n\n# Organizzare il canvas\n\n> Aggiungi note ai nodi e disegna gruppi, così anche un flusso grande resta facile da leggere.\n\nLe note e i gruppi non cambiano quello che fa il tuo flusso. Aiutano te e gli altri a leggerlo.\n\n## Aggiungere una nota a un nodo\n\n1. Fai clic con il tasto destro sul nodo e seleziona **Set a note**.\n2. Scrivi la nota. Puoi usare Markdown.\n3. Seleziona **SUBMIT**.\n\nLa nota compare dentro il nodo.\n\n![Un nodo Route con una nota](/files/Jap1a22VO60f.webp)\n\n## Aggiungere un gruppo\n\nUn gruppo è un'area del canvas con un'etichetta.\n\n1. Trascina **Group** dalla cima dell'elenco dei componenti sul canvas.\n2. Fai doppio clic sul gruppo per modificarlo.\n3. Scrivi il **Group name** e, se vuoi, scegli un **Background** e un **Font color**.\n4. Seleziona **SUBMIT**.\n\n![La finestra Edit group](/files/Jap1a42WO61f.webp)\n\n![Un gruppo chiamato Public API sul canvas](/files/Jap1a62XO60f.webp)\n\nPer modificare o rimuovere un gruppo in seguito, fai clic con il tasto destro e seleziona **Configure** o **Remove**.\n","entries":[],"license":"MIT","updated":"2026-11-19T04:41:11.468Z"}
{"id":"Jap1a92YO61f-sk","url":"https://totaljs.es/docs/sk/lesscode/1-0/guides/organize-canvas/","project":"lesscode","version":"1-0","section":"guides","language":"sk","title":"Usporiadaj plátno","summary":"Pridaj k uzlom poznámky a nakresli skupiny, aby bol veľký tok ľahko čitateľný.","markdown":"---\ntitle: \"Usporiadaj plátno\"\nproject: Total.js LessCode\nversion: 1.0\nsection: guides\nlanguage: sk\nlicense: MIT\nurl: https://totaljs.es/docs/sk/lesscode/1-0/guides/organize-canvas/\nupdated: 2026-11-19T04:41:11.468Z\n---\n\n# Usporiadaj plátno\n\n> Pridaj k uzlom poznámky a nakresli skupiny, aby bol veľký tok ľahko čitateľný.\n\nPoznámky a skupiny nemenia, čo tvoj tok robí. Pomáhajú tebe aj iným ho čítať.\n\n## Pridanie poznámky k uzlu\n\n1. Klikni na uzol pravým tlačidlom a vyber **Set a note** (pridať poznámku).\n2. Napíš poznámku. Môžeš použiť Markdown.\n3. Vyber **SUBMIT**.\n\nPoznámka sa objaví vnútri uzla.\n\n![Uzol Route s poznámkou](/files/Jap1a22VO60f.webp)\n\n## Pridanie skupiny\n\nSkupina je označená oblasť plátna.\n\n1. Pretiahni **Group** z hornej časti zoznamu komponentov na plátno.\n2. Dvakrát klikni na skupinu a uprav ju.\n3. Napíš **Group name** (názov skupiny) a ak chceš, vyber **Background** (pozadie) a **Font color** (farba písma).\n4. Vyber **SUBMIT**.\n\n![Okno Edit group](/files/Jap1a42WO61f.webp)\n\n![Skupina s názvom Public API na plátne](/files/Jap1a62XO60f.webp)\n\nAk chceš skupinu neskôr upraviť alebo odstrániť, klikni na ňu pravým tlačidlom a vyber **Configure** alebo **Remove**.\n","entries":[],"license":"MIT","updated":"2026-11-19T04:41:11.468Z"}
{"id":"Jap1aK2iO61f","url":"https://totaljs.es/docs/lesscode/1-0/guides/search-nodes/","project":"lesscode","version":"1-0","section":"guides","language":"en","title":"Search in nodes","summary":"Find a node by any value in its settings, such as a URL.","markdown":"---\ntitle: Search in nodes\nproject: LessCode\nversion: 1.0\nsection: guides\nlanguage: en\nlicense: MIT\nurl: https://totaljs.es/docs/lesscode/1-0/guides/search-nodes/\nupdated: 2026-11-19T04:41:12.685Z\n---\n\n# Search in nodes\n\n> Find a node by any value in its settings, such as a URL.\n\n1. Select **Search in nodes** in the toolbar.\n2. Type a word, for example part of a URL.\n\nThe window lists every node whose settings contain the text, with the node ID and the component name.\n\n![Search in nodes with one Route found for the word orders](/files/Jap1aI2hO60f.webp)\n\nSelect the cross in the top right corner to close the window.\n","entries":[],"license":"MIT","updated":"2026-11-19T04:41:12.685Z"}
{"id":"Jap1aK2iO61f-de","url":"https://totaljs.es/docs/de/lesscode/1-0/guides/search-nodes/","project":"lesscode","version":"1-0","section":"guides","language":"de","title":"In Nodes suchen","summary":"Finde einen Node anhand eines beliebigen Werts in seinen Einstellungen, etwa einer URL.","markdown":"---\ntitle: In Nodes suchen\nproject: Total.js LessCode\nversion: 1.0\nsection: guides\nlanguage: de\nlicense: MIT\nurl: https://totaljs.es/docs/de/lesscode/1-0/guides/search-nodes/\nupdated: 2026-11-19T04:41:12.685Z\n---\n\n# In Nodes suchen\n\n> Finde einen Node anhand eines beliebigen Werts in seinen Einstellungen, etwa einer URL.\n\n1. Wähle **Search in nodes** in der Werkzeugleiste.\n2. Tippe ein Wort ein, zum Beispiel einen Teil einer URL.\n\nDas Fenster listet jeden Node auf, dessen Einstellungen den Text enthalten, mit Node-ID und Komponentenname.\n\n![Search in nodes mit einer gefundenen Route für das Wort orders](/files/Jap1aI2hO60f.webp)\n\nWähle das Kreuz oben rechts, um das Fenster zu schließen.\n","entries":[],"license":"MIT","updated":"2026-11-19T04:41:12.685Z"}
{"id":"Jap1aK2iO61f-es","url":"https://totaljs.es/docs/es/lesscode/1-0/guides/search-nodes/","project":"lesscode","version":"1-0","section":"guides","language":"es","title":"Buscar en los nodos","summary":"Encuentra un nodo por cualquier valor de sus ajustes, como una URL.","markdown":"---\ntitle: Buscar en los nodos\nproject: Total.js LessCode\nversion: 1.0\nsection: guides\nlanguage: es\nlicense: MIT\nurl: https://totaljs.es/docs/es/lesscode/1-0/guides/search-nodes/\nupdated: 2026-11-19T04:41:12.685Z\n---\n\n# Buscar en los nodos\n\n> Encuentra un nodo por cualquier valor de sus ajustes, como una URL.\n\n1. Selecciona **Search in nodes** (buscar en los nodos) en la barra de herramientas.\n2. Escribe una palabra, por ejemplo parte de una URL.\n\nLa ventana muestra todos los nodos cuyos ajustes contienen el texto, con el ID del nodo y el nombre del componente.\n\n![Search in nodes con un Route encontrado para la palabra orders](/files/Jap1aI2hO60f.webp)\n\nSelecciona la cruz de la esquina superior derecha para cerrar la ventana.\n","entries":[],"license":"MIT","updated":"2026-11-19T04:41:12.685Z"}
{"id":"Jap1aK2iO61f-fr","url":"https://totaljs.es/docs/fr/lesscode/1-0/guides/search-nodes/","project":"lesscode","version":"1-0","section":"guides","language":"fr","title":"Rechercher dans les nœuds","summary":"Trouve un nœud d’après n’importe quelle valeur de ses réglages, comme une URL.","markdown":"---\ntitle: \"Rechercher dans les nœuds\"\nproject: Total.js LessCode\nversion: 1.0\nsection: guides\nlanguage: fr\nlicense: MIT\nurl: https://totaljs.es/docs/fr/lesscode/1-0/guides/search-nodes/\nupdated: 2026-11-19T04:41:12.685Z\n---\n\n# Rechercher dans les nœuds\n\n> Trouve un nœud d’après n’importe quelle valeur de ses réglages, comme une URL.\n\n1. Sélectionne **Search in nodes** (rechercher dans les nœuds) dans la barre d’outils.\n2. Écris un mot, par exemple une partie d’une URL.\n\nLa fenêtre liste tous les nœuds dont les réglages contiennent le texte, avec l’ID du nœud et le nom du composant.\n\n![Search in nodes avec une Route trouvée pour le mot orders](/files/Jap1aI2hO60f.webp)\n\nSélectionne la croix en haut à droite pour fermer la fenêtre.\n","entries":[],"license":"MIT","updated":"2026-11-19T04:41:12.685Z"}
{"id":"Jap1aK2iO61f-it","url":"https://totaljs.es/docs/it/lesscode/1-0/guides/search-nodes/","project":"lesscode","version":"1-0","section":"guides","language":"it","title":"Cercare nei nodi","summary":"Trova un nodo in base a qualsiasi valore delle sue impostazioni, per esempio un URL.","markdown":"---\ntitle: Cercare nei nodi\nproject: Total.js LessCode\nversion: 1.0\nsection: guides\nlanguage: it\nlicense: MIT\nurl: https://totaljs.es/docs/it/lesscode/1-0/guides/search-nodes/\nupdated: 2026-11-19T04:41:12.685Z\n---\n\n# Cercare nei nodi\n\n> Trova un nodo in base a qualsiasi valore delle sue impostazioni, per esempio un URL.\n\n1. Seleziona **Search in nodes** nella barra degli strumenti.\n2. Scrivi una parola, per esempio una parte di un URL.\n\nLa finestra elenca tutti i nodi le cui impostazioni contengono il testo, con l'ID del nodo e il nome del componente.\n\n![Search in nodes con una Route trovata per la parola orders](/files/Jap1aI2hO60f.webp)\n\nSeleziona la croce nell'angolo in alto a destra per chiudere la finestra.\n","entries":[],"license":"MIT","updated":"2026-11-19T04:41:12.685Z"}
{"id":"Jap1aK2iO61f-sk","url":"https://totaljs.es/docs/sk/lesscode/1-0/guides/search-nodes/","project":"lesscode","version":"1-0","section":"guides","language":"sk","title":"Hľadaj v uzloch","summary":"Nájdi uzol podľa ľubovoľnej hodnoty v jeho nastaveniach, napríklad podľa URL.","markdown":"---\ntitle: \"Hľadaj v uzloch\"\nproject: Total.js LessCode\nversion: 1.0\nsection: guides\nlanguage: sk\nlicense: MIT\nurl: https://totaljs.es/docs/sk/lesscode/1-0/guides/search-nodes/\nupdated: 2026-11-19T04:41:12.685Z\n---\n\n# Hľadaj v uzloch\n\n> Nájdi uzol podľa ľubovoľnej hodnoty v jeho nastaveniach, napríklad podľa URL.\n\n1. Na paneli nástrojov vyber **Search in nodes** (hľadať v uzloch).\n2. Napíš slovo, napríklad časť URL.\n\nOkno vypíše každý uzol, ktorého nastavenia obsahujú daný text, spolu s ID uzla a názvom komponentu.\n\n![Search in nodes s jedným nájdeným uzlom Route pre slovo orders](/files/Jap1aI2hO60f.webp)\n\nOkno zatvoríš krížikom v pravom hornom rohu.\n","entries":[],"license":"MIT","updated":"2026-11-19T04:41:12.685Z"}
{"id":"Jap1aS2oO61f","url":"https://totaljs.es/docs/lesscode/1-0/guides/variables/","project":"lesscode","version":"1-0","section":"guides","language":"en","title":"Variables","summary":"Keep values such as texts, addresses or keys outside your nodes and use them in settings and code.","markdown":"---\ntitle: Variables\nproject: LessCode\nversion: 1.0\nsection: guides\nlanguage: en\nlicense: MIT\nurl: https://totaljs.es/docs/lesscode/1-0/guides/variables/\nupdated: 2026-11-19T04:41:13.543Z\n---\n\n# Variables\n\n> Keep values such as texts, addresses or keys outside your nodes and use them in settings and code.\n\nVariables are named values that belong to your flow. Use them for values you want to change in one place.\n\n## Add a variable\n\n1. Select **Variables** in the toolbar.\n2. Type a key in **Type a key**, for example `GREETING`.\n3. Type a value in **Type a value and press enter** and press Enter.\n4. Select **SUBMIT**, then close the window with **Cancel** or the cross.\n\n![The Variables window with the GREETING variable](/files/Jap1aP2mO61f.webp)\n\nA variable that you do not confirm with Enter is not saved. Variables start working at once and are saved in the [flow file](../../reference/flow-file/).\n\n## Use a variable in a Code node\n\nWrite the key in braces and pass it to `instance.replace()`:\n\n```js\nsend({ message: instance.replace('{GREETING}') });\n```\n\nWith `GREETING` set to `Hello from LessCode`, an endpoint built with this code answers:\n\n```json\n{\"message\":\"Hello from LessCode\"}\n```\n\n![A Route, Code and Response flow that returns the variable](/files/Jap1aR2nO60f.webp)\n","entries":[],"license":"MIT","updated":"2026-11-19T04:41:13.543Z"}
{"id":"Jap1aS2oO61f-de","url":"https://totaljs.es/docs/de/lesscode/1-0/guides/variables/","project":"lesscode","version":"1-0","section":"guides","language":"de","title":"Variablen","summary":"Bewahre Werte wie Texte, Adressen oder Schlüssel außerhalb deiner Nodes auf und verwende sie in Einstellungen und Code.","markdown":"---\ntitle: Variablen\nproject: Total.js LessCode\nversion: 1.0\nsection: guides\nlanguage: de\nlicense: MIT\nurl: https://totaljs.es/docs/de/lesscode/1-0/guides/variables/\nupdated: 2026-11-19T04:41:13.543Z\n---\n\n# Variablen\n\n> Bewahre Werte wie Texte, Adressen oder Schlüssel außerhalb deiner Nodes auf und verwende sie in Einstellungen und Code.\n\nVariablen sind benannte Werte, die zu deinem Flow gehören. Verwende sie für Werte, die du an einer Stelle ändern willst.\n\n## Eine Variable hinzufügen\n\n1. Wähle **Variables** in der Werkzeugleiste.\n2. Tippe einen Schlüssel in **Type a key** ein, zum Beispiel `GREETING`.\n3. Tippe einen Wert in **Type a value and press enter** ein und drücke Enter.\n4. Wähle **SUBMIT** und schließe das Fenster dann mit **Cancel** oder dem Kreuz.\n\n![Das Fenster Variables mit der Variable GREETING](/files/Jap1aP2mO61f.webp)\n\nEine Variable, die du nicht mit Enter bestätigst, wird nicht gespeichert. Variablen wirken sofort und werden in der [Flow-Datei](../../reference/flow-file/) gespeichert.\n\n## Eine Variable in einem Code-Node verwenden\n\nSchreib den Schlüssel in geschweifte Klammern und übergib ihn an `instance.replace()`:\n\n```js\nsend({ message: instance.replace('{GREETING}') });\n```\n\nIst `GREETING` auf `Hello from LessCode` gesetzt, antwortet ein Endpunkt, der mit diesem Code gebaut ist:\n\n```json\n{\"message\":\"Hello from LessCode\"}\n```\n\n![Ein Flow aus Route, Code und Response, der die Variable zurückgibt](/files/Jap1aR2nO60f.webp)\n","entries":[],"license":"MIT","updated":"2026-11-19T04:41:13.543Z"}
{"id":"Jap1aS2oO61f-es","url":"https://totaljs.es/docs/es/lesscode/1-0/guides/variables/","project":"lesscode","version":"1-0","section":"guides","language":"es","title":"Variables","summary":"Guarda valores como textos, direcciones o claves fuera de tus nodos y úsalos en los ajustes y en el código.","markdown":"---\ntitle: Variables\nproject: Total.js LessCode\nversion: 1.0\nsection: guides\nlanguage: es\nlicense: MIT\nurl: https://totaljs.es/docs/es/lesscode/1-0/guides/variables/\nupdated: 2026-11-19T04:41:13.543Z\n---\n\n# Variables\n\n> Guarda valores como textos, direcciones o claves fuera de tus nodos y úsalos en los ajustes y en el código.\n\nLas variables son valores con nombre que pertenecen a tu flujo. Úsalas para los valores que quieres cambiar en un solo sitio.\n\n## Añade una variable\n\n1. Selecciona **Variables** en la barra de herramientas.\n2. Escribe una clave en **Type a key** (escribe una clave), por ejemplo `GREETING`.\n3. Escribe un valor en **Type a value and press enter** (escribe un valor y pulsa Intro) y pulsa Intro.\n4. Selecciona **SUBMIT** y después cierra la ventana con **Cancel** o con la cruz.\n\n![La ventana Variables con la variable GREETING](/files/Jap1aP2mO61f.webp)\n\nUna variable que no confirmas con Intro no se guarda. Las variables empiezan a funcionar al momento y se guardan en el [archivo del flujo](../../reference/flow-file/).\n\n## Usa una variable en un nodo Code\n\nEscribe la clave entre llaves y pásala a `instance.replace()`:\n\n```js\nsend({ message: instance.replace('{GREETING}') });\n```\n\nCon `GREETING` igual a `Hello from LessCode`, un endpoint construido con este código responde:\n\n```json\n{\"message\":\"Hello from LessCode\"}\n```\n\n![Un flujo con Route, Code y Response que devuelve la variable](/files/Jap1aR2nO60f.webp)\n","entries":[],"license":"MIT","updated":"2026-11-19T04:41:13.543Z"}
{"id":"Jap1aS2oO61f-fr","url":"https://totaljs.es/docs/fr/lesscode/1-0/guides/variables/","project":"lesscode","version":"1-0","section":"guides","language":"fr","title":"Variables","summary":"Garde des valeurs comme des textes, des adresses ou des clés en dehors de tes nœuds et utilise-les dans les réglages et le code.","markdown":"---\ntitle: Variables\nproject: Total.js LessCode\nversion: 1.0\nsection: guides\nlanguage: fr\nlicense: MIT\nurl: https://totaljs.es/docs/fr/lesscode/1-0/guides/variables/\nupdated: 2026-11-19T04:41:13.543Z\n---\n\n# Variables\n\n> Garde des valeurs comme des textes, des adresses ou des clés en dehors de tes nœuds et utilise-les dans les réglages et le code.\n\nLes variables sont des valeurs nommées qui appartiennent à ton flux. Utilise-les pour les valeurs que tu veux modifier à un seul endroit.\n\n## Ajouter une variable\n\n1. Sélectionne **Variables** dans la barre d’outils.\n2. Écris une clé dans **Type a key**, par exemple `GREETING`.\n3. Écris une valeur dans **Type a value and press enter** et appuie sur Entrée.\n4. Sélectionne **SUBMIT**, puis ferme la fenêtre avec **Cancel** ou la croix.\n\n![La fenêtre Variables avec la variable GREETING](/files/Jap1aP2mO61f.webp)\n\nUne variable que tu ne confirmes pas avec Entrée n’est pas enregistrée. Les variables s’appliquent tout de suite et sont enregistrées dans le [fichier de flux](../../reference/flow-file/).\n\n## Utiliser une variable dans un nœud Code\n\nÉcris la clé entre accolades et passe-la à `instance.replace()` :\n\n```js\nsend({ message: instance.replace('{GREETING}') });\n```\n\nAvec `GREETING` défini à `Hello from LessCode`, un endpoint construit avec ce code répond :\n\n```json\n{\"message\":\"Hello from LessCode\"}\n```\n\n![Un flux Route, Code et Response qui renvoie la variable](/files/Jap1aR2nO60f.webp)\n","entries":[],"license":"MIT","updated":"2026-11-19T04:41:13.543Z"}
{"id":"Jap1aS2oO61f-it","url":"https://totaljs.es/docs/it/lesscode/1-0/guides/variables/","project":"lesscode","version":"1-0","section":"guides","language":"it","title":"Variabili","summary":"Tieni valori come testi, indirizzi o chiavi fuori dai nodi e usali nelle impostazioni e nel codice.","markdown":"---\ntitle: Variabili\nproject: Total.js LessCode\nversion: 1.0\nsection: guides\nlanguage: it\nlicense: MIT\nurl: https://totaljs.es/docs/it/lesscode/1-0/guides/variables/\nupdated: 2026-11-19T04:41:13.543Z\n---\n\n# Variabili\n\n> Tieni valori come testi, indirizzi o chiavi fuori dai nodi e usali nelle impostazioni e nel codice.\n\nLe variabili sono valori con un nome che appartengono al tuo flusso. Usale per i valori che vuoi cambiare in un solo punto.\n\n## Aggiungere una variabile\n\n1. Seleziona **Variables** nella barra degli strumenti.\n2. Scrivi una chiave in **Type a key**, per esempio `GREETING`.\n3. Scrivi un valore in **Type a value and press enter** e premi Invio.\n4. Seleziona **SUBMIT**, poi chiudi la finestra con **Cancel** o con la croce.\n\n![La finestra Variables con la variabile GREETING](/files/Jap1aP2mO61f.webp)\n\nUna variabile che non confermi con Invio non viene salvata. Le variabili funzionano subito e vengono salvate nel [file del flusso](../../reference/flow-file/).\n\n## Usare una variabile in un nodo Code\n\nScrivi la chiave tra parentesi graffe e passala a `instance.replace()`:\n\n```js\nsend({ message: instance.replace('{GREETING}') });\n```\n\nCon `GREETING` impostata su `Hello from LessCode`, un endpoint costruito con questo codice risponde:\n\n```json\n{\"message\":\"Hello from LessCode\"}\n```\n\n![Un flusso Route, Code e Response che restituisce la variabile](/files/Jap1aR2nO60f.webp)\n","entries":[],"license":"MIT","updated":"2026-11-19T04:41:13.543Z"}
{"id":"Jap1aS2oO61f-sk","url":"https://totaljs.es/docs/sk/lesscode/1-0/guides/variables/","project":"lesscode","version":"1-0","section":"guides","language":"sk","title":"Premenné","summary":"Uchovávaj hodnoty, napríklad texty, adresy alebo kľúče, mimo uzlov a používaj ich v nastaveniach a v kóde.","markdown":"---\ntitle: \"Premenné\"\nproject: Total.js LessCode\nversion: 1.0\nsection: guides\nlanguage: sk\nlicense: MIT\nurl: https://totaljs.es/docs/sk/lesscode/1-0/guides/variables/\nupdated: 2026-11-19T04:41:13.543Z\n---\n\n# Premenné\n\n> Uchovávaj hodnoty, napríklad texty, adresy alebo kľúče, mimo uzlov a používaj ich v nastaveniach a v kóde.\n\nPremenné sú pomenované hodnoty, ktoré patria tvojmu toku. Používaj ich pre hodnoty, ktoré chceš meniť na jednom mieste.\n\n## Pridanie premennej\n\n1. Na paneli nástrojov vyber **Variables** (premenné).\n2. Do poľa **Type a key** napíš kľúč, napríklad `GREETING`.\n3. Do poľa **Type a value and press enter** napíš hodnotu a stlač Enter.\n4. Vyber **SUBMIT** a potom okno zatvor tlačidlom **Cancel** alebo krížikom.\n\n![Okno Variables s premennou GREETING](/files/Jap1aP2mO61f.webp)\n\nPremenná, ktorú nepotvrdíš klávesom Enter, sa neuloží. Premenné začnú platiť hneď a ukladajú sa do [súboru toku](../../reference/flow-file/).\n\n## Použitie premennej v uzle Code\n\nKľúč napíš do zložených zátvoriek a odovzdaj ho funkcii `instance.replace()`:\n\n```js\nsend({ message: instance.replace('{GREETING}') });\n```\n\nKeď má `GREETING` hodnotu `Hello from LessCode`, endpoint vytvorený s týmto kódom odpovie:\n\n```json\n{\"message\":\"Hello from LessCode\"}\n```\n\n![Tok Route, Code a Response, ktorý vracia premennú](/files/Jap1aR2nO60f.webp)\n","entries":[],"license":"MIT","updated":"2026-11-19T04:41:13.543Z"}
{"id":"Jap1aM2kO61f","url":"https://totaljs.es/docs/lesscode/1-0/guides/test-with-trigger/","project":"lesscode","version":"1-0","section":"guides","language":"en","title":"Test with Trigger and Print","summary":"Send test data into a flow by hand and look at what each node produces.","markdown":"---\ntitle: Test with Trigger and Print\nproject: LessCode\nversion: 1.0\nsection: guides\nlanguage: en\nlicense: MIT\nurl: https://totaljs.es/docs/lesscode/1-0/guides/test-with-trigger/\nupdated: 2026-11-19T04:41:12.685Z\n---\n\n# Test with Trigger and Print\n\n> Send test data into a flow by hand and look at what each node produces.\n\n**Trigger** sends data when you select **Run**. **Print** shows the data it receives. Together they let you test part of a flow without waiting for a request or a timer.\n\n## Send test data\n\n1. Drag **Trigger** onto the canvas and connect its output to the node you want to test.\n2. Double-click the Trigger to choose what it sends. Choose the **Type**, clear **Random data** and type your own **Data**. For an object, choose **Object** and type it in JavaScript form, for example `{ product: 'Demo product', quantity: 3 }`. Select **APPLY** in the window.\n3. Select **APPLY** in the toolbar, then **Continue**.\n4. Select **Run** on the Trigger.\n\n## Look at the result\n\nConnect a **Print** node to any output. Each time data arrives, Print shows the date and the data.\n\n![Trigger connected to Print, which shows the received data](/files/Jap1Zr2MO61f.webp)\n\nSelect **Clear** on the Print node to empty it.\n\nFor a full example, see [Call an HTTP API](../../recipes/call-http-api/). To see log lines and errors, use the [Console](../console/).\n","entries":[],"license":"MIT","updated":"2026-11-19T04:41:12.685Z"}
{"id":"Jap1aM2kO61f-de","url":"https://totaljs.es/docs/de/lesscode/1-0/guides/test-with-trigger/","project":"lesscode","version":"1-0","section":"guides","language":"de","title":"Mit Trigger und Print testen","summary":"Schicke Testdaten von Hand in einen Flow und sieh dir an, was jeder Node erzeugt.","markdown":"---\ntitle: Mit Trigger und Print testen\nproject: Total.js LessCode\nversion: 1.0\nsection: guides\nlanguage: de\nlicense: MIT\nurl: https://totaljs.es/docs/de/lesscode/1-0/guides/test-with-trigger/\nupdated: 2026-11-19T04:41:12.685Z\n---\n\n# Mit Trigger und Print testen\n\n> Schicke Testdaten von Hand in einen Flow und sieh dir an, was jeder Node erzeugt.\n\n**Trigger** schickt Daten, wenn du **Run** wählst. **Print** zeigt die Daten, die es empfängt. Zusammen kannst du damit einen Teil eines Flows testen, ohne auf eine Anfrage oder einen Timer zu warten.\n\n## Testdaten schicken\n\n1. Ziehe **Trigger** auf die Arbeitsfläche und verbinde seinen Ausgang mit dem Node, den du testen willst.\n2. Doppelklicke auf den Trigger, um festzulegen, was er schickt. Wähle den **Type**, entferne den Haken bei **Random data** und tippe deine eigenen **Data** ein. Für ein Objekt wählst du **Object** und schreibst es in JavaScript-Form, zum Beispiel `{ product: 'Demo product', quantity: 3 }`. Wähle **APPLY** im Fenster.\n3. Wähle **APPLY** in der Werkzeugleiste und dann **Continue**.\n4. Wähle **Run** am Trigger.\n\n## Das Ergebnis ansehen\n\nVerbinde einen **Print**-Node mit einem beliebigen Ausgang. Jedes Mal, wenn Daten ankommen, zeigt Print das Datum und die Daten.\n\n![Trigger verbunden mit Print, das die empfangenen Daten zeigt](/files/Jap1Zr2MO61f.webp)\n\nWähle **Clear** am Print-Node, um ihn zu leeren.\n\nEin vollständiges Beispiel findest du unter [Eine HTTP-API aufrufen](../../recipes/call-http-api/). Protokollzeilen und Fehler siehst du in der [Console](../console/).\n","entries":[],"license":"MIT","updated":"2026-11-19T04:41:12.685Z"}
{"id":"Jap1aM2kO61f-es","url":"https://totaljs.es/docs/es/lesscode/1-0/guides/test-with-trigger/","project":"lesscode","version":"1-0","section":"guides","language":"es","title":"Probar con Trigger y Print","summary":"Envía datos de prueba a un flujo a mano y mira lo que produce cada nodo.","markdown":"---\ntitle: Probar con Trigger y Print\nproject: Total.js LessCode\nversion: 1.0\nsection: guides\nlanguage: es\nlicense: MIT\nurl: https://totaljs.es/docs/es/lesscode/1-0/guides/test-with-trigger/\nupdated: 2026-11-19T04:41:12.685Z\n---\n\n# Probar con Trigger y Print\n\n> Envía datos de prueba a un flujo a mano y mira lo que produce cada nodo.\n\n**Trigger** envía datos cuando seleccionas **Run** (ejecutar). **Print** muestra los datos que recibe. Juntos te permiten probar una parte de un flujo sin esperar a una petición o a un temporizador.\n\n## Envía datos de prueba\n\n1. Arrastra **Trigger** al lienzo y conecta su salida al nodo que quieres probar.\n2. Haz doble clic en el Trigger para elegir lo que envía. Elige el **Type** (tipo), desmarca **Random data** (datos aleatorios) y escribe tus propios **Data** (datos). Para un objeto, elige **Object** y escríbelo en formato JavaScript, por ejemplo `{ product: 'Demo product', quantity: 3 }`. Selecciona **APPLY** en la ventana.\n3. Selecciona **APPLY** en la barra de herramientas y después **Continue**.\n4. Selecciona **Run** en el Trigger.\n\n## Mira el resultado\n\nConecta un nodo **Print** a cualquier salida. Cada vez que llegan datos, Print muestra la fecha y los datos.\n\n![Trigger conectado a Print, que muestra los datos recibidos](/files/Jap1Zr2MO61f.webp)\n\nSelecciona **Clear** en el nodo Print para vaciarlo.\n\nPara ver un ejemplo completo, consulta [Llamar a una API HTTP](../../recipes/call-http-api/). Para ver las líneas de registro y los errores, usa la [consola](../console/).\n","entries":[],"license":"MIT","updated":"2026-11-19T04:41:12.685Z"}
{"id":"Jap1aM2kO61f-fr","url":"https://totaljs.es/docs/fr/lesscode/1-0/guides/test-with-trigger/","project":"lesscode","version":"1-0","section":"guides","language":"fr","title":"Tester avec Trigger et Print","summary":"Envoie à la main des données de test dans un flux et regarde ce que produit chaque nœud.","markdown":"---\ntitle: Tester avec Trigger et Print\nproject: Total.js LessCode\nversion: 1.0\nsection: guides\nlanguage: fr\nlicense: MIT\nurl: https://totaljs.es/docs/fr/lesscode/1-0/guides/test-with-trigger/\nupdated: 2026-11-19T04:41:12.685Z\n---\n\n# Tester avec Trigger et Print\n\n> Envoie à la main des données de test dans un flux et regarde ce que produit chaque nœud.\n\n**Trigger** envoie des données quand tu sélectionnes **Run**. **Print** affiche les données qu’il reçoit. Ensemble, ils te permettent de tester une partie d’un flux sans attendre une requête ou un minuteur.\n\n## Envoyer des données de test\n\n1. Fais glisser **Trigger** sur le canevas et connecte sa sortie au nœud que tu veux tester.\n2. Double-clique sur le Trigger pour choisir ce qu’il envoie. Choisis le **Type**, décoche **Random data** et écris tes propres **Data**. Pour un objet, choisis **Object** et écris-le en notation JavaScript, par exemple `{ product: 'Demo product', quantity: 3 }`. Sélectionne **APPLY** dans la fenêtre.\n3. Sélectionne **APPLY** dans la barre d’outils, puis **Continue**.\n4. Sélectionne **Run** sur le Trigger.\n\n## Regarder le résultat\n\nConnecte un nœud **Print** à n’importe quelle sortie. Chaque fois que des données arrivent, Print affiche la date et les données.\n\n![Trigger connecté à Print, qui affiche les données reçues](/files/Jap1Zr2MO61f.webp)\n\nSélectionne **Clear** sur le nœud Print pour le vider.\n\nPour un exemple complet, consulte [Appeler une API HTTP](../../recipes/call-http-api/). Pour voir les lignes de log et les erreurs, utilise la [Console](../console/).\n","entries":[],"license":"MIT","updated":"2026-11-19T04:41:12.685Z"}
{"id":"Jap1aM2kO61f-it","url":"https://totaljs.es/docs/it/lesscode/1-0/guides/test-with-trigger/","project":"lesscode","version":"1-0","section":"guides","language":"it","title":"Provare con Trigger e Print","summary":"Invia a mano dati di prova in un flusso e guarda cosa produce ogni nodo.","markdown":"---\ntitle: Provare con Trigger e Print\nproject: Total.js LessCode\nversion: 1.0\nsection: guides\nlanguage: it\nlicense: MIT\nurl: https://totaljs.es/docs/it/lesscode/1-0/guides/test-with-trigger/\nupdated: 2026-11-19T04:41:12.685Z\n---\n\n# Provare con Trigger e Print\n\n> Invia a mano dati di prova in un flusso e guarda cosa produce ogni nodo.\n\n**Trigger** invia dati quando selezioni **Run**. **Print** mostra i dati che riceve. Insieme ti permettono di provare una parte di un flusso senza aspettare una richiesta o un timer.\n\n## Inviare dati di prova\n\n1. Trascina **Trigger** sul canvas e collega la sua uscita al nodo che vuoi provare.\n2. Fai doppio clic sul Trigger per scegliere cosa invia. Scegli il **Type**, togli la spunta da **Random data** e scrivi i tuoi **Data**. Per un oggetto, scegli **Object** e scrivilo in forma JavaScript, per esempio `{ product: 'Demo product', quantity: 3 }`. Seleziona **APPLY** nella finestra.\n3. Seleziona **APPLY** nella barra degli strumenti, poi **Continue**.\n4. Seleziona **Run** sul Trigger.\n\n## Guardare il risultato\n\nCollega un nodo **Print** a qualsiasi uscita. Ogni volta che arrivano dati, Print mostra la data e i dati.\n\n![Trigger collegato a Print, che mostra i dati ricevuti](/files/Jap1Zr2MO61f.webp)\n\nSeleziona **Clear** sul nodo Print per svuotarlo.\n\nPer un esempio completo, leggi [Chiamare un'API HTTP](../../recipes/call-http-api/). Per vedere le righe di log e gli errori, usa la [Console](../console/).\n","entries":[],"license":"MIT","updated":"2026-11-19T04:41:12.685Z"}
{"id":"Jap1aM2kO61f-sk","url":"https://totaljs.es/docs/sk/lesscode/1-0/guides/test-with-trigger/","project":"lesscode","version":"1-0","section":"guides","language":"sk","title":"Testuj s uzlami Trigger a Print","summary":"Pošli do toku testovacie dáta ručne a pozri sa, čo vytvorí každý uzol.","markdown":"---\ntitle: Testuj s uzlami Trigger a Print\nproject: Total.js LessCode\nversion: 1.0\nsection: guides\nlanguage: sk\nlicense: MIT\nurl: https://totaljs.es/docs/sk/lesscode/1-0/guides/test-with-trigger/\nupdated: 2026-11-19T04:41:12.685Z\n---\n\n# Testuj s uzlami Trigger a Print\n\n> Pošli do toku testovacie dáta ručne a pozri sa, čo vytvorí každý uzol.\n\n**Trigger** pošle dáta, keď vyberieš **Run**. **Print** ukáže dáta, ktoré prijme. Spolu ti umožnia otestovať časť toku bez čakania na požiadavku alebo časovač.\n\n## Odoslanie testovacích dát\n\n1. Pretiahni **Trigger** na plátno a jeho výstup prepoj s uzlom, ktorý chceš otestovať.\n2. Dvakrát klikni na Trigger a vyber, čo má posielať. Vyber **Type**, zruš **Random data** a napíš vlastné **Data**. Pre objekt vyber **Object** a napíš ho v tvare JavaScriptu, napríklad `{ product: 'Demo product', quantity: 3 }`. V okne vyber **APPLY**.\n3. Na paneli nástrojov vyber **APPLY** a potom **Continue**.\n4. Na uzle Trigger vyber **Run**.\n\n## Pohľad na výsledok\n\nUzol **Print** prepoj s ľubovoľným výstupom. Zakaždým, keď prídu dáta, Print ukáže dátum a dáta.\n\n![Trigger prepojený s Print, ktorý ukazuje prijaté dáta](/files/Jap1Zr2MO61f.webp)\n\nUzol Print vyprázdniš tlačidlom **Clear**.\n\nCelý príklad nájdeš v článku [Zavolaj HTTP API](../../recipes/call-http-api/). Riadky záznamu a chyby uvidíš v [konzole](../console/).\n","entries":[],"license":"MIT","updated":"2026-11-19T04:41:12.685Z"}
{"id":"Jap1ZS24O61f","url":"https://totaljs.es/docs/lesscode/1-0/guides/console/","project":"lesscode","version":"1-0","section":"guides","language":"en","title":"The Console","summary":"Read log lines and errors of your flow in the Console panel.","markdown":"---\ntitle: The Console\nproject: LessCode\nversion: 1.0\nsection: guides\nlanguage: en\nlicense: MIT\nurl: https://totaljs.es/docs/lesscode/1-0/guides/console/\nupdated: 2026-11-19T04:41:07.272Z\n---\n\n# The Console\n\n> Read log lines and errors of your flow in the Console panel.\n\nThe Console panel shows errors raised by nodes and, with a **Console debug** node, the lines that your code writes with `console.log()`.\n\n## Open the Console\n\nSelect **Console** in the toolbar. The panel opens at the bottom of the designer. Each line starts with the date and time. Errors are red.\n\n![The Console panel with log lines and errors](/files/Jap1ZO22O61f.webp)\n\n- Select the bin icon to empty the Console.\n- Select the red cross to close the panel.\n\n## Show console.log() lines\n\nA new flow already has a **Console debug** node. You need only one in a flow.\n\n1. Double-click **Console debug**.\n2. Tick **Capture all `console.log()`**.\n3. Select **APPLY** in the window.\n\n![The Console debug settings](/files/Jap1ZQ23O60f.webp)\n\nFrom now on, `console.log()` in a [Code](../../reference/code/) node writes to the Console panel instead of the terminal. Use it to follow your data:\n\n```js\nconsole.log('Heartbeat received:', value);\n```\n\nWithout a Console debug node, or with the option off, these lines go to the terminal where LessCode runs.\n","entries":[],"license":"MIT","updated":"2026-11-19T04:41:07.272Z"}
{"id":"Jap1ZS24O61f-de","url":"https://totaljs.es/docs/de/lesscode/1-0/guides/console/","project":"lesscode","version":"1-0","section":"guides","language":"de","title":"Die Console","summary":"Lies Protokollzeilen und Fehler deines Flows im Console-Bereich.","markdown":"---\ntitle: Die Console\nproject: Total.js LessCode\nversion: 1.0\nsection: guides\nlanguage: de\nlicense: MIT\nurl: https://totaljs.es/docs/de/lesscode/1-0/guides/console/\nupdated: 2026-11-19T04:41:07.272Z\n---\n\n# Die Console\n\n> Lies Protokollzeilen und Fehler deines Flows im Console-Bereich.\n\nDer Console-Bereich zeigt Fehler, die Nodes auslösen, und mit einem **Console debug**-Node auch die Zeilen, die dein Code mit `console.log()` schreibt.\n\n## Die Console öffnen\n\nWähle **Console** in der Werkzeugleiste. Der Bereich öffnet sich unten im Designer. Jede Zeile beginnt mit Datum und Uhrzeit. Fehler sind rot.\n\n![Der Console-Bereich mit Protokollzeilen und Fehlern](/files/Jap1ZO22O61f.webp)\n\n- Wähle das Papierkorb-Symbol, um die Console zu leeren.\n- Wähle das rote Kreuz, um den Bereich zu schließen.\n\n## console.log()-Zeilen anzeigen\n\nEin neuer Flow hat schon einen **Console debug**-Node. Du brauchst nur einen pro Flow.\n\n1. Doppelklicke auf **Console debug**.\n2. Hake **Capture all `console.log()`** an.\n3. Wähle **APPLY** im Fenster.\n\n![Die Einstellungen von Console debug](/files/Jap1ZQ23O60f.webp)\n\nAb jetzt schreibt `console.log()` in einem [Code](../../reference/code/)-Node in den Console-Bereich statt ins Terminal. So kannst du deine Daten verfolgen:\n\n```js\nconsole.log('Heartbeat received:', value);\n```\n\nOhne Console-debug-Node oder mit ausgeschalteter Option landen diese Zeilen im Terminal, in dem LessCode läuft.\n","entries":[],"license":"MIT","updated":"2026-11-19T04:41:07.272Z"}
{"id":"Jap1ZS24O61f-es","url":"https://totaljs.es/docs/es/lesscode/1-0/guides/console/","project":"lesscode","version":"1-0","section":"guides","language":"es","title":"La consola","summary":"Lee las líneas de registro y los errores de tu flujo en el panel Console.","markdown":"---\ntitle: La consola\nproject: Total.js LessCode\nversion: 1.0\nsection: guides\nlanguage: es\nlicense: MIT\nurl: https://totaljs.es/docs/es/lesscode/1-0/guides/console/\nupdated: 2026-11-19T04:41:07.272Z\n---\n\n# La consola\n\n> Lee las líneas de registro y los errores de tu flujo en el panel Console.\n\nEl panel **Console** (consola) muestra los errores que generan los nodos y, con un nodo **Console debug**, las líneas que tu código escribe con `console.log()`.\n\n## Abre la consola\n\nSelecciona **Console** en la barra de herramientas. El panel se abre en la parte inferior del diseñador. Cada línea empieza con la fecha y la hora. Los errores aparecen en rojo.\n\n![El panel Console con líneas de registro y errores](/files/Jap1ZO22O61f.webp)\n\n- Selecciona el icono de la papelera para vaciar la consola.\n- Selecciona la cruz roja para cerrar el panel.\n\n## Muestra las líneas de console.log()\n\nUn flujo nuevo ya tiene un nodo **Console debug**. Solo necesitas uno por flujo.\n\n1. Haz doble clic en **Console debug**.\n2. Marca **Capture all `console.log()`**.\n3. Selecciona **APPLY** en la ventana.\n\n![Los ajustes de Console debug](/files/Jap1ZQ23O60f.webp)\n\nA partir de ahora, `console.log()` en un nodo [Code](../../reference/code/) escribe en el panel Console en lugar de en la terminal. Úsalo para seguir tus datos:\n\n```js\nconsole.log('Heartbeat received:', value);\n```\n\nSin un nodo Console debug, o con la opción desactivada, estas líneas van a la terminal donde se ejecuta LessCode.\n","entries":[],"license":"MIT","updated":"2026-11-19T04:41:07.272Z"}
{"id":"Jap1ZS24O61f-fr","url":"https://totaljs.es/docs/fr/lesscode/1-0/guides/console/","project":"lesscode","version":"1-0","section":"guides","language":"fr","title":"La Console","summary":"Lis les lignes de log et les erreurs de ton flux dans le panneau Console.","markdown":"---\ntitle: La Console\nproject: Total.js LessCode\nversion: 1.0\nsection: guides\nlanguage: fr\nlicense: MIT\nurl: https://totaljs.es/docs/fr/lesscode/1-0/guides/console/\nupdated: 2026-11-19T04:41:07.272Z\n---\n\n# La Console\n\n> Lis les lignes de log et les erreurs de ton flux dans le panneau Console.\n\nLe panneau Console affiche les erreurs levées par les nœuds et, avec un nœud **Console debug**, les lignes que ton code écrit avec `console.log()`.\n\n## Ouvrir la Console\n\nSélectionne **Console** dans la barre d’outils. Le panneau s’ouvre en bas du designer. Chaque ligne commence par la date et l’heure. Les erreurs sont en rouge.\n\n![Le panneau Console avec des lignes de log et des erreurs](/files/Jap1ZO22O61f.webp)\n\n- Sélectionne l’icône de la corbeille pour vider la Console.\n- Sélectionne la croix rouge pour fermer le panneau.\n\n## Afficher les lignes de console.log()\n\nUn nouveau flux a déjà un nœud **Console debug**. Un seul suffit par flux.\n\n1. Double-clique sur **Console debug**.\n2. Coche **Capture all `console.log()`**.\n3. Sélectionne **APPLY** dans la fenêtre.\n\n![Les réglages de Console debug](/files/Jap1ZQ23O60f.webp)\n\nÀ partir de maintenant, `console.log()` dans un nœud [Code](../../reference/code/) écrit dans le panneau Console au lieu du terminal. Utilise-le pour suivre tes données :\n\n```js\nconsole.log('Heartbeat received:', value);\n```\n\nSans nœud Console debug, ou avec l’option désactivée, ces lignes vont dans le terminal où LessCode s’exécute.\n","entries":[],"license":"MIT","updated":"2026-11-19T04:41:07.272Z"}
{"id":"Jap1ZS24O61f-it","url":"https://totaljs.es/docs/it/lesscode/1-0/guides/console/","project":"lesscode","version":"1-0","section":"guides","language":"it","title":"La Console","summary":"Leggi le righe di log e gli errori del tuo flusso nel pannello Console.","markdown":"---\ntitle: La Console\nproject: Total.js LessCode\nversion: 1.0\nsection: guides\nlanguage: it\nlicense: MIT\nurl: https://totaljs.es/docs/it/lesscode/1-0/guides/console/\nupdated: 2026-11-19T04:41:07.272Z\n---\n\n# La Console\n\n> Leggi le righe di log e gli errori del tuo flusso nel pannello Console.\n\nIl pannello Console mostra gli errori generati dai nodi e, con un nodo **Console debug**, le righe che il tuo codice scrive con `console.log()`.\n\n## Aprire la Console\n\nSeleziona **Console** nella barra degli strumenti. Il pannello si apre in fondo al designer. Ogni riga inizia con la data e l'ora. Gli errori sono in rosso.\n\n![Il pannello Console con righe di log ed errori](/files/Jap1ZO22O61f.webp)\n\n- Seleziona l'icona del cestino per svuotare la Console.\n- Seleziona la croce rossa per chiudere il pannello.\n\n## Mostrare le righe di console.log()\n\nUn flusso nuovo ha già un nodo **Console debug**. Te ne basta uno per flusso.\n\n1. Fai doppio clic su **Console debug**.\n2. Spunta **Capture all `console.log()`**.\n3. Seleziona **APPLY** nella finestra.\n\n![Le impostazioni di Console debug](/files/Jap1ZQ23O60f.webp)\n\nDa questo momento, `console.log()` in un nodo [Code](../../reference/code/) scrive nel pannello Console invece che nel terminale. Usalo per seguire i tuoi dati:\n\n```js\nconsole.log('Heartbeat received:', value);\n```\n\nSenza un nodo Console debug, o con l'opzione disattivata, queste righe vanno nel terminale in cui gira LessCode.\n","entries":[],"license":"MIT","updated":"2026-11-19T04:41:07.272Z"}
{"id":"Jap1ZS24O61f-sk","url":"https://totaljs.es/docs/sk/lesscode/1-0/guides/console/","project":"lesscode","version":"1-0","section":"guides","language":"sk","title":"Konzola","summary":"Čítaj riadky záznamu a chyby svojho toku v paneli Console.","markdown":"---\ntitle: Konzola\nproject: Total.js LessCode\nversion: 1.0\nsection: guides\nlanguage: sk\nlicense: MIT\nurl: https://totaljs.es/docs/sk/lesscode/1-0/guides/console/\nupdated: 2026-11-19T04:41:07.272Z\n---\n\n# Konzola\n\n> Čítaj riadky záznamu a chyby svojho toku v paneli Console.\n\nPanel Console (konzola) zobrazuje chyby, ktoré vyvolajú uzly, a s uzlom **Console debug** aj riadky, ktoré tvoj kód zapíše cez `console.log()`.\n\n## Otvorenie konzoly\n\nNa paneli nástrojov vyber **Console**. Panel sa otvorí v dolnej časti návrhára. Každý riadok začína dátumom a časom. Chyby sú červené.\n\n![Panel Console s riadkami záznamu a chybami](/files/Jap1ZO22O61f.webp)\n\n- Konzolu vyprázdniš ikonou koša.\n- Panel zatvoríš červeným krížikom.\n\n## Zobrazenie riadkov z console.log()\n\nNový tok už má uzol **Console debug**. V toku stačí jeden.\n\n1. Dvakrát klikni na **Console debug**.\n2. Zaškrtni **Capture all `console.log()`**.\n3. V okne vyber **APPLY**.\n\n![Nastavenia uzla Console debug](/files/Jap1ZQ23O60f.webp)\n\nOdteraz `console.log()` v uzle [Code](../../reference/code/) zapisuje do panela Console namiesto terminálu. Použi ho na sledovanie svojich dát:\n\n```js\nconsole.log('Heartbeat received:', value);\n```\n\nBez uzla Console debug alebo s vypnutou voľbou idú tieto riadky do terminálu, v ktorom LessCode beží.\n","entries":[],"license":"MIT","updated":"2026-11-19T04:41:07.272Z"}
{"id":"Jap1Zm2HO60f","url":"https://totaljs.es/docs/lesscode/1-0/guides/errors/","project":"lesscode","version":"1-0","section":"guides","language":"en","title":"Errors","summary":"See which node failed and why.","markdown":"---\ntitle: Errors\nproject: LessCode\nversion: 1.0\nsection: guides\nlanguage: en\nlicense: MIT\nurl: https://totaljs.es/docs/lesscode/1-0/guides/errors/\nupdated: 2026-11-19T04:41:09.250Z\n---\n\n# Errors\n\n> See which node failed and why.\n\nWhen a node raises an error, the designer shows it in three places.\n\n![A Code node marked with a red bug icon and a red line after an error](/files/Jap1Zi2FO60f.webp)\n\n- **On the node.** A red bug icon appears above it and a red line below it. Hold the pointer over the node to read the error.\n- **In the toolbar.** The **Console** button turns red.\n- **In the status bar.** The **Errors** counter goes up.\n\n![The toolbar with the Console button in red](/files/Jap1Zk2GO61f.webp)\n\nOpen the [Console](../console/) to read the full message. It names the component and the node ID.\n\n## Find the cause\n\n1. Open the Console and read the error.\n2. Find the node it names, double-click it and check its settings or code.\n3. Send test data with a [Trigger](../test-with-trigger/) to check the fix.\n\nIn a Code node, an error that you throw stops that message:\n\n```js\nthrow new Error('Demo failure');\n```\n","entries":[],"license":"MIT","updated":"2026-11-19T04:41:09.250Z"}
{"id":"Jap1Zm2HO60f-de","url":"https://totaljs.es/docs/de/lesscode/1-0/guides/errors/","project":"lesscode","version":"1-0","section":"guides","language":"de","title":"Fehler","summary":"Sieh nach, welcher Node fehlgeschlagen ist und warum.","markdown":"---\ntitle: Fehler\nproject: Total.js LessCode\nversion: 1.0\nsection: guides\nlanguage: de\nlicense: MIT\nurl: https://totaljs.es/docs/de/lesscode/1-0/guides/errors/\nupdated: 2026-11-19T04:41:09.250Z\n---\n\n# Fehler\n\n> Sieh nach, welcher Node fehlgeschlagen ist und warum.\n\nWenn ein Node einen Fehler auslöst, zeigt der Designer ihn an drei Stellen.\n\n![Ein Code-Node mit einem roten Käfer-Symbol und einer roten Linie nach einem Fehler](/files/Jap1Zi2FO60f.webp)\n\n- **Am Node.** Über ihm erscheint ein rotes Käfer-Symbol und unter ihm eine rote Linie. Halte den Mauszeiger über den Node, um den Fehler zu lesen.\n- **In der Werkzeugleiste.** Die Schaltfläche **Console** wird rot.\n- **In der Statusleiste.** Der Zähler **Errors** steigt.\n\n![Die Werkzeugleiste mit der roten Schaltfläche Console](/files/Jap1Zk2GO61f.webp)\n\nÖffne die [Console](../console/), um die vollständige Meldung zu lesen. Sie nennt die Komponente und die Node-ID.\n\n## Die Ursache finden\n\n1. Öffne die Console und lies den Fehler.\n2. Such den genannten Node, doppelklicke darauf und prüfe seine Einstellungen oder seinen Code.\n3. Schicke Testdaten mit einem [Trigger](../test-with-trigger/), um die Korrektur zu prüfen.\n\nIn einem Code-Node stoppt ein Fehler, den du auslöst, diese Nachricht:\n\n```js\nthrow new Error('Demo failure');\n```\n","entries":[],"license":"MIT","updated":"2026-11-19T04:41:09.250Z"}
{"id":"Jap1Zm2HO60f-es","url":"https://totaljs.es/docs/es/lesscode/1-0/guides/errors/","project":"lesscode","version":"1-0","section":"guides","language":"es","title":"Errores","summary":"Descubre qué nodo ha fallado y por qué.","markdown":"---\ntitle: Errores\nproject: Total.js LessCode\nversion: 1.0\nsection: guides\nlanguage: es\nlicense: MIT\nurl: https://totaljs.es/docs/es/lesscode/1-0/guides/errors/\nupdated: 2026-11-19T04:41:09.250Z\n---\n\n# Errores\n\n> Descubre qué nodo ha fallado y por qué.\n\nCuando un nodo genera un error, el diseñador lo muestra en tres sitios.\n\n![Un nodo Code marcado con un icono rojo de bicho y una línea roja tras un error](/files/Jap1Zi2FO60f.webp)\n\n- **En el nodo.** Aparece un icono rojo de bicho encima y una línea roja debajo. Deja el puntero sobre el nodo para leer el error.\n- **En la barra de herramientas.** El botón **Console** se vuelve rojo.\n- **En la barra de estado.** El contador **Errors** sube.\n\n![La barra de herramientas con el botón Console en rojo](/files/Jap1Zk2GO61f.webp)\n\nAbre la [consola](../console/) para leer el mensaje completo. Indica el componente y el ID del nodo.\n\n## Encuentra la causa\n\n1. Abre la consola y lee el error.\n2. Busca el nodo que indica, haz doble clic en él y revisa sus ajustes o su código.\n3. Envía datos de prueba con un [Trigger](../test-with-trigger/) para comprobar la solución.\n\nEn un nodo Code, un error que lanzas detiene ese mensaje:\n\n```js\nthrow new Error('Demo failure');\n```\n","entries":[],"license":"MIT","updated":"2026-11-19T04:41:09.250Z"}
{"id":"Jap1Zm2HO60f-fr","url":"https://totaljs.es/docs/fr/lesscode/1-0/guides/errors/","project":"lesscode","version":"1-0","section":"guides","language":"fr","title":"Erreurs","summary":"Vois quel nœud a échoué et pourquoi.","markdown":"---\ntitle: Erreurs\nproject: Total.js LessCode\nversion: 1.0\nsection: guides\nlanguage: fr\nlicense: MIT\nurl: https://totaljs.es/docs/fr/lesscode/1-0/guides/errors/\nupdated: 2026-11-19T04:41:09.250Z\n---\n\n# Erreurs\n\n> Vois quel nœud a échoué et pourquoi.\n\nQuand un nœud lève une erreur, le designer l’affiche à trois endroits.\n\n![Un nœud Code marqué d’une icône d’insecte rouge et d’une ligne rouge après une erreur](/files/Jap1Zi2FO60f.webp)\n\n- **Sur le nœud.** Une icône d’insecte rouge apparaît au-dessus et une ligne rouge en dessous. Garde le pointeur sur le nœud pour lire l’erreur.\n- **Dans la barre d’outils.** Le bouton **Console** devient rouge.\n- **Dans la barre d’état.** Le compteur **Errors** augmente.\n\n![La barre d’outils avec le bouton Console en rouge](/files/Jap1Zk2GO61f.webp)\n\nOuvre la [Console](../console/) pour lire le message complet. Il indique le composant et l’ID du nœud.\n\n## Trouver la cause\n\n1. Ouvre la Console et lis l’erreur.\n2. Trouve le nœud qu’elle indique, double-clique dessus et vérifie ses réglages ou son code.\n3. Envoie des données de test avec un [Trigger](../test-with-trigger/) pour vérifier la correction.\n\nDans un nœud Code, une erreur que tu lèves arrête ce message :\n\n```js\nthrow new Error('Demo failure');\n```\n","entries":[],"license":"MIT","updated":"2026-11-19T04:41:09.250Z"}
{"id":"Jap1Zm2HO60f-it","url":"https://totaljs.es/docs/it/lesscode/1-0/guides/errors/","project":"lesscode","version":"1-0","section":"guides","language":"it","title":"Errori","summary":"Scopri quale nodo non ha funzionato e perché.","markdown":"---\ntitle: Errori\nproject: Total.js LessCode\nversion: 1.0\nsection: guides\nlanguage: it\nlicense: MIT\nurl: https://totaljs.es/docs/it/lesscode/1-0/guides/errors/\nupdated: 2026-11-19T04:41:09.250Z\n---\n\n# Errori\n\n> Scopri quale nodo non ha funzionato e perché.\n\nQuando un nodo genera un errore, il designer lo mostra in tre punti.\n\n![Un nodo Code segnato con un'icona rossa a forma di insetto e una linea rossa dopo un errore](/files/Jap1Zi2FO60f.webp)\n\n- **Sul nodo.** Sopra compare un'icona rossa a forma di insetto e sotto una linea rossa. Tieni il puntatore sul nodo per leggere l'errore.\n- **Nella barra degli strumenti.** Il pulsante **Console** diventa rosso.\n- **Nella barra di stato.** Il contatore **Errors** aumenta.\n\n![La barra degli strumenti con il pulsante Console in rosso](/files/Jap1Zk2GO61f.webp)\n\nApri la [Console](../console/) per leggere il messaggio completo. Indica il componente e l'ID del nodo.\n\n## Trovare la causa\n\n1. Apri la Console e leggi l'errore.\n2. Trova il nodo indicato, fai doppio clic e controlla le sue impostazioni o il suo codice.\n3. Invia dati di prova con un [Trigger](../test-with-trigger/) per verificare la correzione.\n\nIn un nodo Code, un errore che lanci tu ferma quel messaggio:\n\n```js\nthrow new Error('Demo failure');\n```\n","entries":[],"license":"MIT","updated":"2026-11-19T04:41:09.250Z"}
{"id":"Jap1Zm2HO60f-sk","url":"https://totaljs.es/docs/sk/lesscode/1-0/guides/errors/","project":"lesscode","version":"1-0","section":"guides","language":"sk","title":"Chyby","summary":"Zisti, ktorý uzol zlyhal a prečo.","markdown":"---\ntitle: Chyby\nproject: Total.js LessCode\nversion: 1.0\nsection: guides\nlanguage: sk\nlicense: MIT\nurl: https://totaljs.es/docs/sk/lesscode/1-0/guides/errors/\nupdated: 2026-11-19T04:41:09.250Z\n---\n\n# Chyby\n\n> Zisti, ktorý uzol zlyhal a prečo.\n\nKeď uzol vyvolá chybu, návrhár ju ukáže na troch miestach.\n\n![Uzol Code označený červenou ikonou chrobáka a červenou čiarou po chybe](/files/Jap1Zi2FO60f.webp)\n\n- **Na uzle.** Nad ním sa objaví červená ikona chrobáka a pod ním červená čiara. Ak chceš chybu prečítať, podrž ukazovateľ nad uzlom.\n- **Na paneli nástrojov.** Tlačidlo **Console** sčervenie.\n- **V stavovom riadku.** Počítadlo **Errors** stúpne.\n\n![Panel nástrojov s červeným tlačidlom Console](/files/Jap1Zk2GO61f.webp)\n\nCelú správu si prečítaš v [konzole](../console/). Uvádza komponent a ID uzla.\n\n## Hľadanie príčiny\n\n1. Otvor konzolu a prečítaj si chybu.\n2. Nájdi uzol, ktorý uvádza, dvakrát naň klikni a skontroluj jeho nastavenia alebo kód.\n3. Opravu over tak, že pošleš testovacie dáta cez [Trigger](../test-with-trigger/).\n\nV uzle Code chyba, ktorú vyhodíš, zastaví danú správu:\n\n```js\nthrow new Error('Demo failure');\n```\n","entries":[],"license":"MIT","updated":"2026-11-19T04:41:09.250Z"}
{"id":"Jap1aB2aO61f","url":"https://totaljs.es/docs/lesscode/1-0/guides/pause-flow/","project":"lesscode","version":"1-0","section":"guides","language":"en","title":"Pause the flow","summary":"Stop the whole flow for a moment and start it again.","markdown":"---\ntitle: Pause the flow\nproject: LessCode\nversion: 1.0\nsection: guides\nlanguage: en\nlicense: MIT\nurl: https://totaljs.es/docs/lesscode/1-0/guides/pause-flow/\nupdated: 2026-11-19T04:41:11.468Z\n---\n\n# Pause the flow\n\n> Stop the whole flow for a moment and start it again.\n\nPause stops your flow without changing it. While it is paused, the canvas is faded and your endpoints answer with the HTTP status `503`.\n\n## Pause\n\n1. Select **Pause** in the toolbar.\n2. Select **Pause** to confirm.\n\n## Start again\n\nSelect **Pause** in the toolbar again. The flow runs at once, with no confirmation.\n","entries":[],"license":"MIT","updated":"2026-11-19T04:41:11.468Z"}
{"id":"Jap1aB2aO61f-de","url":"https://totaljs.es/docs/de/lesscode/1-0/guides/pause-flow/","project":"lesscode","version":"1-0","section":"guides","language":"de","title":"Den Flow pausieren","summary":"Halte den ganzen Flow kurz an und starte ihn wieder.","markdown":"---\ntitle: Den Flow pausieren\nproject: Total.js LessCode\nversion: 1.0\nsection: guides\nlanguage: de\nlicense: MIT\nurl: https://totaljs.es/docs/de/lesscode/1-0/guides/pause-flow/\nupdated: 2026-11-19T04:41:11.468Z\n---\n\n# Den Flow pausieren\n\n> Halte den ganzen Flow kurz an und starte ihn wieder.\n\nPause hält deinen Flow an, ohne ihn zu ändern. Solange er pausiert ist, ist die Arbeitsfläche ausgegraut und deine Endpunkte antworten mit dem HTTP-Status `503`.\n\n## Pausieren\n\n1. Wähle **Pause** in der Werkzeugleiste.\n2. Bestätige mit **Pause**.\n\n## Wieder starten\n\nWähle noch einmal **Pause** in der Werkzeugleiste. Der Flow läuft sofort, ohne Bestätigung.\n","entries":[],"license":"MIT","updated":"2026-11-19T04:41:11.468Z"}
{"id":"Jap1aB2aO61f-es","url":"https://totaljs.es/docs/es/lesscode/1-0/guides/pause-flow/","project":"lesscode","version":"1-0","section":"guides","language":"es","title":"Pausar el flujo","summary":"Detén todo el flujo un momento y vuelve a ponerlo en marcha.","markdown":"---\ntitle: Pausar el flujo\nproject: Total.js LessCode\nversion: 1.0\nsection: guides\nlanguage: es\nlicense: MIT\nurl: https://totaljs.es/docs/es/lesscode/1-0/guides/pause-flow/\nupdated: 2026-11-19T04:41:11.468Z\n---\n\n# Pausar el flujo\n\n> Detén todo el flujo un momento y vuelve a ponerlo en marcha.\n\nLa pausa detiene tu flujo sin cambiarlo. Mientras está en pausa, el lienzo aparece atenuado y tus endpoints responden con el estado HTTP `503`.\n\n## Pausa\n\n1. Selecciona **Pause** (pausar) en la barra de herramientas.\n2. Selecciona **Pause** para confirmar.\n\n## Vuelve a ponerlo en marcha\n\nSelecciona otra vez **Pause** en la barra de herramientas. El flujo se pone en marcha al momento, sin pedir confirmación.\n","entries":[],"license":"MIT","updated":"2026-11-19T04:41:11.468Z"}
{"id":"Jap1aB2aO61f-fr","url":"https://totaljs.es/docs/fr/lesscode/1-0/guides/pause-flow/","project":"lesscode","version":"1-0","section":"guides","language":"fr","title":"Mettre le flux en pause","summary":"Arrête tout le flux un moment, puis relance-le.","markdown":"---\ntitle: Mettre le flux en pause\nproject: Total.js LessCode\nversion: 1.0\nsection: guides\nlanguage: fr\nlicense: MIT\nurl: https://totaljs.es/docs/fr/lesscode/1-0/guides/pause-flow/\nupdated: 2026-11-19T04:41:11.468Z\n---\n\n# Mettre le flux en pause\n\n> Arrête tout le flux un moment, puis relance-le.\n\nLa pause arrête ton flux sans le modifier. Pendant la pause, le canevas est grisé et tes endpoints répondent avec le statut HTTP `503`.\n\n## Mettre en pause\n\n1. Sélectionne **Pause** dans la barre d’outils.\n2. Sélectionne **Pause** pour confirmer.\n\n## Relancer\n\nSélectionne de nouveau **Pause** dans la barre d’outils. Le flux s’exécute tout de suite, sans confirmation.\n","entries":[],"license":"MIT","updated":"2026-11-19T04:41:11.468Z"}
{"id":"Jap1aB2aO61f-it","url":"https://totaljs.es/docs/it/lesscode/1-0/guides/pause-flow/","project":"lesscode","version":"1-0","section":"guides","language":"it","title":"Mettere in pausa il flusso","summary":"Ferma per un momento tutto il flusso e poi fallo ripartire.","markdown":"---\ntitle: Mettere in pausa il flusso\nproject: Total.js LessCode\nversion: 1.0\nsection: guides\nlanguage: it\nlicense: MIT\nurl: https://totaljs.es/docs/it/lesscode/1-0/guides/pause-flow/\nupdated: 2026-11-19T04:41:11.468Z\n---\n\n# Mettere in pausa il flusso\n\n> Ferma per un momento tutto il flusso e poi fallo ripartire.\n\nLa pausa ferma il tuo flusso senza modificarlo. Mentre è in pausa, il canvas appare sbiadito e i tuoi endpoint rispondono con lo stato HTTP `503`.\n\n## Mettere in pausa\n\n1. Seleziona **Pause** nella barra degli strumenti.\n2. Seleziona **Pause** per confermare.\n\n## Far ripartire\n\nSeleziona di nuovo **Pause** nella barra degli strumenti. Il flusso riparte subito, senza conferma.\n","entries":[],"license":"MIT","updated":"2026-11-19T04:41:11.468Z"}
{"id":"Jap1aB2aO61f-sk","url":"https://totaljs.es/docs/sk/lesscode/1-0/guides/pause-flow/","project":"lesscode","version":"1-0","section":"guides","language":"sk","title":"Pozastav tok","summary":"Na chvíľu zastav celý tok a znova ho spusti.","markdown":"---\ntitle: Pozastav tok\nproject: Total.js LessCode\nversion: 1.0\nsection: guides\nlanguage: sk\nlicense: MIT\nurl: https://totaljs.es/docs/sk/lesscode/1-0/guides/pause-flow/\nupdated: 2026-11-19T04:41:11.468Z\n---\n\n# Pozastav tok\n\n> Na chvíľu zastav celý tok a znova ho spusti.\n\nPozastavenie zastaví tvoj tok bez toho, aby ho zmenilo. Kým je pozastavený, plátno je vyblednuté a tvoje endpointy odpovedajú HTTP stavom `503`.\n\n## Pozastavenie\n\n1. Na paneli nástrojov vyber **Pause** (pozastaviť).\n2. Potvrď tlačidlom **Pause**.\n\n## Opätovné spustenie\n\nNa paneli nástrojov znova vyber **Pause**. Tok sa hneď spustí, bez potvrdenia.\n","entries":[],"license":"MIT","updated":"2026-11-19T04:41:11.468Z"}
{"id":"Jap1Zp2KO61f","url":"https://totaljs.es/docs/lesscode/1-0/guides/extensions/","project":"lesscode","version":"1-0","section":"guides","language":"en","title":"Extensions","summary":"Add your own HTML, styles and server code to LessCode with files in the extensions folder.","markdown":"---\ntitle: Extensions\nproject: LessCode\nversion: 1.0\nsection: guides\nlanguage: en\nlicense: MIT\nurl: https://totaljs.es/docs/lesscode/1-0/guides/extensions/\nupdated: 2026-11-19T04:41:09.690Z\n---\n\n# Extensions\n\n> Add your own HTML, styles and server code to LessCode with files in the extensions folder.\n\nAn extension is an HTML file in the `extensions` folder of LessCode. When the flow starts, LessCode loads every `.html` file there:\n\n- The part inside `<script total>` runs on the server, once, when the flow starts.\n- The rest of the file (HTML, `<style>` and normal scripts) is added to the designer page.\n\nThe folder does not exist in a new installation. Create it next to `index.js`. Do not remove the file `extensions.js`: it loads your extensions.\n\n## Example\n\nThis file adds an endpoint that reports the uptime of the server, and an orange line under the designer toolbar.\n\n**1.** Create the file `extensions/status.html`:\n\n```html\n<script total>\n\tROUTE('GET /api/status/', $ => $.json({ name: exports.name, flow: exports.flow.id, uptime: Math.round(process.uptime()) }));\n</script>\n\n<style>\n\t.fheader { border-bottom: 3px solid #E8A317; }\n</style>\n```\n\n**2.** Restart LessCode.\n\n**3.** Call the endpoint:\n\n```bash\ncurl http://localhost:8000/api/status/\n```\n\nThe answer looks like this:\n\n```json\n{\"name\":\"status\",\"flow\":\"lesscode\",\"uptime\":4}\n```\n\nThe designer shows the orange line under the toolbar:\n\n![The designer toolbar with an orange line added by an extension](/files/Jap1Zn2JO60f.webp)\n\n## What the server part can use\n\n| Name | Value |\n|---|---|\n| `exports.name` | The file name without `.html`. |\n| `exports.id` | The same as `exports.name`. |\n| `exports.flow` | The running flow. |\n\n## Changes\n\nLessCode reads the folder when the flow starts. After you add, change or remove an extension, restart LessCode.\n","entries":[],"license":"MIT","updated":"2026-11-19T04:41:09.690Z"}
{"id":"Jap1Zp2KO61f-de","url":"https://totaljs.es/docs/de/lesscode/1-0/guides/extensions/","project":"lesscode","version":"1-0","section":"guides","language":"de","title":"Erweiterungen","summary":"Ergänze LessCode um dein eigenes HTML, eigene Styles und Servercode mit Dateien im Ordner extensions.","markdown":"---\ntitle: Erweiterungen\nproject: Total.js LessCode\nversion: 1.0\nsection: guides\nlanguage: de\nlicense: MIT\nurl: https://totaljs.es/docs/de/lesscode/1-0/guides/extensions/\nupdated: 2026-11-19T04:41:09.690Z\n---\n\n# Erweiterungen\n\n> Ergänze LessCode um dein eigenes HTML, eigene Styles und Servercode mit Dateien im Ordner extensions.\n\nEine Erweiterung ist eine HTML-Datei im Ordner `extensions` von LessCode. Wenn der Flow startet, lädt LessCode jede `.html`-Datei dort:\n\n- Der Teil in `<script total>` läuft auf dem Server, einmal, wenn der Flow startet.\n- Der Rest der Datei (HTML, `<style>` und normale Skripte) wird der Designer-Seite hinzugefügt.\n\nIn einer neuen Installation gibt es den Ordner noch nicht. Lege ihn neben `index.js` an. Entferne die Datei `extensions.js` nicht: Sie lädt deine Erweiterungen.\n\n## Beispiel\n\nDiese Datei fügt einen Endpunkt hinzu, der die Laufzeit des Servers meldet, und eine orange Linie unter der Werkzeugleiste des Designers.\n\n**1.** Lege die Datei `extensions/status.html` an:\n\n```html\n<script total>\n\tROUTE('GET /api/status/', $ => $.json({ name: exports.name, flow: exports.flow.id, uptime: Math.round(process.uptime()) }));\n</script>\n\n<style>\n\t.fheader { border-bottom: 3px solid #E8A317; }\n</style>\n```\n\n**2.** Starte LessCode neu.\n\n**3.** Ruf den Endpunkt auf:\n\n```bash\ncurl http://localhost:8000/api/status/\n```\n\nDie Antwort sieht so aus:\n\n```json\n{\"name\":\"status\",\"flow\":\"lesscode\",\"uptime\":4}\n```\n\nDer Designer zeigt die orange Linie unter der Werkzeugleiste:\n\n![Die Werkzeugleiste des Designers mit einer orangen Linie, die eine Erweiterung hinzugefügt hat](/files/Jap1Zn2JO60f.webp)\n\n## Was der Serverteil verwenden kann\n\n| Name | Wert |\n|---|---|\n| `exports.name` | Der Dateiname ohne `.html`. |\n| `exports.id` | Dasselbe wie `exports.name`. |\n| `exports.flow` | Der laufende Flow. |\n\n## Änderungen\n\nLessCode liest den Ordner, wenn der Flow startet. Nachdem du eine Erweiterung hinzugefügt, geändert oder entfernt hast, starte LessCode neu.\n","entries":[],"license":"MIT","updated":"2026-11-19T04:41:09.690Z"}
{"id":"Jap1Zp2KO61f-es","url":"https://totaljs.es/docs/es/lesscode/1-0/guides/extensions/","project":"lesscode","version":"1-0","section":"guides","language":"es","title":"Extensiones","summary":"Añade tu propio HTML, estilos y código de servidor a LessCode con archivos en la carpeta extensions.","markdown":"---\ntitle: Extensiones\nproject: Total.js LessCode\nversion: 1.0\nsection: guides\nlanguage: es\nlicense: MIT\nurl: https://totaljs.es/docs/es/lesscode/1-0/guides/extensions/\nupdated: 2026-11-19T04:41:09.690Z\n---\n\n# Extensiones\n\n> Añade tu propio HTML, estilos y código de servidor a LessCode con archivos en la carpeta extensions.\n\nUna extensión es un archivo HTML en la carpeta `extensions` de LessCode. Cuando el flujo arranca, LessCode carga todos los archivos `.html` que hay en ella:\n\n- La parte dentro de `<script total>` se ejecuta en el servidor, una vez, cuando arranca el flujo.\n- El resto del archivo (HTML, `<style>` y scripts normales) se añade a la página del diseñador.\n\nLa carpeta no existe en una instalación nueva. Créala junto a `index.js`. No elimines el archivo `extensions.js`: es el que carga tus extensiones.\n\n## Ejemplo\n\nEste archivo añade un endpoint que informa del tiempo que lleva encendido el servidor, y una línea naranja bajo la barra de herramientas del diseñador.\n\n**1.** Crea el archivo `extensions/status.html`:\n\n```html\n<script total>\n\tROUTE('GET /api/status/', $ => $.json({ name: exports.name, flow: exports.flow.id, uptime: Math.round(process.uptime()) }));\n</script>\n\n<style>\n\t.fheader { border-bottom: 3px solid #E8A317; }\n</style>\n```\n\n**2.** Reinicia LessCode.\n\n**3.** Llama al endpoint:\n\n```bash\ncurl http://localhost:8000/api/status/\n```\n\nLa respuesta es parecida a esta:\n\n```json\n{\"name\":\"status\",\"flow\":\"lesscode\",\"uptime\":4}\n```\n\nEl diseñador muestra la línea naranja bajo la barra de herramientas:\n\n![La barra de herramientas del diseñador con una línea naranja añadida por una extensión](/files/Jap1Zn2JO60f.webp)\n\n## Qué puede usar la parte del servidor\n\n| Nombre | Valor |\n|---|---|\n| `exports.name` | El nombre del archivo sin `.html`. |\n| `exports.id` | Lo mismo que `exports.name`. |\n| `exports.flow` | El flujo en ejecución. |\n\n## Cambios\n\nLessCode lee la carpeta cuando arranca el flujo. Después de añadir, cambiar o eliminar una extensión, reinicia LessCode.\n","entries":[],"license":"MIT","updated":"2026-11-19T04:41:09.690Z"}
{"id":"Jap1Zp2KO61f-fr","url":"https://totaljs.es/docs/fr/lesscode/1-0/guides/extensions/","project":"lesscode","version":"1-0","section":"guides","language":"fr","title":"Extensions","summary":"Ajoute ton propre HTML, tes styles et ton code serveur à LessCode avec des fichiers dans le dossier extensions.","markdown":"---\ntitle: Extensions\nproject: Total.js LessCode\nversion: 1.0\nsection: guides\nlanguage: fr\nlicense: MIT\nurl: https://totaljs.es/docs/fr/lesscode/1-0/guides/extensions/\nupdated: 2026-11-19T04:41:09.690Z\n---\n\n# Extensions\n\n> Ajoute ton propre HTML, tes styles et ton code serveur à LessCode avec des fichiers dans le dossier extensions.\n\nUne extension est un fichier HTML dans le dossier `extensions` de LessCode. Quand le flux démarre, LessCode charge chaque fichier `.html` qui s’y trouve :\n\n- La partie dans `<script total>` s’exécute sur le serveur, une fois, au démarrage du flux.\n- Le reste du fichier (HTML, `<style>` et scripts normaux) est ajouté à la page du designer.\n\nLe dossier n’existe pas dans une nouvelle installation. Crée-le à côté de `index.js`. Ne supprime pas le fichier `extensions.js` : c’est lui qui charge tes extensions.\n\n## Exemple\n\nCe fichier ajoute un endpoint qui indique depuis combien de temps le serveur tourne, et une ligne orange sous la barre d’outils du designer.\n\n**1.** Crée le fichier `extensions/status.html` :\n\n```html\n<script total>\n\tROUTE('GET /api/status/', $ => $.json({ name: exports.name, flow: exports.flow.id, uptime: Math.round(process.uptime()) }));\n</script>\n\n<style>\n\t.fheader { border-bottom: 3px solid #E8A317; }\n</style>\n```\n\n**2.** Redémarre LessCode.\n\n**3.** Appelle l’endpoint :\n\n```bash\ncurl http://localhost:8000/api/status/\n```\n\nLa réponse ressemble à ceci :\n\n```json\n{\"name\":\"status\",\"flow\":\"lesscode\",\"uptime\":4}\n```\n\nLe designer affiche la ligne orange sous la barre d’outils :\n\n![La barre d’outils du designer avec une ligne orange ajoutée par une extension](/files/Jap1Zn2JO60f.webp)\n\n## Ce que la partie serveur peut utiliser\n\n| Nom | Valeur |\n|---|---|\n| `exports.name` | Le nom du fichier sans `.html`. |\n| `exports.id` | La même chose que `exports.name`. |\n| `exports.flow` | Le flux en cours d’exécution. |\n\n## Modifications\n\nLessCode lit le dossier au démarrage du flux. Après avoir ajouté, modifié ou supprimé une extension, redémarre LessCode.\n","entries":[],"license":"MIT","updated":"2026-11-19T04:41:09.690Z"}
{"id":"Jap1Zp2KO61f-it","url":"https://totaljs.es/docs/it/lesscode/1-0/guides/extensions/","project":"lesscode","version":"1-0","section":"guides","language":"it","title":"Estensioni","summary":"Aggiungi a LessCode il tuo HTML, i tuoi stili e il tuo codice server con dei file nella cartella extensions.","markdown":"---\ntitle: Estensioni\nproject: Total.js LessCode\nversion: 1.0\nsection: guides\nlanguage: it\nlicense: MIT\nurl: https://totaljs.es/docs/it/lesscode/1-0/guides/extensions/\nupdated: 2026-11-19T04:41:09.690Z\n---\n\n# Estensioni\n\n> Aggiungi a LessCode il tuo HTML, i tuoi stili e il tuo codice server con dei file nella cartella extensions.\n\nUn'estensione è un file HTML nella cartella `extensions` di LessCode. Quando il flusso parte, LessCode carica ogni file `.html` che trova lì:\n\n- La parte dentro `<script total>` viene eseguita sul server, una sola volta, quando il flusso parte.\n- Il resto del file (HTML, `<style>` e script normali) viene aggiunto alla pagina del designer.\n\nLa cartella non esiste in una nuova installazione. Creala accanto a `index.js`. Non rimuovere il file `extensions.js`: è lui che carica le tue estensioni.\n\n## Esempio\n\nQuesto file aggiunge un endpoint che indica da quanto tempo è attivo il server e una linea arancione sotto la barra degli strumenti del designer.\n\n**1.** Crea il file `extensions/status.html`:\n\n```html\n<script total>\n\tROUTE('GET /api/status/', $ => $.json({ name: exports.name, flow: exports.flow.id, uptime: Math.round(process.uptime()) }));\n</script>\n\n<style>\n\t.fheader { border-bottom: 3px solid #E8A317; }\n</style>\n```\n\n**2.** Riavvia LessCode.\n\n**3.** Chiama l'endpoint:\n\n```bash\ncurl http://localhost:8000/api/status/\n```\n\nLa risposta è simile a questa:\n\n```json\n{\"name\":\"status\",\"flow\":\"lesscode\",\"uptime\":4}\n```\n\nIl designer mostra la linea arancione sotto la barra degli strumenti:\n\n![La barra degli strumenti del designer con una linea arancione aggiunta da un'estensione](/files/Jap1Zn2JO60f.webp)\n\n## Cosa può usare la parte server\n\n| Nome | Valore |\n|---|---|\n| `exports.name` | Il nome del file senza `.html`. |\n| `exports.id` | Uguale a `exports.name`. |\n| `exports.flow` | Il flusso in esecuzione. |\n\n## Modifiche\n\nLessCode legge la cartella quando il flusso parte. Dopo che hai aggiunto, modificato o rimosso un'estensione, riavvia LessCode.\n","entries":[],"license":"MIT","updated":"2026-11-19T04:41:09.690Z"}
{"id":"Jap1Zp2KO61f-sk","url":"https://totaljs.es/docs/sk/lesscode/1-0/guides/extensions/","project":"lesscode","version":"1-0","section":"guides","language":"sk","title":"Rozšírenia","summary":"Pridaj do LessCode vlastné HTML, štýly a serverový kód cez súbory v priečinku extensions.","markdown":"---\ntitle: \"Rozšírenia\"\nproject: Total.js LessCode\nversion: 1.0\nsection: guides\nlanguage: sk\nlicense: MIT\nurl: https://totaljs.es/docs/sk/lesscode/1-0/guides/extensions/\nupdated: 2026-11-19T04:41:09.690Z\n---\n\n# Rozšírenia\n\n> Pridaj do LessCode vlastné HTML, štýly a serverový kód cez súbory v priečinku extensions.\n\nRozšírenie je súbor HTML v priečinku `extensions` aplikácie LessCode. Keď sa tok spustí, LessCode načíta každý súbor `.html`, ktorý tam je:\n\n- Časť vnútri `<script total>` sa vykoná na serveri, raz, pri spustení toku.\n- Zvyšok súboru (HTML, `<style>` a bežné skripty) sa pridá do stránky návrhára.\n\nV novej inštalácii priečinok neexistuje. Vytvor ho vedľa `index.js`. Neodstraňuj súbor `extensions.js`: ten tvoje rozšírenia načítava.\n\n## Príklad\n\nTento súbor pridá endpoint, ktorý hlási, ako dlho server beží, a oranžovú čiaru pod panelom nástrojov návrhára.\n\n**1.** Vytvor súbor `extensions/status.html`:\n\n```html\n<script total>\n\tROUTE('GET /api/status/', $ => $.json({ name: exports.name, flow: exports.flow.id, uptime: Math.round(process.uptime()) }));\n</script>\n\n<style>\n\t.fheader { border-bottom: 3px solid #E8A317; }\n</style>\n```\n\n**2.** Reštartuj LessCode.\n\n**3.** Zavolaj endpoint:\n\n```bash\ncurl http://localhost:8000/api/status/\n```\n\nOdpoveď vyzerá takto:\n\n```json\n{\"name\":\"status\",\"flow\":\"lesscode\",\"uptime\":4}\n```\n\nNávrhár ukáže oranžovú čiaru pod panelom nástrojov:\n\n![Panel nástrojov návrhára s oranžovou čiarou, ktorú pridalo rozšírenie](/files/Jap1Zn2JO60f.webp)\n\n## Čo môže používať serverová časť\n\n| Názov | Hodnota |\n|---|---|\n| `exports.name` | Názov súboru bez `.html`. |\n| `exports.id` | To isté ako `exports.name`. |\n| `exports.flow` | Bežiaci tok. |\n\n## Zmeny\n\nLessCode číta priečinok pri spustení toku. Keď pridáš, zmeníš alebo odstrániš rozšírenie, reštartuj LessCode.\n","entries":[],"license":"MIT","updated":"2026-11-19T04:41:09.690Z"}
{"id":"Jap1aD2cO61f","url":"https://totaljs.es/docs/lesscode/1-0/guides/production/","project":"lesscode","version":"1-0","section":"guides","language":"en","title":"Run in production","summary":"Choose the port and address, protect the designer and keep LessCode running.","markdown":"---\ntitle: Run in production\nproject: LessCode\nversion: 1.0\nsection: guides\nlanguage: en\nlicense: MIT\nurl: https://totaljs.es/docs/lesscode/1-0/guides/production/\nupdated: 2026-11-19T04:41:11.468Z\n---\n\n# Run in production\n\n> Choose the port and address, protect the designer and keep LessCode running.\n\nLessCode has no sign-in. Anyone who can open the designer can change your flow and run code on your server. Plan access before you put LessCode on a network.\n\n## Listen only on the server itself\n\nBy default LessCode listens on every network interface. To accept connections only from the same machine, open `index.js` and remove the two slashes at the start of this line:\n\n```js\n// options.ip = '127.0.0.1';\n```\n\nso that it reads:\n\n```js\noptions.ip = '127.0.0.1';\n```\n\nRestart LessCode. The terminal now shows the address `127.0.0.1`.\n\n## Choose the port\n\nPass the port when you start LessCode:\n\n```bash\nnode index.js 8000\n```\n\nWith Docker, change the first number of `-p 8000:8000`.\n\n## Protect the designer and your endpoints\n\n- Put a reverse proxy, such as Nginx, in front of LessCode. Use HTTPS and allow only trusted people to reach the designer address.\n- Your endpoints use the same port as the designer. If the public must reach your endpoints, let the proxy forward only their paths (for example `/api/`) and protect the root address.\n- Keep the LessCode port closed in the firewall.\n\n## Keep it running\n\n- Run LessCode under a service manager or as a Docker container that restarts, so it starts again after a reboot.\n- Wait a few seconds after your last change before you stop or restart it. See [Apply and save](../apply-and-save/).\n- [Back up your flow](../backups/) regularly.\n","entries":[],"license":"MIT","updated":"2026-11-19T04:41:11.468Z"}
{"id":"Jap1aD2cO61f-de","url":"https://totaljs.es/docs/de/lesscode/1-0/guides/production/","project":"lesscode","version":"1-0","section":"guides","language":"de","title":"Im Produktivbetrieb ausführen","summary":"Wähle Port und Adresse, schütze den Designer und halte LessCode am Laufen.","markdown":"---\ntitle: \"Im Produktivbetrieb ausführen\"\nproject: Total.js LessCode\nversion: 1.0\nsection: guides\nlanguage: de\nlicense: MIT\nurl: https://totaljs.es/docs/de/lesscode/1-0/guides/production/\nupdated: 2026-11-19T04:41:11.468Z\n---\n\n# Im Produktivbetrieb ausführen\n\n> Wähle Port und Adresse, schütze den Designer und halte LessCode am Laufen.\n\nLessCode hat keine Anmeldung. Wer den Designer öffnen kann, kann deinen Flow ändern und Code auf deinem Server ausführen. Plane den Zugriff, bevor du LessCode in ein Netzwerk stellst.\n\n## Nur auf dem Server selbst lauschen\n\nStandardmäßig lauscht LessCode auf allen Netzwerkschnittstellen. Damit es nur Verbindungen vom selben Rechner annimmt, öffne `index.js` und entferne die zwei Schrägstriche am Anfang dieser Zeile:\n\n```js\n// options.ip = '127.0.0.1';\n```\n\nsodass sie so lautet:\n\n```js\noptions.ip = '127.0.0.1';\n```\n\nStarte LessCode neu. Das Terminal zeigt jetzt die Adresse `127.0.0.1`.\n\n## Den Port wählen\n\nGib den Port an, wenn du LessCode startest:\n\n```bash\nnode index.js 8000\n```\n\nBei Docker änderst du die erste Zahl von `-p 8000:8000`.\n\n## Den Designer und deine Endpunkte schützen\n\n- Stell einen Reverse Proxy wie Nginx vor LessCode. Verwende HTTPS und lass nur vertrauenswürdige Personen an die Adresse des Designers.\n- Deine Endpunkte verwenden denselben Port wie der Designer. Wenn die Öffentlichkeit deine Endpunkte erreichen muss, lass den Proxy nur ihre Pfade weiterleiten (zum Beispiel `/api/`) und schütze die Stammadresse.\n- Halte den LessCode-Port in der Firewall geschlossen.\n\n## Am Laufen halten\n\n- Führe LessCode unter einem Dienstmanager oder als Docker-Container aus, der neu startet, damit es nach einem Neustart des Rechners wieder läuft.\n- Warte nach deiner letzten Änderung ein paar Sekunden, bevor du es stoppst oder neu startest. Mehr dazu unter [Übernehmen und speichern](../apply-and-save/).\n- [Sichere deinen Flow](../backups/) regelmäßig.\n","entries":[],"license":"MIT","updated":"2026-11-19T04:41:11.468Z"}
{"id":"Jap1aD2cO61f-es","url":"https://totaljs.es/docs/es/lesscode/1-0/guides/production/","project":"lesscode","version":"1-0","section":"guides","language":"es","title":"Ejecutar en producción","summary":"Elige el puerto y la dirección, protege el diseñador y mantén LessCode en marcha.","markdown":"---\ntitle: \"Ejecutar en producción\"\nproject: Total.js LessCode\nversion: 1.0\nsection: guides\nlanguage: es\nlicense: MIT\nurl: https://totaljs.es/docs/es/lesscode/1-0/guides/production/\nupdated: 2026-11-19T04:41:11.468Z\n---\n\n# Ejecutar en producción\n\n> Elige el puerto y la dirección, protege el diseñador y mantén LessCode en marcha.\n\nLessCode no tiene inicio de sesión. Cualquiera que pueda abrir el diseñador puede cambiar tu flujo y ejecutar código en tu servidor. Planifica el acceso antes de poner LessCode en una red.\n\n## Escucha solo en el propio servidor\n\nPor defecto, LessCode escucha en todas las interfaces de red. Para aceptar conexiones solo desde la misma máquina, abre `index.js` y quita las dos barras del principio de esta línea:\n\n```js\n// options.ip = '127.0.0.1';\n```\n\npara que quede así:\n\n```js\noptions.ip = '127.0.0.1';\n```\n\nReinicia LessCode. La terminal muestra ahora la dirección `127.0.0.1`.\n\n## Elige el puerto\n\nIndica el puerto al arrancar LessCode:\n\n```bash\nnode index.js 8000\n```\n\nCon Docker, cambia el primer número de `-p 8000:8000`.\n\n## Protege el diseñador y tus endpoints\n\n- Pon un proxy inverso, como Nginx, delante de LessCode. Usa HTTPS y deja que solo las personas de confianza lleguen a la dirección del diseñador.\n- Tus endpoints usan el mismo puerto que el diseñador. Si el público tiene que llegar a tus endpoints, haz que el proxy reenvíe solo sus rutas (por ejemplo `/api/`) y protege la dirección raíz.\n- Mantén cerrado el puerto de LessCode en el cortafuegos.\n\n## Mantenlo en marcha\n\n- Ejecuta LessCode con un gestor de servicios o como un contenedor de Docker que se reinicia, para que vuelva a arrancar después de reiniciar el equipo.\n- Espera unos segundos tras tu último cambio antes de detenerlo o reiniciarlo. Consulta [Aplicar y guardar](../apply-and-save/).\n- [Haz copias de seguridad de tu flujo](../backups/) con regularidad.\n","entries":[],"license":"MIT","updated":"2026-11-19T04:41:11.468Z"}
{"id":"Jap1aD2cO61f-fr","url":"https://totaljs.es/docs/fr/lesscode/1-0/guides/production/","project":"lesscode","version":"1-0","section":"guides","language":"fr","title":"Passer en production","summary":"Choisis le port et l’adresse, protège le designer et garde LessCode en marche.","markdown":"---\ntitle: Passer en production\nproject: Total.js LessCode\nversion: 1.0\nsection: guides\nlanguage: fr\nlicense: MIT\nurl: https://totaljs.es/docs/fr/lesscode/1-0/guides/production/\nupdated: 2026-11-19T04:41:11.468Z\n---\n\n# Passer en production\n\n> Choisis le port et l’adresse, protège le designer et garde LessCode en marche.\n\nLessCode n’a pas de connexion. Toute personne qui peut ouvrir le designer peut modifier ton flux et exécuter du code sur ton serveur. Prévois l’accès avant de mettre LessCode sur un réseau.\n\n## N’écouter que sur le serveur lui-même\n\nPar défaut, LessCode écoute sur toutes les interfaces réseau. Pour n’accepter que les connexions venant de la même machine, ouvre `index.js` et supprime les deux barres obliques au début de cette ligne :\n\n```js\n// options.ip = '127.0.0.1';\n```\n\npour qu’elle devienne :\n\n```js\noptions.ip = '127.0.0.1';\n```\n\nRedémarre LessCode. Le terminal affiche maintenant l’adresse `127.0.0.1`.\n\n## Choisir le port\n\nIndique le port quand tu démarres LessCode :\n\n```bash\nnode index.js 8000\n```\n\nAvec Docker, change le premier nombre de `-p 8000:8000`.\n\n## Protéger le designer et tes endpoints\n\n- Place un reverse proxy, comme Nginx, devant LessCode. Utilise HTTPS et n’autorise que des personnes de confiance à accéder à l’adresse du designer.\n- Tes endpoints utilisent le même port que le designer. Si le public doit accéder à tes endpoints, laisse le proxy transmettre uniquement leurs chemins (par exemple `/api/`) et protège l’adresse racine.\n- Garde le port de LessCode fermé dans le pare-feu.\n\n## Le garder en marche\n\n- Exécute LessCode avec un gestionnaire de services ou comme conteneur Docker qui redémarre, pour qu’il reparte après un redémarrage de la machine.\n- Attends quelques secondes après ta dernière modification avant de l’arrêter ou de le redémarrer. Consulte [Appliquer et enregistrer](../apply-and-save/).\n- [Sauvegarde ton flux](../backups/) régulièrement.\n","entries":[],"license":"MIT","updated":"2026-11-19T04:41:11.468Z"}
{"id":"Jap1aD2cO61f-it","url":"https://totaljs.es/docs/it/lesscode/1-0/guides/production/","project":"lesscode","version":"1-0","section":"guides","language":"it","title":"Usare LessCode in produzione","summary":"Scegli la porta e l'indirizzo, proteggi il designer e mantieni LessCode in esecuzione.","markdown":"---\ntitle: Usare LessCode in produzione\nproject: Total.js LessCode\nversion: 1.0\nsection: guides\nlanguage: it\nlicense: MIT\nurl: https://totaljs.es/docs/it/lesscode/1-0/guides/production/\nupdated: 2026-11-19T04:41:11.468Z\n---\n\n# Usare LessCode in produzione\n\n> Scegli la porta e l'indirizzo, proteggi il designer e mantieni LessCode in esecuzione.\n\nLessCode non ha un accesso con credenziali. Chiunque possa aprire il designer può modificare il tuo flusso ed eseguire codice sul tuo server. Pianifica l'accesso prima di mettere LessCode in rete.\n\n## Ascoltare solo sul server stesso\n\nPer impostazione predefinita LessCode è in ascolto su tutte le interfacce di rete. Per accettare connessioni solo dalla stessa macchina, apri `index.js` e togli le due barre all'inizio di questa riga:\n\n```js\n// options.ip = '127.0.0.1';\n```\n\nin modo che diventi:\n\n```js\noptions.ip = '127.0.0.1';\n```\n\nRiavvia LessCode. Ora il terminale mostra l'indirizzo `127.0.0.1`.\n\n## Scegliere la porta\n\nPassa la porta quando avvii LessCode:\n\n```bash\nnode index.js 8000\n```\n\nCon Docker, cambia il primo numero di `-p 8000:8000`.\n\n## Proteggere il designer e gli endpoint\n\n- Metti un reverse proxy, come Nginx, davanti a LessCode. Usa HTTPS e lascia raggiungere l'indirizzo del designer solo a persone di fiducia.\n- I tuoi endpoint usano la stessa porta del designer. Se il pubblico deve raggiungere i tuoi endpoint, fai inoltrare al proxy solo i loro percorsi (per esempio `/api/`) e proteggi l'indirizzo principale.\n- Tieni chiusa nel firewall la porta di LessCode.\n\n## Mantenerlo in esecuzione\n\n- Esegui LessCode con un gestore di servizi o come container Docker che si riavvia, così riparte dopo un riavvio della macchina.\n- Aspetta qualche secondo dopo l'ultima modifica prima di fermarlo o riavviarlo. Leggi [Applicare e salvare](../apply-and-save/).\n- [Fai il backup del flusso](../backups/) regolarmente.\n","entries":[],"license":"MIT","updated":"2026-11-19T04:41:11.468Z"}
{"id":"Jap1aD2cO61f-sk","url":"https://totaljs.es/docs/sk/lesscode/1-0/guides/production/","project":"lesscode","version":"1-0","section":"guides","language":"sk","title":"Prevádzkuj v produkcii","summary":"Vyber port a adresu, ochráň návrhára a udrž LessCode v chode.","markdown":"---\ntitle: \"Prevádzkuj v produkcii\"\nproject: Total.js LessCode\nversion: 1.0\nsection: guides\nlanguage: sk\nlicense: MIT\nurl: https://totaljs.es/docs/sk/lesscode/1-0/guides/production/\nupdated: 2026-11-19T04:41:11.468Z\n---\n\n# Prevádzkuj v produkcii\n\n> Vyber port a adresu, ochráň návrhára a udrž LessCode v chode.\n\nLessCode nemá prihlasovanie. Ktokoľvek, kto otvorí návrhára, môže meniť tvoj tok a spúšťať kód na tvojom serveri. Skôr než LessCode pripojíš do siete, naplánuj si prístup.\n\n## Počúvanie len na samotnom serveri\n\nLessCode predvolene počúva na každom sieťovom rozhraní. Ak chceš prijímať spojenia len z toho istého počítača, otvor `index.js` a odstráň dve lomky na začiatku tohto riadka:\n\n```js\n// options.ip = '127.0.0.1';\n```\n\ntakže bude vyzerať takto:\n\n```js\noptions.ip = '127.0.0.1';\n```\n\nReštartuj LessCode. Terminál teraz ukazuje adresu `127.0.0.1`.\n\n## Výber portu\n\nPort zadaj pri spustení LessCode:\n\n```bash\nnode index.js 8000\n```\n\nPri Dockeri zmeň prvé číslo v `-p 8000:8000`.\n\n## Ochrana návrhára a endpointov\n\n- Pred LessCode daj reverzný proxy server, napríklad Nginx. Používaj HTTPS a k adrese návrhára pusti len dôveryhodných ľudí.\n- Tvoje endpointy používajú ten istý port ako návrhár. Ak musí mať k endpointom prístup verejnosť, nech proxy preposiela len ich cesty (napríklad `/api/`) a koreňovú adresu ochráň.\n- Port LessCode maj vo firewalle zatvorený.\n\n## Udržanie v chode\n\n- Spúšťaj LessCode pod správcom služieb alebo ako kontajner Docker, ktorý sa reštartuje, aby sa po reštarte počítača znova spustil.\n- Po poslednej zmene počkaj pár sekúnd, kým ho zastavíš alebo reštartuješ. Pozri si [Použi a ulož zmeny](../apply-and-save/).\n- Pravidelne [zálohuj svoj tok](../backups/).\n","entries":[],"license":"MIT","updated":"2026-11-19T04:41:11.468Z"}
{"id":"Jap1ZI1yO61f","url":"https://totaljs.es/docs/lesscode/1-0/guides/backups/","project":"lesscode","version":"1-0","section":"guides","language":"en","title":"Back up your flow","summary":"Keep a copy of your flow and restore it on the same or another server.","markdown":"---\ntitle: Back up your flow\nproject: LessCode\nversion: 1.0\nsection: guides\nlanguage: en\nlicense: MIT\nurl: https://totaljs.es/docs/lesscode/1-0/guides/backups/\nupdated: 2026-11-19T04:41:04.689Z\n---\n\n# Back up your flow\n\n> Keep a copy of your flow and restore it on the same or another server.\n\nEverything you build is in one file: the [flow file](../../reference/flow-file/). It holds your nodes, connections, installed components and variables.\n\n## Download a copy from the designer\n\n1. Select **Add** (plus) in the toolbar.\n2. Select **Download design**.\n\nThe browser saves a file named `Total.js LessCode.json`. It has the same content as the flow file.\n\n## Copy the file on the server\n\nFor a source install, copy `flowstreams/lesscode.flow` from the LessCode folder.\n\nFor Docker, copy it out of the container:\n\n```bash\ndocker cp lesscode:/www/.src/flowstreams/lesscode.flow ./lesscode.flow\n```\n\nWait a few seconds after your last change before you copy, so the file has your latest work.\n\n## Restore a copy\n\n**1.** Stop LessCode.\n\n**2.** Replace `flowstreams/lesscode.flow` with your copy. A file from **Download design** works too: rename it to `lesscode.flow`.\n\n**3.** Start LessCode and reload the designer.\n\nFor Docker, copy the file into the container and restart it:\n\n```bash\ndocker cp ./lesscode.flow lesscode:/www/.src/flowstreams/lesscode.flow\ndocker restart lesscode\n```\n\nKeep only one `.flow` file in the `flowstreams` folder. The designer shows only one flow.\n","entries":[],"license":"MIT","updated":"2026-11-19T04:41:04.689Z"}
{"id":"Jap1ZI1yO61f-de","url":"https://totaljs.es/docs/de/lesscode/1-0/guides/backups/","project":"lesscode","version":"1-0","section":"guides","language":"de","title":"Deinen Flow sichern","summary":"Bewahre eine Kopie deines Flows auf und stelle sie auf demselben oder einem anderen Server wieder her.","markdown":"---\ntitle: Deinen Flow sichern\nproject: Total.js LessCode\nversion: 1.0\nsection: guides\nlanguage: de\nlicense: MIT\nurl: https://totaljs.es/docs/de/lesscode/1-0/guides/backups/\nupdated: 2026-11-19T04:41:04.689Z\n---\n\n# Deinen Flow sichern\n\n> Bewahre eine Kopie deines Flows auf und stelle sie auf demselben oder einem anderen Server wieder her.\n\nAlles, was du baust, steckt in einer Datei: der [Flow-Datei](../../reference/flow-file/). Sie enthält deine Nodes, Verbindungen, installierten Komponenten und Variablen.\n\n## Eine Kopie aus dem Designer herunterladen\n\n1. Wähle **Add** (Hinzufügen, das Plus-Symbol) in der Werkzeugleiste.\n2. Wähle **Download design**.\n\nDer Browser speichert eine Datei namens `Total.js LessCode.json`. Sie hat denselben Inhalt wie die Flow-Datei.\n\n## Die Datei auf dem Server kopieren\n\nBei einer Installation aus dem Quellcode kopierst du `flowstreams/lesscode.flow` aus dem LessCode-Ordner.\n\nBei Docker kopierst du sie aus dem Container heraus:\n\n```bash\ndocker cp lesscode:/www/.src/flowstreams/lesscode.flow ./lesscode.flow\n```\n\nWarte nach deiner letzten Änderung ein paar Sekunden, bevor du kopierst, damit die Datei deinen neuesten Stand enthält.\n\n## Eine Kopie wiederherstellen\n\n**1.** Stoppe LessCode.\n\n**2.** Ersetze `flowstreams/lesscode.flow` durch deine Kopie. Eine Datei aus **Download design** funktioniert auch: Benenne sie in `lesscode.flow` um.\n\n**3.** Starte LessCode und lade den Designer neu.\n\nBei Docker kopierst du die Datei in den Container und startest ihn neu:\n\n```bash\ndocker cp ./lesscode.flow lesscode:/www/.src/flowstreams/lesscode.flow\ndocker restart lesscode\n```\n\nBehalte nur eine `.flow`-Datei im Ordner `flowstreams`. Der Designer zeigt nur einen Flow.\n","entries":[],"license":"MIT","updated":"2026-11-19T04:41:04.689Z"}
{"id":"Jap1ZI1yO61f-es","url":"https://totaljs.es/docs/es/lesscode/1-0/guides/backups/","project":"lesscode","version":"1-0","section":"guides","language":"es","title":"Hacer una copia de seguridad del flujo","summary":"Guarda una copia de tu flujo y restáurala en el mismo servidor o en otro.","markdown":"---\ntitle: Hacer una copia de seguridad del flujo\nproject: Total.js LessCode\nversion: 1.0\nsection: guides\nlanguage: es\nlicense: MIT\nurl: https://totaljs.es/docs/es/lesscode/1-0/guides/backups/\nupdated: 2026-11-19T04:41:04.689Z\n---\n\n# Hacer una copia de seguridad del flujo\n\n> Guarda una copia de tu flujo y restáurala en el mismo servidor o en otro.\n\nTodo lo que construyes está en un solo archivo: el [archivo del flujo](../../reference/flow-file/). Contiene tus nodos, conexiones, componentes instalados y variables.\n\n## Descarga una copia desde el diseñador\n\n1. Selecciona **Add** (añadir, el signo más) en la barra de herramientas.\n2. Selecciona **Download design** (descargar el diseño).\n\nEl navegador guarda un archivo llamado `Total.js LessCode.json`. Tiene el mismo contenido que el archivo del flujo.\n\n## Copia el archivo en el servidor\n\nSi instalaste desde el código fuente, copia `flowstreams/lesscode.flow` de la carpeta de LessCode.\n\nCon Docker, cópialo fuera del contenedor:\n\n```bash\ndocker cp lesscode:/www/.src/flowstreams/lesscode.flow ./lesscode.flow\n```\n\nEspera unos segundos tras tu último cambio antes de copiarlo, para que el archivo tenga tu trabajo más reciente.\n\n## Restaura una copia\n\n**1.** Detén LessCode.\n\n**2.** Sustituye `flowstreams/lesscode.flow` por tu copia. También sirve un archivo de **Download design**: cámbiale el nombre a `lesscode.flow`.\n\n**3.** Inicia LessCode y vuelve a cargar el diseñador.\n\nCon Docker, copia el archivo dentro del contenedor y reinícialo:\n\n```bash\ndocker cp ./lesscode.flow lesscode:/www/.src/flowstreams/lesscode.flow\ndocker restart lesscode\n```\n\nDeja solo un archivo `.flow` en la carpeta `flowstreams`. El diseñador solo muestra un flujo.\n","entries":[],"license":"MIT","updated":"2026-11-19T04:41:04.689Z"}
{"id":"Jap1ZI1yO61f-fr","url":"https://totaljs.es/docs/fr/lesscode/1-0/guides/backups/","project":"lesscode","version":"1-0","section":"guides","language":"fr","title":"Sauvegarder ton flux","summary":"Garde une copie de ton flux et restaure-la sur le même serveur ou sur un autre.","markdown":"---\ntitle: Sauvegarder ton flux\nproject: Total.js LessCode\nversion: 1.0\nsection: guides\nlanguage: fr\nlicense: MIT\nurl: https://totaljs.es/docs/fr/lesscode/1-0/guides/backups/\nupdated: 2026-11-19T04:41:04.689Z\n---\n\n# Sauvegarder ton flux\n\n> Garde une copie de ton flux et restaure-la sur le même serveur ou sur un autre.\n\nTout ce que tu construis se trouve dans un seul fichier : le [fichier de flux](../../reference/flow-file/). Il contient tes nœuds, tes connexions, les composants installés et les variables.\n\n## Télécharger une copie depuis le designer\n\n1. Sélectionne **Add** (plus) dans la barre d’outils.\n2. Sélectionne **Download design** (télécharger le design).\n\nLe navigateur enregistre un fichier nommé `Total.js LessCode.json`. Il a le même contenu que le fichier de flux.\n\n## Copier le fichier sur le serveur\n\nPour une installation depuis les sources, copie `flowstreams/lesscode.flow` depuis le dossier de LessCode.\n\nPour Docker, copie-le hors du conteneur :\n\n```bash\ndocker cp lesscode:/www/.src/flowstreams/lesscode.flow ./lesscode.flow\n```\n\nAttends quelques secondes après ta dernière modification avant de copier, pour que le fichier contienne ton travail le plus récent.\n\n## Restaurer une copie\n\n**1.** Arrête LessCode.\n\n**2.** Remplace `flowstreams/lesscode.flow` par ta copie. Un fichier obtenu avec **Download design** fonctionne aussi : renomme-le en `lesscode.flow`.\n\n**3.** Démarre LessCode et recharge le designer.\n\nPour Docker, copie le fichier dans le conteneur et redémarre-le :\n\n```bash\ndocker cp ./lesscode.flow lesscode:/www/.src/flowstreams/lesscode.flow\ndocker restart lesscode\n```\n\nGarde un seul fichier `.flow` dans le dossier `flowstreams`. Le designer n’affiche qu’un seul flux.\n","entries":[],"license":"MIT","updated":"2026-11-19T04:41:04.689Z"}
{"id":"Jap1ZI1yO61f-it","url":"https://totaljs.es/docs/it/lesscode/1-0/guides/backups/","project":"lesscode","version":"1-0","section":"guides","language":"it","title":"Fare il backup del flusso","summary":"Tieni una copia del tuo flusso e ripristinala sullo stesso server o su un altro.","markdown":"---\ntitle: Fare il backup del flusso\nproject: Total.js LessCode\nversion: 1.0\nsection: guides\nlanguage: it\nlicense: MIT\nurl: https://totaljs.es/docs/it/lesscode/1-0/guides/backups/\nupdated: 2026-11-19T04:41:04.689Z\n---\n\n# Fare il backup del flusso\n\n> Tieni una copia del tuo flusso e ripristinala sullo stesso server o su un altro.\n\nTutto quello che costruisci sta in un solo file: il [file del flusso](../../reference/flow-file/). Contiene i tuoi nodi, le connessioni, i componenti installati e le variabili.\n\n## Scaricare una copia dal designer\n\n1. Seleziona **Add** (più) nella barra degli strumenti.\n2. Seleziona **Download design**.\n\nIl browser salva un file chiamato `Total.js LessCode.json`. Ha lo stesso contenuto del file del flusso.\n\n## Copiare il file sul server\n\nCon un'installazione dal codice sorgente, copia `flowstreams/lesscode.flow` dalla cartella di LessCode.\n\nCon Docker, copialo fuori dal container:\n\n```bash\ndocker cp lesscode:/www/.src/flowstreams/lesscode.flow ./lesscode.flow\n```\n\nAspetta qualche secondo dopo l'ultima modifica prima di copiarlo, così il file contiene il tuo lavoro più recente.\n\n## Ripristinare una copia\n\n**1.** Ferma LessCode.\n\n**2.** Sostituisci `flowstreams/lesscode.flow` con la tua copia. Va bene anche un file ottenuto con **Download design**: rinominalo in `lesscode.flow`.\n\n**3.** Avvia LessCode e ricarica il designer.\n\nCon Docker, copia il file nel container e riavvialo:\n\n```bash\ndocker cp ./lesscode.flow lesscode:/www/.src/flowstreams/lesscode.flow\ndocker restart lesscode\n```\n\nTieni un solo file `.flow` nella cartella `flowstreams`. Il designer mostra un solo flusso.\n","entries":[],"license":"MIT","updated":"2026-11-19T04:41:04.689Z"}
{"id":"Jap1ZI1yO61f-sk","url":"https://totaljs.es/docs/sk/lesscode/1-0/guides/backups/","project":"lesscode","version":"1-0","section":"guides","language":"sk","title":"Zálohuj svoj tok","summary":"Uchovaj si kópiu toku a obnov ju na tom istom alebo inom serveri.","markdown":"---\ntitle: \"Zálohuj svoj tok\"\nproject: Total.js LessCode\nversion: 1.0\nsection: guides\nlanguage: sk\nlicense: MIT\nurl: https://totaljs.es/docs/sk/lesscode/1-0/guides/backups/\nupdated: 2026-11-19T04:41:04.689Z\n---\n\n# Zálohuj svoj tok\n\n> Uchovaj si kópiu toku a obnov ju na tom istom alebo inom serveri.\n\nVšetko, čo vytvoríš, je v jednom súbore: v [súbore toku](../../reference/flow-file/). Obsahuje tvoje uzly, prepojenia, nainštalované komponenty a premenné.\n\n## Stiahnutie kópie z návrhára\n\n1. Na paneli nástrojov vyber **Add** (plus).\n2. Vyber **Download design** (stiahnuť návrh).\n\nPrehliadač uloží súbor s názvom `Total.js LessCode.json`. Má rovnaký obsah ako súbor toku.\n\n## Kopírovanie súboru na serveri\n\nPri inštalácii zo zdrojového kódu skopíruj `flowstreams/lesscode.flow` z priečinka LessCode.\n\nPri Dockeri ho skopíruj z kontajnera:\n\n```bash\ndocker cp lesscode:/www/.src/flowstreams/lesscode.flow ./lesscode.flow\n```\n\nPo poslednej zmene počkaj pár sekúnd, kým začneš kopírovať, aby súbor obsahoval tvoju najnovšiu prácu.\n\n## Obnovenie kópie\n\n**1.** Zastav LessCode.\n\n**2.** Nahraď `flowstreams/lesscode.flow` svojou kópiou. Funguje aj súbor z **Download design**: premenuj ho na `lesscode.flow`.\n\n**3.** Spusti LessCode a znova načítaj návrhára.\n\nPri Dockeri skopíruj súbor do kontajnera a reštartuj ho:\n\n```bash\ndocker cp ./lesscode.flow lesscode:/www/.src/flowstreams/lesscode.flow\ndocker restart lesscode\n```\n\nV priečinku `flowstreams` maj len jeden súbor `.flow`. Návrhár zobrazuje len jeden tok.\n","entries":[],"license":"MIT","updated":"2026-11-19T04:41:04.689Z"}
{"id":"Jap1bA3EO61f","url":"https://totaljs.es/docs/lesscode/1-0/reference/route/","project":"lesscode","version":"1-0","section":"reference","language":"en","title":"Route","summary":"The settings of the Route component, which receives HTTP requests.","markdown":"---\ntitle: Route\nproject: LessCode\nversion: 1.0\nsection: reference\nlanguage: en\nlicense: MIT\nurl: https://totaljs.es/docs/lesscode/1-0/reference/route/\nupdated: 2026-11-19T04:41:17.865Z\n---\n\n# Route\n\n> The settings of the Route component, which receives HTTP requests.\n\n**Route** registers an HTTP address on the LessCode server and sends each request to its **Request** output. The address works after you [apply](../../guides/apply-and-save/). A Route must lead to a [Response](../response/), which answers the request.\n\n![The Route settings](/files/Jap1b83DO60f.webp)\n\n| Setting | What it does |\n|---|---|\n| **Method** | `GET`, `POST`, `PUT`, `PATCH`, `DELETE` or `API`. |\n| **Relative URL address** | The path, for example `/api/hello/`. It is added to the address of LessCode. |\n| **Allow uploading files (form data)** | For requests that upload files. **Read files to** sets the form of the files. |\n| **Timeout** | The time limit of a request, in milliseconds. Default `5000`. |\n| **Request limit** | The largest request body, in kB. Default `5120`. |\n| **Send to output** | What the node sends: **Everything**, **Payload**, **Query arguments**, **Files**, **Dynamic params**, **Headers**, **Cookies** or **User**. |\n\n## What the node sends\n\nWith **Everything**, the data is an object with the request details, among them `query` (query arguments), `body` (the request body), `headers`, `params`, `cookies`, `ip` and `url`. For example, `value.query.name` reads `?name=Jane`. See [Create a GET endpoint](../../recipes/get-endpoint/).\n\nWith **Payload**, the data is the request body only. See [Create a POST endpoint](../../recipes/post-endpoint/).\n\n## Things to know\n\n- While the flow is [paused](../../guides/pause-flow/), the address answers `503`.\n","entries":[],"license":"MIT","updated":"2026-11-19T04:41:17.865Z"}
{"id":"Jap1bA3EO61f-de","url":"https://totaljs.es/docs/de/lesscode/1-0/reference/route/","project":"lesscode","version":"1-0","section":"reference","language":"de","title":"Route","summary":"Die Einstellungen der Komponente Route, die HTTP-Anfragen empfängt.","markdown":"---\ntitle: Route\nproject: Total.js LessCode\nversion: 1.0\nsection: reference\nlanguage: de\nlicense: MIT\nurl: https://totaljs.es/docs/de/lesscode/1-0/reference/route/\nupdated: 2026-11-19T04:41:17.865Z\n---\n\n# Route\n\n> Die Einstellungen der Komponente Route, die HTTP-Anfragen empfängt.\n\n**Route** registriert eine HTTP-Adresse auf dem LessCode-Server und schickt jede Anfrage an ihren Ausgang **Request**. Die Adresse funktioniert, nachdem du [übernommen](../../guides/apply-and-save/) hast. Eine Route muss zu einer [Response](../response/) führen, die die Anfrage beantwortet.\n\n![Die Route-Einstellungen](/files/Jap1b83DO60f.webp)\n\n| Einstellung | Funktion |\n|---|---|\n| **Method** | `GET`, `POST`, `PUT`, `PATCH`, `DELETE` oder `API`. |\n| **Relative URL address** | Der Pfad, zum Beispiel `/api/hello/`. Er wird an die Adresse von LessCode angehängt. |\n| **Allow uploading files (form data)** | Für Anfragen, die Dateien hochladen. **Read files to** legt fest, in welcher Form die Dateien ankommen. |\n| **Timeout** | Das Zeitlimit einer Anfrage in Millisekunden. Standard ist `5000`. |\n| **Request limit** | Der größte erlaubte Body einer Anfrage in kB. Standard ist `5120`. |\n| **Send to output** | Was der Node schickt: **Everything**, **Payload**, **Query arguments**, **Files**, **Dynamic params**, **Headers**, **Cookies** oder **User**. |\n\n## Was der Node schickt\n\nBei **Everything** sind die Daten ein Objekt mit den Details der Anfrage, darunter `query` (Query-Parameter), `body` (der Body der Anfrage), `headers`, `params`, `cookies`, `ip` und `url`. Zum Beispiel liest `value.query.name` den Wert von `?name=Jane`. Mehr dazu unter [Einen GET-Endpunkt erstellen](../../recipes/get-endpoint/).\n\nBei **Payload** sind die Daten nur der Body der Anfrage. Mehr dazu unter [Einen POST-Endpunkt erstellen](../../recipes/post-endpoint/).\n\n## Gut zu wissen\n\n- Solange der Flow [pausiert](../../guides/pause-flow/) ist, antwortet die Adresse mit `503`.\n","entries":[],"license":"MIT","updated":"2026-11-19T04:41:17.865Z"}
{"id":"Jap1bA3EO61f-es","url":"https://totaljs.es/docs/es/lesscode/1-0/reference/route/","project":"lesscode","version":"1-0","section":"reference","language":"es","title":"Route","summary":"Los ajustes del componente Route, que recibe las peticiones HTTP.","markdown":"---\ntitle: Route\nproject: Total.js LessCode\nversion: 1.0\nsection: reference\nlanguage: es\nlicense: MIT\nurl: https://totaljs.es/docs/es/lesscode/1-0/reference/route/\nupdated: 2026-11-19T04:41:17.865Z\n---\n\n# Route\n\n> Los ajustes del componente Route, que recibe las peticiones HTTP.\n\n**Route** registra una dirección HTTP en el servidor de LessCode y envía cada petición a su salida **Request**. La dirección funciona después de [aplicar](../../guides/apply-and-save/). Un Route tiene que llevar a un [Response](../response/), que responde a la petición.\n\n![Los ajustes de Route](/files/Jap1b83DO60f.webp)\n\n| Ajuste | Qué hace |\n|---|---|\n| **Method** | `GET`, `POST`, `PUT`, `PATCH`, `DELETE` o `API`. |\n| **Relative URL address** | La ruta, por ejemplo `/api/hello/`. Se añade a la dirección de LessCode. |\n| **Allow uploading files (form data)** | Para peticiones que suben archivos. **Read files to** indica en qué forma se leen los archivos. |\n| **Timeout** | El tiempo máximo de una petición, en milisegundos. Por defecto, `5000`. |\n| **Request limit** | El tamaño máximo del cuerpo de la petición, en kB. Por defecto, `5120`. |\n| **Send to output** | Lo que envía el nodo: **Everything**, **Payload**, **Query arguments**, **Files**, **Dynamic params**, **Headers**, **Cookies** o **User**. |\n\n## Qué envía el nodo\n\nCon **Everything**, los datos son un objeto con los detalles de la petición, entre ellos `query` (argumentos de la consulta), `body` (el cuerpo de la petición), `headers`, `params`, `cookies`, `ip` y `url`. Por ejemplo, `value.query.name` lee `?name=Jane`. Consulta [Crear un endpoint GET](../../recipes/get-endpoint/).\n\nCon **Payload**, los datos son solo el cuerpo de la petición. Consulta [Crear un endpoint POST con validación](../../recipes/post-endpoint/).\n\n## Ten en cuenta\n\n- Mientras el flujo está [en pausa](../../guides/pause-flow/), la dirección responde `503`.\n","entries":[],"license":"MIT","updated":"2026-11-19T04:41:17.865Z"}
{"id":"Jap1bA3EO61f-fr","url":"https://totaljs.es/docs/fr/lesscode/1-0/reference/route/","project":"lesscode","version":"1-0","section":"reference","language":"fr","title":"Route","summary":"Les réglages du composant Route, qui reçoit les requêtes HTTP.","markdown":"---\ntitle: Route\nproject: Total.js LessCode\nversion: 1.0\nsection: reference\nlanguage: fr\nlicense: MIT\nurl: https://totaljs.es/docs/fr/lesscode/1-0/reference/route/\nupdated: 2026-11-19T04:41:17.865Z\n---\n\n# Route\n\n> Les réglages du composant Route, qui reçoit les requêtes HTTP.\n\n**Route** enregistre une adresse HTTP sur le serveur LessCode et envoie chaque requête vers sa sortie **Request**. L’adresse fonctionne une fois que tu as [appliqué](../../guides/apply-and-save/). Une Route doit mener à un [Response](../response/), qui répond à la requête.\n\n![Les réglages de Route](/files/Jap1b83DO60f.webp)\n\n| Réglage | Ce qu’il fait |\n|---|---|\n| **Method** | `GET`, `POST`, `PUT`, `PATCH`, `DELETE` ou `API`. |\n| **Relative URL address** | Le chemin, par exemple `/api/hello/`. Il s’ajoute à l’adresse de LessCode. |\n| **Allow uploading files (form data)** | Pour les requêtes qui envoient des fichiers. **Read files to** définit la forme des fichiers. |\n| **Timeout** | La durée maximale d’une requête, en millisecondes. Par défaut `5000`. |\n| **Request limit** | La taille maximale du corps d’une requête, en kB. Par défaut `5120`. |\n| **Send to output** | Ce que le nœud envoie : **Everything**, **Payload**, **Query arguments**, **Files**, **Dynamic params**, **Headers**, **Cookies** ou **User**. |\n\n## Ce que le nœud envoie\n\nAvec **Everything**, les données sont un objet avec les détails de la requête, dont `query` (les arguments de requête), `body` (le corps de la requête), `headers`, `params`, `cookies`, `ip` et `url`. Par exemple, `value.query.name` lit `?name=Jane`. Consulte [Créer un endpoint GET](../../recipes/get-endpoint/).\n\nAvec **Payload**, les données sont uniquement le corps de la requête. Consulte [Créer un endpoint POST](../../recipes/post-endpoint/).\n\n## À savoir\n\n- Pendant que le flux est [en pause](../../guides/pause-flow/), l’adresse répond `503`.\n","entries":[],"license":"MIT","updated":"2026-11-19T04:41:17.865Z"}
{"id":"Jap1bA3EO61f-it","url":"https://totaljs.es/docs/it/lesscode/1-0/reference/route/","project":"lesscode","version":"1-0","section":"reference","language":"it","title":"Route","summary":"Le impostazioni del componente Route, che riceve le richieste HTTP.","markdown":"---\ntitle: Route\nproject: Total.js LessCode\nversion: 1.0\nsection: reference\nlanguage: it\nlicense: MIT\nurl: https://totaljs.es/docs/it/lesscode/1-0/reference/route/\nupdated: 2026-11-19T04:41:17.865Z\n---\n\n# Route\n\n> Le impostazioni del componente Route, che riceve le richieste HTTP.\n\n**Route** registra un indirizzo HTTP sul server di LessCode e invia ogni richiesta alla sua uscita **Request**. L'indirizzo funziona dopo che hai [applicato](../../guides/apply-and-save/). Una Route deve portare a un [Response](../response/), che risponde alla richiesta.\n\n![Le impostazioni di Route](/files/Jap1b83DO60f.webp)\n\n| Impostazione | Cosa fa |\n|---|---|\n| **Method** | `GET`, `POST`, `PUT`, `PATCH`, `DELETE` o `API`. |\n| **Relative URL address** | Il percorso, per esempio `/api/hello/`. Viene aggiunto all'indirizzo di LessCode. |\n| **Allow uploading files (form data)** | Per le richieste che caricano file. **Read files to** stabilisce in che forma ricevi i file. |\n| **Timeout** | Il tempo massimo di una richiesta, in millisecondi. Predefinito: `5000`. |\n| **Request limit** | La dimensione massima del corpo di una richiesta, in kB. Predefinito: `5120`. |\n| **Send to output** | Cosa invia il nodo: **Everything**, **Payload**, **Query arguments**, **Files**, **Dynamic params**, **Headers**, **Cookies** o **User**. |\n\n## Cosa invia il nodo\n\nCon **Everything**, i dati sono un oggetto con i dettagli della richiesta, tra cui `query` (gli argomenti della query), `body` (il corpo della richiesta), `headers`, `params`, `cookies`, `ip` e `url`. Per esempio, `value.query.name` legge `?name=Jane`. Leggi [Creare un endpoint GET](../../recipes/get-endpoint/).\n\nCon **Payload**, i dati sono solo il corpo della richiesta. Leggi [Creare un endpoint POST](../../recipes/post-endpoint/).\n\n## Da sapere\n\n- Mentre il flusso è [in pausa](../../guides/pause-flow/), l'indirizzo risponde `503`.\n","entries":[],"license":"MIT","updated":"2026-11-19T04:41:17.865Z"}
{"id":"Jap1bA3EO61f-sk","url":"https://totaljs.es/docs/sk/lesscode/1-0/reference/route/","project":"lesscode","version":"1-0","section":"reference","language":"sk","title":"Route","summary":"Nastavenia komponentu Route, ktorý prijíma HTTP požiadavky.","markdown":"---\ntitle: Route\nproject: Total.js LessCode\nversion: 1.0\nsection: reference\nlanguage: sk\nlicense: MIT\nurl: https://totaljs.es/docs/sk/lesscode/1-0/reference/route/\nupdated: 2026-11-19T04:41:17.865Z\n---\n\n# Route\n\n> Nastavenia komponentu Route, ktorý prijíma HTTP požiadavky.\n\n**Route** zaregistruje HTTP adresu na serveri LessCode a každú požiadavku pošle na svoj výstup **Request**. Adresa funguje po tom, čo zmeny [použiješ](../../guides/apply-and-save/). Route musí viesť k uzlu [Response](../response/), ktorý na požiadavku odpovie.\n\n![Nastavenia uzla Route](/files/Jap1b83DO60f.webp)\n\n| Nastavenie | Čo robí |\n|---|---|\n| **Method** | `GET`, `POST`, `PUT`, `PATCH`, `DELETE` alebo `API`. |\n| **Relative URL address** | Cesta, napríklad `/api/hello/`. Pridá sa k adrese LessCode. |\n| **Allow uploading files (form data)** | Pre požiadavky, ktoré nahrávajú súbory. **Read files to** určuje, v akej podobe súbory prídu. |\n| **Timeout** | Časový limit požiadavky v milisekundách. Predvolene `5000`. |\n| **Request limit** | Najväčšie telo požiadavky v kB. Predvolene `5120`. |\n| **Send to output** | Čo uzol posiela: **Everything**, **Payload**, **Query arguments**, **Files**, **Dynamic params**, **Headers**, **Cookies** alebo **User**. |\n\n## Čo uzol posiela\n\nS **Everything** sú dáta objekt s podrobnosťami požiadavky, medzi nimi `query` (argumenty z adresy), `body` (telo požiadavky), `headers`, `params`, `cookies`, `ip` a `url`. Napríklad `value.query.name` prečíta `?name=Jane`. Pozri si [Vytvor GET endpoint](../../recipes/get-endpoint/).\n\nS **Payload** sú dáta len telo požiadavky. Pozri si [Vytvor POST endpoint](../../recipes/post-endpoint/).\n\n## Čo treba vedieť\n\n- Kým je tok [pozastavený](../../guides/pause-flow/), adresa odpovedá `503`.\n","entries":[],"license":"MIT","updated":"2026-11-19T04:41:17.865Z"}
{"id":"Jap1b43BO60f","url":"https://totaljs.es/docs/lesscode/1-0/reference/response/","project":"lesscode","version":"1-0","section":"reference","language":"en","title":"Response","summary":"The settings of the Response component, which answers HTTP requests.","markdown":"---\ntitle: Response\nproject: LessCode\nversion: 1.0\nsection: reference\nlanguage: en\nlicense: MIT\nurl: https://totaljs.es/docs/lesscode/1-0/reference/response/\nupdated: 2026-11-19T04:41:17.281Z\n---\n\n# Response\n\n> The settings of the Response component, which answers HTTP requests.\n\n**Response** answers the request that a [Route](../route/) received earlier in the same flow.\n\n![The Response settings](/files/Jap1b23AO61f.webp)\n\n| Setting | What it does |\n|---|---|\n| **Type** | The kind of answer: **Auto**, **JSON**, **Success**, **Error**, **Empty response**, **Plain text**, **HTML**, **XML** or **Buffer**. |\n| **Status code** | The HTTP status, for example `200` or `400`. With **Auto**, the field is locked at `200`. |\n| **Path for reading value** | The property of the data to send. Default `response`. Empty it to send the whole data. |\n\nThe node header shows the status and the type, for example `200 auto` or `400 json`.\n\n## Examples\n\n| Data the node receives | Path | Answer |\n|---|---|---|\n| `{ message: 'Hello, Jane!' }` | empty | `{\"message\":\"Hello, Jane!\"}` |\n| `{ response: { success: true } }` | `response` | `{\"success\":true}` |\n\nSee [Create a GET endpoint](../../recipes/get-endpoint/) and [Create a POST endpoint](../../recipes/post-endpoint/).\n\nIf your endpoint answers `{}`, the data has no property with the name in **Path for reading value**.\n","entries":[],"license":"MIT","updated":"2026-11-19T04:41:17.281Z"}
{"id":"Jap1b43BO60f-de","url":"https://totaljs.es/docs/de/lesscode/1-0/reference/response/","project":"lesscode","version":"1-0","section":"reference","language":"de","title":"Response","summary":"Die Einstellungen der Komponente Response, die HTTP-Anfragen beantwortet.","markdown":"---\ntitle: Response\nproject: Total.js LessCode\nversion: 1.0\nsection: reference\nlanguage: de\nlicense: MIT\nurl: https://totaljs.es/docs/de/lesscode/1-0/reference/response/\nupdated: 2026-11-19T04:41:17.281Z\n---\n\n# Response\n\n> Die Einstellungen der Komponente Response, die HTTP-Anfragen beantwortet.\n\n**Response** beantwortet die Anfrage, die eine [Route](../route/) zuvor im selben Flow empfangen hat.\n\n![Die Response-Einstellungen](/files/Jap1b23AO61f.webp)\n\n| Einstellung | Funktion |\n|---|---|\n| **Type** | Die Art der Antwort: **Auto**, **JSON**, **Success**, **Error**, **Empty response**, **Plain text**, **HTML**, **XML** oder **Buffer**. |\n| **Status code** | Der HTTP-Status, zum Beispiel `200` oder `400`. Bei **Auto** ist das Feld auf `200` gesperrt. |\n| **Path for reading value** | Die Eigenschaft der Daten, die geschickt wird. Standard ist `response`. Leere das Feld, um die ganzen Daten zu schicken. |\n\nDer Kopf des Nodes zeigt Status und Typ, zum Beispiel `200 auto` oder `400 json`.\n\n## Beispiele\n\n| Daten, die der Node empfängt | Pfad | Antwort |\n|---|---|---|\n| `{ message: 'Hello, Jane!' }` | leer | `{\"message\":\"Hello, Jane!\"}` |\n| `{ response: { success: true } }` | `response` | `{\"success\":true}` |\n\nMehr dazu unter [Einen GET-Endpunkt erstellen](../../recipes/get-endpoint/) und [Einen POST-Endpunkt erstellen](../../recipes/post-endpoint/).\n\nWenn dein Endpunkt mit `{}` antwortet, haben die Daten keine Eigenschaft mit dem Namen aus **Path for reading value**.\n","entries":[],"license":"MIT","updated":"2026-11-19T04:41:17.281Z"}
{"id":"Jap1b43BO60f-es","url":"https://totaljs.es/docs/es/lesscode/1-0/reference/response/","project":"lesscode","version":"1-0","section":"reference","language":"es","title":"Response","summary":"Los ajustes del componente Response, que responde a las peticiones HTTP.","markdown":"---\ntitle: Response\nproject: Total.js LessCode\nversion: 1.0\nsection: reference\nlanguage: es\nlicense: MIT\nurl: https://totaljs.es/docs/es/lesscode/1-0/reference/response/\nupdated: 2026-11-19T04:41:17.281Z\n---\n\n# Response\n\n> Los ajustes del componente Response, que responde a las peticiones HTTP.\n\n**Response** responde a la petición que un [Route](../route/) ha recibido antes en el mismo flujo.\n\n![Los ajustes de Response](/files/Jap1b23AO61f.webp)\n\n| Ajuste | Qué hace |\n|---|---|\n| **Type** | El tipo de respuesta: **Auto**, **JSON**, **Success**, **Error**, **Empty response**, **Plain text**, **HTML**, **XML** o **Buffer**. |\n| **Status code** | El estado HTTP, por ejemplo `200` o `400`. Con **Auto**, el campo queda bloqueado en `200`. |\n| **Path for reading value** | La propiedad de los datos que se envía. Por defecto, `response`. Vacíalo para enviar todos los datos. |\n\nLa cabecera del nodo muestra el estado y el tipo, por ejemplo `200 auto` o `400 json`.\n\n## Ejemplos\n\n| Datos que recibe el nodo | Ruta | Respuesta |\n|---|---|---|\n| `{ message: 'Hello, Jane!' }` | vacía | `{\"message\":\"Hello, Jane!\"}` |\n| `{ response: { success: true } }` | `response` | `{\"success\":true}` |\n\nConsulta [Crear un endpoint GET](../../recipes/get-endpoint/) y [Crear un endpoint POST con validación](../../recipes/post-endpoint/).\n\nSi tu endpoint responde `{}`, los datos no tienen ninguna propiedad con el nombre indicado en **Path for reading value**.\n","entries":[],"license":"MIT","updated":"2026-11-19T04:41:17.281Z"}
{"id":"Jap1b43BO60f-fr","url":"https://totaljs.es/docs/fr/lesscode/1-0/reference/response/","project":"lesscode","version":"1-0","section":"reference","language":"fr","title":"Response","summary":"Les réglages du composant Response, qui répond aux requêtes HTTP.","markdown":"---\ntitle: Response\nproject: Total.js LessCode\nversion: 1.0\nsection: reference\nlanguage: fr\nlicense: MIT\nurl: https://totaljs.es/docs/fr/lesscode/1-0/reference/response/\nupdated: 2026-11-19T04:41:17.281Z\n---\n\n# Response\n\n> Les réglages du composant Response, qui répond aux requêtes HTTP.\n\n**Response** répond à la requête qu’une [Route](../route/) a reçue plus tôt dans le même flux.\n\n![Les réglages de Response](/files/Jap1b23AO61f.webp)\n\n| Réglage | Ce qu’il fait |\n|---|---|\n| **Type** | Le genre de réponse : **Auto**, **JSON**, **Success**, **Error**, **Empty response**, **Plain text**, **HTML**, **XML** ou **Buffer**. |\n| **Status code** | Le statut HTTP, par exemple `200` ou `400`. Avec **Auto**, le champ est bloqué à `200`. |\n| **Path for reading value** | La propriété des données à envoyer. Par défaut `response`. Vide-le pour envoyer toutes les données. |\n\nL’en-tête du nœud affiche le statut et le type, par exemple `200 auto` ou `400 json`.\n\n## Exemples\n\n| Données reçues par le nœud | Chemin | Réponse |\n|---|---|---|\n| `{ message: 'Hello, Jane!' }` | vide | `{\"message\":\"Hello, Jane!\"}` |\n| `{ response: { success: true } }` | `response` | `{\"success\":true}` |\n\nConsulte [Créer un endpoint GET](../../recipes/get-endpoint/) et [Créer un endpoint POST](../../recipes/post-endpoint/).\n\nSi ton endpoint répond `{}`, les données n’ont aucune propriété portant le nom indiqué dans **Path for reading value**.\n","entries":[],"license":"MIT","updated":"2026-11-19T04:41:17.281Z"}
{"id":"Jap1b43BO60f-it","url":"https://totaljs.es/docs/it/lesscode/1-0/reference/response/","project":"lesscode","version":"1-0","section":"reference","language":"it","title":"Response","summary":"Le impostazioni del componente Response, che risponde alle richieste HTTP.","markdown":"---\ntitle: Response\nproject: Total.js LessCode\nversion: 1.0\nsection: reference\nlanguage: it\nlicense: MIT\nurl: https://totaljs.es/docs/it/lesscode/1-0/reference/response/\nupdated: 2026-11-19T04:41:17.281Z\n---\n\n# Response\n\n> Le impostazioni del componente Response, che risponde alle richieste HTTP.\n\n**Response** risponde alla richiesta che una [Route](../route/) ha ricevuto prima nello stesso flusso.\n\n![Le impostazioni di Response](/files/Jap1b23AO61f.webp)\n\n| Impostazione | Cosa fa |\n|---|---|\n| **Type** | Il tipo di risposta: **Auto**, **JSON**, **Success**, **Error**, **Empty response**, **Plain text**, **HTML**, **XML** o **Buffer**. |\n| **Status code** | Lo stato HTTP, per esempio `200` o `400`. Con **Auto**, il campo è bloccato su `200`. |\n| **Path for reading value** | La proprietà dei dati da inviare. Predefinita: `response`. Svuotalo per inviare tutti i dati. |\n\nL'intestazione del nodo mostra lo stato e il tipo, per esempio `200 auto` o `400 json`.\n\n## Esempi\n\n| Dati che il nodo riceve | Percorso | Risposta |\n|---|---|---|\n| `{ message: 'Hello, Jane!' }` | vuoto | `{\"message\":\"Hello, Jane!\"}` |\n| `{ response: { success: true } }` | `response` | `{\"success\":true}` |\n\nLeggi [Creare un endpoint GET](../../recipes/get-endpoint/) e [Creare un endpoint POST](../../recipes/post-endpoint/).\n\nSe il tuo endpoint risponde `{}`, i dati non hanno nessuna proprietà con il nome indicato in **Path for reading value**.\n","entries":[],"license":"MIT","updated":"2026-11-19T04:41:17.281Z"}
{"id":"Jap1b43BO60f-sk","url":"https://totaljs.es/docs/sk/lesscode/1-0/reference/response/","project":"lesscode","version":"1-0","section":"reference","language":"sk","title":"Response","summary":"Nastavenia komponentu Response, ktorý odpovedá na HTTP požiadavky.","markdown":"---\ntitle: Response\nproject: Total.js LessCode\nversion: 1.0\nsection: reference\nlanguage: sk\nlicense: MIT\nurl: https://totaljs.es/docs/sk/lesscode/1-0/reference/response/\nupdated: 2026-11-19T04:41:17.281Z\n---\n\n# Response\n\n> Nastavenia komponentu Response, ktorý odpovedá na HTTP požiadavky.\n\n**Response** odpovedá na požiadavku, ktorú predtým v tom istom toku prijal uzol [Route](../route/).\n\n![Nastavenia uzla Response](/files/Jap1b23AO61f.webp)\n\n| Nastavenie | Čo robí |\n|---|---|\n| **Type** | Druh odpovede: **Auto**, **JSON**, **Success**, **Error**, **Empty response**, **Plain text**, **HTML**, **XML** alebo **Buffer**. |\n| **Status code** | HTTP stav, napríklad `200` alebo `400`. S **Auto** je pole uzamknuté na `200`. |\n| **Path for reading value** | Vlastnosť dát, ktorá sa pošle. Predvolene `response`. Ak chceš poslať celé dáta, vyprázdni ho. |\n\nHlavička uzla ukazuje stav a typ, napríklad `200 auto` alebo `400 json`.\n\n## Príklady\n\n| Dáta, ktoré uzol prijme | Cesta | Odpoveď |\n|---|---|---|\n| `{ message: 'Hello, Jane!' }` | prázdna | `{\"message\":\"Hello, Jane!\"}` |\n| `{ response: { success: true } }` | `response` | `{\"success\":true}` |\n\nPozri si [Vytvor GET endpoint](../../recipes/get-endpoint/) a [Vytvor POST endpoint](../../recipes/post-endpoint/).\n\nAk tvoj endpoint odpovedá `{}`, dáta nemajú vlastnosť s názvom uvedeným v **Path for reading value**.\n","entries":[],"license":"MIT","updated":"2026-11-19T04:41:17.281Z"}
{"id":"Jap1ay36O61f","url":"https://totaljs.es/docs/lesscode/1-0/reference/code/","project":"lesscode","version":"1-0","section":"reference","language":"en","title":"Code","summary":"Write a few lines of JavaScript that run on each message.","markdown":"---\ntitle: Code\nproject: LessCode\nversion: 1.0\nsection: reference\nlanguage: en\nlicense: MIT\nurl: https://totaljs.es/docs/lesscode/1-0/reference/code/\nupdated: 2026-11-19T04:41:16.354Z\n---\n\n# Code\n\n> Write a few lines of JavaScript that run on each message.\n\nThe **Code** node runs your JavaScript on every message it receives, on the server. Download it from the **Common** group of the catalog.\n\n| Setting | What it does |\n|---|---|\n| **Name** | A name for your own reference. |\n| **Number of outputs** | How many outputs the node has: **Output #1**, **Output #2** and so on. |\n| **Code** | Your JavaScript. |\n\n## What you can use\n\n| Name | What it is |\n|---|---|\n| `value` | The data of the message. |\n| `send(data)` | Sends data to the first output. |\n| `$.send('output2', data)` | Sends data to the second output. Use `output3`, `output4` and so on for the next ones. |\n| `instance.replace('{KEY}')` | Returns the text with each `{KEY}` replaced by the [variable](../../guides/variables/) of that name. |\n| `console.log(...)` | Writes a line to the [Console](../../guides/console/) or to the terminal. |\n| `throw new Error('...')` | Stops the message and reports an [error](../../guides/errors/). |\n\nA message that you do not send on does not go further.\n\n## Examples\n\nAnswer with a greeting:\n\n```js\nsend({ message: 'Hello, ' + (value.query.name || 'world') + '!' });\n```\n\nSend to one of two outputs:\n\n```js\nif (!value.product) {\n\t$.send('output2', { error: 'The product is required.' });\n\treturn;\n}\nsend({ response: { success: true, product: value.product } });\n```\n\nMore examples are in the [recipes](../../recipes/get-endpoint/).\n","entries":[],"license":"MIT","updated":"2026-11-19T04:41:16.354Z"}
{"id":"Jap1ay36O61f-de","url":"https://totaljs.es/docs/de/lesscode/1-0/reference/code/","project":"lesscode","version":"1-0","section":"reference","language":"de","title":"Code","summary":"Schreib ein paar Zeilen JavaScript, die bei jeder Nachricht laufen.","markdown":"---\ntitle: Code\nproject: Total.js LessCode\nversion: 1.0\nsection: reference\nlanguage: de\nlicense: MIT\nurl: https://totaljs.es/docs/de/lesscode/1-0/reference/code/\nupdated: 2026-11-19T04:41:16.354Z\n---\n\n# Code\n\n> Schreib ein paar Zeilen JavaScript, die bei jeder Nachricht laufen.\n\nDer **Code**-Node führt dein JavaScript bei jeder Nachricht, die er empfängt, auf dem Server aus. Du lädst ihn aus der Gruppe **Common** des Katalogs herunter.\n\n| Einstellung | Funktion |\n|---|---|\n| **Name** | Ein Name zu deiner eigenen Orientierung. |\n| **Number of outputs** | Wie viele Ausgänge der Node hat: **Output #1**, **Output #2** und so weiter. |\n| **Code** | Dein JavaScript. |\n\n## Was du verwenden kannst\n\n| Name | Was es ist |\n|---|---|\n| `value` | Die Daten der Nachricht. |\n| `send(data)` | Schickt Daten an den ersten Ausgang. |\n| `$.send('output2', data)` | Schickt Daten an den zweiten Ausgang. Verwende `output3`, `output4` und so weiter für die nächsten. |\n| `instance.replace('{KEY}')` | Gibt den Text zurück, in dem jedes `{KEY}` durch die [Variable](../../guides/variables/) dieses Namens ersetzt ist. |\n| `console.log(...)` | Schreibt eine Zeile in die [Console](../../guides/console/) oder ins Terminal. |\n| `throw new Error('...')` | Stoppt die Nachricht und meldet einen [Fehler](../../guides/errors/). |\n\nEine Nachricht, die du nicht weiterschickst, geht nicht weiter.\n\n## Beispiele\n\nMit einem Gruß antworten:\n\n```js\nsend({ message: 'Hello, ' + (value.query.name || 'world') + '!' });\n```\n\nAn einen von zwei Ausgängen schicken:\n\n```js\nif (!value.product) {\n\t$.send('output2', { error: 'The product is required.' });\n\treturn;\n}\nsend({ response: { success: true, product: value.product } });\n```\n\nWeitere Beispiele findest du in den [Rezepten](../../recipes/get-endpoint/).\n","entries":[],"license":"MIT","updated":"2026-11-19T04:41:16.354Z"}
{"id":"Jap1ay36O61f-es","url":"https://totaljs.es/docs/es/lesscode/1-0/reference/code/","project":"lesscode","version":"1-0","section":"reference","language":"es","title":"Code","summary":"Escribe unas pocas líneas de JavaScript que se ejecutan con cada mensaje.","markdown":"---\ntitle: Code\nproject: Total.js LessCode\nversion: 1.0\nsection: reference\nlanguage: es\nlicense: MIT\nurl: https://totaljs.es/docs/es/lesscode/1-0/reference/code/\nupdated: 2026-11-19T04:41:16.354Z\n---\n\n# Code\n\n> Escribe unas pocas líneas de JavaScript que se ejecutan con cada mensaje.\n\nEl nodo **Code** ejecuta tu JavaScript en el servidor con cada mensaje que recibe. Descárgalo del grupo **Common** del catálogo.\n\n| Ajuste | Qué hace |\n|---|---|\n| **Name** | Un nombre para tu propia referencia. |\n| **Number of outputs** | Cuántas salidas tiene el nodo: **Output #1**, **Output #2** y así sucesivamente. |\n| **Code** | Tu JavaScript. |\n\n## Qué puedes usar\n\n| Nombre | Qué es |\n|---|---|\n| `value` | Los datos del mensaje. |\n| `send(data)` | Envía datos a la primera salida. |\n| `$.send('output2', data)` | Envía datos a la segunda salida. Usa `output3`, `output4` y así sucesivamente para las siguientes. |\n| `instance.replace('{KEY}')` | Devuelve el texto con cada `{KEY}` sustituido por la [variable](../../guides/variables/) con ese nombre. |\n| `console.log(...)` | Escribe una línea en la [consola](../../guides/console/) o en la terminal. |\n| `throw new Error('...')` | Detiene el mensaje e informa de un [error](../../guides/errors/). |\n\nUn mensaje que no envías hacia delante no sigue avanzando.\n\n## Ejemplos\n\nResponder con un saludo:\n\n```js\nsend({ message: 'Hello, ' + (value.query.name || 'world') + '!' });\n```\n\nEnviar a una de dos salidas:\n\n```js\nif (!value.product) {\n\t$.send('output2', { error: 'The product is required.' });\n\treturn;\n}\nsend({ response: { success: true, product: value.product } });\n```\n\nTienes más ejemplos en las [recetas](../../recipes/get-endpoint/).\n","entries":[],"license":"MIT","updated":"2026-11-19T04:41:16.354Z"}
{"id":"Jap1ay36O61f-fr","url":"https://totaljs.es/docs/fr/lesscode/1-0/reference/code/","project":"lesscode","version":"1-0","section":"reference","language":"fr","title":"Code","summary":"Écris quelques lignes de JavaScript qui s’exécutent sur chaque message.","markdown":"---\ntitle: Code\nproject: Total.js LessCode\nversion: 1.0\nsection: reference\nlanguage: fr\nlicense: MIT\nurl: https://totaljs.es/docs/fr/lesscode/1-0/reference/code/\nupdated: 2026-11-19T04:41:16.354Z\n---\n\n# Code\n\n> Écris quelques lignes de JavaScript qui s’exécutent sur chaque message.\n\nLe nœud **Code** exécute ton JavaScript sur chaque message qu’il reçoit, sur le serveur. Télécharge-le depuis le groupe **Common** du catalogue.\n\n| Réglage | Ce qu’il fait |\n|---|---|\n| **Name** | Un nom, pour ton propre repère. |\n| **Number of outputs** | Le nombre de sorties du nœud : **Output #1**, **Output #2** et ainsi de suite. |\n| **Code** | Ton JavaScript. |\n\n## Ce que tu peux utiliser\n\n| Nom | Ce que c’est |\n|---|---|\n| `value` | Les données du message. |\n| `send(data)` | Envoie des données vers la première sortie. |\n| `$.send('output2', data)` | Envoie des données vers la deuxième sortie. Utilise `output3`, `output4` et ainsi de suite pour les suivantes. |\n| `instance.replace('{KEY}')` | Renvoie le texte avec chaque `{KEY}` remplacé par la [variable](../../guides/variables/) de ce nom. |\n| `console.log(...)` | Écrit une ligne dans la [Console](../../guides/console/) ou dans le terminal. |\n| `throw new Error('...')` | Arrête le message et signale une [erreur](../../guides/errors/). |\n\nSi tu n’envoies pas un message plus loin, il s’arrête là.\n\n## Exemples\n\nRépondre avec une salutation :\n\n```js\nsend({ message: 'Hello, ' + (value.query.name || 'world') + '!' });\n```\n\nEnvoyer vers l’une de deux sorties :\n\n```js\nif (!value.product) {\n\t$.send('output2', { error: 'The product is required.' });\n\treturn;\n}\nsend({ response: { success: true, product: value.product } });\n```\n\nD’autres exemples se trouvent dans les [recettes](../../recipes/get-endpoint/).\n","entries":[],"license":"MIT","updated":"2026-11-19T04:41:16.354Z"}
{"id":"Jap1ay36O61f-it","url":"https://totaljs.es/docs/it/lesscode/1-0/reference/code/","project":"lesscode","version":"1-0","section":"reference","language":"it","title":"Code","summary":"Scrivi qualche riga di JavaScript da eseguire su ogni messaggio.","markdown":"---\ntitle: Code\nproject: Total.js LessCode\nversion: 1.0\nsection: reference\nlanguage: it\nlicense: MIT\nurl: https://totaljs.es/docs/it/lesscode/1-0/reference/code/\nupdated: 2026-11-19T04:41:16.354Z\n---\n\n# Code\n\n> Scrivi qualche riga di JavaScript da eseguire su ogni messaggio.\n\nIl nodo **Code** esegue il tuo JavaScript su ogni messaggio che riceve, sul server. Scaricalo dal gruppo **Common** del catalogo.\n\n| Impostazione | Cosa fa |\n|---|---|\n| **Name** | Un nome che ti serve come riferimento. |\n| **Number of outputs** | Quante uscite ha il nodo: **Output #1**, **Output #2** e così via. |\n| **Code** | Il tuo JavaScript. |\n\n## Cosa puoi usare\n\n| Nome | Cos'è |\n|---|---|\n| `value` | I dati del messaggio. |\n| `send(data)` | Invia i dati alla prima uscita. |\n| `$.send('output2', data)` | Invia i dati alla seconda uscita. Usa `output3`, `output4` e così via per le successive. |\n| `instance.replace('{KEY}')` | Restituisce il testo con ogni `{KEY}` sostituito dalla [variabile](../../guides/variables/) con quel nome. |\n| `console.log(...)` | Scrive una riga nella [Console](../../guides/console/) o nel terminale. |\n| `throw new Error('...')` | Ferma il messaggio e segnala un [errore](../../guides/errors/). |\n\nUn messaggio che non invii avanti non prosegue.\n\n## Esempi\n\nRispondere con un saluto:\n\n```js\nsend({ message: 'Hello, ' + (value.query.name || 'world') + '!' });\n```\n\nInviare a una di due uscite:\n\n```js\nif (!value.product) {\n\t$.send('output2', { error: 'The product is required.' });\n\treturn;\n}\nsend({ response: { success: true, product: value.product } });\n```\n\nTrovi altri esempi nelle [ricette](../../recipes/get-endpoint/).\n","entries":[],"license":"MIT","updated":"2026-11-19T04:41:16.354Z"}
{"id":"Jap1ay36O61f-sk","url":"https://totaljs.es/docs/sk/lesscode/1-0/reference/code/","project":"lesscode","version":"1-0","section":"reference","language":"sk","title":"Code","summary":"Napíš pár riadkov JavaScriptu, ktoré sa vykonajú pri každej správe.","markdown":"---\ntitle: Code\nproject: Total.js LessCode\nversion: 1.0\nsection: reference\nlanguage: sk\nlicense: MIT\nurl: https://totaljs.es/docs/sk/lesscode/1-0/reference/code/\nupdated: 2026-11-19T04:41:16.354Z\n---\n\n# Code\n\n> Napíš pár riadkov JavaScriptu, ktoré sa vykonajú pri každej správe.\n\nUzol **Code** vykoná tvoj JavaScript pri každej správe, ktorú prijme, na serveri. Stiahneš ho zo skupiny **Common** v katalógu.\n\n| Nastavenie | Čo robí |\n|---|---|\n| **Name** | Názov pre tvoju vlastnú orientáciu. |\n| **Number of outputs** | Koľko výstupov uzol má: **Output #1**, **Output #2** a tak ďalej. |\n| **Code** | Tvoj JavaScript. |\n\n## Čo môžeš použiť\n\n| Názov | Čo to je |\n|---|---|\n| `value` | Dáta správy. |\n| `send(data)` | Pošle dáta na prvý výstup. |\n| `$.send('output2', data)` | Pošle dáta na druhý výstup. Pre ďalšie použi `output3`, `output4` a tak ďalej. |\n| `instance.replace('{KEY}')` | Vráti text, v ktorom je každý `{KEY}` nahradený [premennou](../../guides/variables/) s týmto názvom. |\n| `console.log(...)` | Zapíše riadok do [konzoly](../../guides/console/) alebo do terminálu. |\n| `throw new Error('...')` | Zastaví správu a nahlási [chybu](../../guides/errors/). |\n\nSpráva, ktorú nepošleš ďalej, nepokračuje.\n\n## Príklady\n\nOdpoveď s pozdravom:\n\n```js\nsend({ message: 'Hello, ' + (value.query.name || 'world') + '!' });\n```\n\nOdoslanie na jeden z dvoch výstupov:\n\n```js\nif (!value.product) {\n\t$.send('output2', { error: 'The product is required.' });\n\treturn;\n}\nsend({ response: { success: true, product: value.product } });\n```\n\nĎalšie príklady nájdeš v [návodoch](../../recipes/get-endpoint/).\n","entries":[],"license":"MIT","updated":"2026-11-19T04:41:16.354Z"}
{"id":"Jap1b038O61f","url":"https://totaljs.es/docs/lesscode/1-0/reference/flow-file/","project":"lesscode","version":"1-0","section":"reference","language":"en","title":"The flow file","summary":"Where LessCode keeps your work and what the file contains.","markdown":"---\ntitle: The flow file\nproject: LessCode\nversion: 1.0\nsection: reference\nlanguage: en\nlicense: MIT\nurl: https://totaljs.es/docs/lesscode/1-0/reference/flow-file/\nupdated: 2026-11-19T04:41:16.354Z\n---\n\n# The flow file\n\n> Where LessCode keeps your work and what the file contains.\n\nLessCode keeps your whole flow in one JSON file.\n\n| Installation | Location |\n|---|---|\n| Source | `flowstreams/lesscode.flow` in the LessCode folder |\n| Docker | `/www/.src/flowstreams/lesscode.flow` in the container |\n\n## What it contains\n\n| Part | Content |\n|---|---|\n| Design | Your nodes, their settings, positions, notes and connections, and your groups. |\n| Components | The source of every component in the list on the left, including downloaded ones and those made with Link endpoint. |\n| Variables | Your [variables](../../guides/variables/). |\n\n**Download design** in the designer gives the same content as a file named `Total.js LessCode.json`. See [Back up your flow](../../guides/backups/).\n\n## Rules\n\n- LessCode writes the file about five seconds after each change.\n- Keep a single `.flow` file in the folder. The designer shows only one flow.\n- Edit the file only while LessCode is stopped.\n","entries":[],"license":"MIT","updated":"2026-11-19T04:41:16.354Z"}
{"id":"Jap1b038O61f-de","url":"https://totaljs.es/docs/de/lesscode/1-0/reference/flow-file/","project":"lesscode","version":"1-0","section":"reference","language":"de","title":"Die Flow-Datei","summary":"Wo LessCode deine Arbeit aufbewahrt und was die Datei enthält.","markdown":"---\ntitle: Die Flow-Datei\nproject: Total.js LessCode\nversion: 1.0\nsection: reference\nlanguage: de\nlicense: MIT\nurl: https://totaljs.es/docs/de/lesscode/1-0/reference/flow-file/\nupdated: 2026-11-19T04:41:16.354Z\n---\n\n# Die Flow-Datei\n\n> Wo LessCode deine Arbeit aufbewahrt und was die Datei enthält.\n\nLessCode bewahrt deinen ganzen Flow in einer JSON-Datei auf.\n\n| Installation | Ort |\n|---|---|\n| Quellcode | `flowstreams/lesscode.flow` im LessCode-Ordner |\n| Docker | `/www/.src/flowstreams/lesscode.flow` im Container |\n\n## Was sie enthält\n\n| Teil | Inhalt |\n|---|---|\n| Design | Deine Nodes, ihre Einstellungen, Positionen, Notizen und Verbindungen sowie deine Gruppen. |\n| Komponenten | Der Quellcode jeder Komponente in der Liste links, auch der heruntergeladenen und der mit Link endpoint erstellten. |\n| Variablen | Deine [Variablen](../../guides/variables/). |\n\n**Download design** im Designer liefert denselben Inhalt als Datei namens `Total.js LessCode.json`. Mehr dazu unter [Deinen Flow sichern](../../guides/backups/).\n\n## Regeln\n\n- LessCode schreibt die Datei etwa fünf Sekunden nach jeder Änderung.\n- Behalte nur eine `.flow`-Datei im Ordner. Der Designer zeigt nur einen Flow.\n- Bearbeite die Datei nur, während LessCode gestoppt ist.\n","entries":[],"license":"MIT","updated":"2026-11-19T04:41:16.354Z"}
{"id":"Jap1b038O61f-es","url":"https://totaljs.es/docs/es/lesscode/1-0/reference/flow-file/","project":"lesscode","version":"1-0","section":"reference","language":"es","title":"El archivo del flujo","summary":"Dónde guarda LessCode tu trabajo y qué contiene el archivo.","markdown":"---\ntitle: El archivo del flujo\nproject: Total.js LessCode\nversion: 1.0\nsection: reference\nlanguage: es\nlicense: MIT\nurl: https://totaljs.es/docs/es/lesscode/1-0/reference/flow-file/\nupdated: 2026-11-19T04:41:16.354Z\n---\n\n# El archivo del flujo\n\n> Dónde guarda LessCode tu trabajo y qué contiene el archivo.\n\nLessCode guarda todo tu flujo en un solo archivo JSON.\n\n| Instalación | Ubicación |\n|---|---|\n| Código fuente | `flowstreams/lesscode.flow` en la carpeta de LessCode |\n| Docker | `/www/.src/flowstreams/lesscode.flow` en el contenedor |\n\n## Qué contiene\n\n| Parte | Contenido |\n|---|---|\n| Diseño | Tus nodos, sus ajustes, posiciones, notas y conexiones, y tus grupos. |\n| Componentes | El código de cada componente de la lista de la izquierda, incluidos los descargados y los creados con Link endpoint. |\n| Variables | Tus [variables](../../guides/variables/). |\n\n**Download design** en el diseñador te da el mismo contenido en un archivo llamado `Total.js LessCode.json`. Consulta [Hacer una copia de seguridad del flujo](../../guides/backups/).\n\n## Reglas\n\n- LessCode escribe el archivo unos cinco segundos después de cada cambio.\n- Deja un solo archivo `.flow` en la carpeta. El diseñador solo muestra un flujo.\n- Edita el archivo solo mientras LessCode está detenido.\n","entries":[],"license":"MIT","updated":"2026-11-19T04:41:16.354Z"}
{"id":"Jap1b038O61f-fr","url":"https://totaljs.es/docs/fr/lesscode/1-0/reference/flow-file/","project":"lesscode","version":"1-0","section":"reference","language":"fr","title":"Le fichier de flux","summary":"Où LessCode garde ton travail et ce que contient le fichier.","markdown":"---\ntitle: Le fichier de flux\nproject: Total.js LessCode\nversion: 1.0\nsection: reference\nlanguage: fr\nlicense: MIT\nurl: https://totaljs.es/docs/fr/lesscode/1-0/reference/flow-file/\nupdated: 2026-11-19T04:41:16.354Z\n---\n\n# Le fichier de flux\n\n> Où LessCode garde ton travail et ce que contient le fichier.\n\nLessCode garde tout ton flux dans un seul fichier JSON.\n\n| Installation | Emplacement |\n|---|---|\n| Sources | `flowstreams/lesscode.flow` dans le dossier de LessCode |\n| Docker | `/www/.src/flowstreams/lesscode.flow` dans le conteneur |\n\n## Ce qu’il contient\n\n| Partie | Contenu |\n|---|---|\n| Design | Tes nœuds, leurs réglages, leurs positions, leurs notes et leurs connexions, ainsi que tes groupes. |\n| Composants | Le code source de chaque composant de la liste de gauche, y compris ceux que tu as téléchargés et ceux créés avec Link endpoint. |\n| Variables | Tes [variables](../../guides/variables/). |\n\n**Download design** dans le designer donne le même contenu, dans un fichier nommé `Total.js LessCode.json`. Consulte [Sauvegarder ton flux](../../guides/backups/).\n\n## Règles\n\n- LessCode écrit le fichier environ cinq secondes après chaque modification.\n- Garde un seul fichier `.flow` dans le dossier. Le designer n’affiche qu’un seul flux.\n- Ne modifie le fichier que lorsque LessCode est arrêté.\n","entries":[],"license":"MIT","updated":"2026-11-19T04:41:16.354Z"}
{"id":"Jap1b038O61f-it","url":"https://totaljs.es/docs/it/lesscode/1-0/reference/flow-file/","project":"lesscode","version":"1-0","section":"reference","language":"it","title":"Il file del flusso","summary":"Dove LessCode conserva il tuo lavoro e cosa contiene il file.","markdown":"---\ntitle: Il file del flusso\nproject: Total.js LessCode\nversion: 1.0\nsection: reference\nlanguage: it\nlicense: MIT\nurl: https://totaljs.es/docs/it/lesscode/1-0/reference/flow-file/\nupdated: 2026-11-19T04:41:16.354Z\n---\n\n# Il file del flusso\n\n> Dove LessCode conserva il tuo lavoro e cosa contiene il file.\n\nLessCode conserva tutto il tuo flusso in un unico file JSON.\n\n| Installazione | Posizione |\n|---|---|\n| Codice sorgente | `flowstreams/lesscode.flow` nella cartella di LessCode |\n| Docker | `/www/.src/flowstreams/lesscode.flow` nel container |\n\n## Cosa contiene\n\n| Parte | Contenuto |\n|---|---|\n| Design | I tuoi nodi, le loro impostazioni, posizioni, note e connessioni, e i tuoi gruppi. |\n| Componenti | Il sorgente di ogni componente dell'elenco a sinistra, compresi quelli scaricati e quelli creati con Link endpoint. |\n| Variabili | Le tue [variabili](../../guides/variables/). |\n\n**Download design** nel designer ti dà lo stesso contenuto in un file chiamato `Total.js LessCode.json`. Leggi [Fare il backup del flusso](../../guides/backups/).\n\n## Regole\n\n- LessCode scrive il file circa cinque secondi dopo ogni modifica.\n- Tieni un solo file `.flow` nella cartella. Il designer mostra un solo flusso.\n- Modifica il file solo mentre LessCode è fermo.\n","entries":[],"license":"MIT","updated":"2026-11-19T04:41:16.354Z"}
{"id":"Jap1b038O61f-sk","url":"https://totaljs.es/docs/sk/lesscode/1-0/reference/flow-file/","project":"lesscode","version":"1-0","section":"reference","language":"sk","title":"Súbor toku","summary":"Kde LessCode uchováva tvoju prácu a čo súbor obsahuje.","markdown":"---\ntitle: \"Súbor toku\"\nproject: Total.js LessCode\nversion: 1.0\nsection: reference\nlanguage: sk\nlicense: MIT\nurl: https://totaljs.es/docs/sk/lesscode/1-0/reference/flow-file/\nupdated: 2026-11-19T04:41:16.354Z\n---\n\n# Súbor toku\n\n> Kde LessCode uchováva tvoju prácu a čo súbor obsahuje.\n\nLessCode uchováva celý tvoj tok v jednom súbore JSON.\n\n| Inštalácia | Umiestnenie |\n|---|---|\n| Zo zdrojového kódu | `flowstreams/lesscode.flow` v priečinku LessCode |\n| Docker | `/www/.src/flowstreams/lesscode.flow` v kontajneri |\n\n## Čo obsahuje\n\n| Časť | Obsah |\n|---|---|\n| Návrh | Tvoje uzly, ich nastavenia, pozície, poznámky a prepojenia a tvoje skupiny. |\n| Komponenty | Zdrojový kód každého komponentu v zozname vľavo vrátane stiahnutých a tých, ktoré vznikli cez Link endpoint. |\n| Premenné | Tvoje [premenné](../../guides/variables/). |\n\n**Download design** v návrhári dá rovnaký obsah ako súbor s názvom `Total.js LessCode.json`. Pozri si [Zálohuj svoj tok](../../guides/backups/).\n\n## Pravidlá\n\n- LessCode zapíše súbor asi päť sekúnd po každej zmene.\n- V priečinku maj len jeden súbor `.flow`. Návrhár zobrazuje len jeden tok.\n- Súbor uprav len vtedy, keď je LessCode zastavený.\n","entries":[],"license":"MIT","updated":"2026-11-19T04:41:16.354Z"}
{"id":"Jap1af2vO60f","url":"https://totaljs.es/docs/lesscode/1-0/recipes/get-endpoint/","project":"lesscode","version":"1-0","section":"recipes","language":"en","title":"Create a GET endpoint","summary":"Build an HTTP endpoint that reads a query argument and answers with JSON.","markdown":"---\ntitle: Create a GET endpoint\nproject: LessCode\nversion: 1.0\nsection: recipes\nlanguage: en\nlicense: MIT\nurl: https://totaljs.es/docs/lesscode/1-0/recipes/get-endpoint/\nupdated: 2026-11-19T04:41:14.691Z\n---\n\n# Create a GET endpoint\n\n> Build an HTTP endpoint that reads a query argument and answers with JSON.\n\nThis endpoint answers `GET /api/hello/`. It greets the name you pass in the address, or the world when there is none.\n\n![Route, Code and Response nodes connected for the hello endpoint](/files/Jap1ac2uO61f.webp)\n\nYou need the **Route**, **Code** and **Response** components. See [Download components](../../guides/download-components/).\n\n## Build it\n\n1. Drag **Route**, **Code** and **Response** onto the canvas.\n2. Connect **Request** of Route to **Input** of Code, and **Output** of Code to **Response** of Response.\n3. Double-click **Route**. Keep **Method** `GET`, set **Relative URL address** to `/api/hello/` and select **APPLY**.\n4. Double-click **Code**, replace the code with the code below and select **APPLY**.\n5. Double-click **Response**, empty **Path for reading value** and select **APPLY**.\n6. Select **APPLY** in the toolbar, then **Continue**.\n\nThe code of the Code node:\n\n```js\nsend({ message: 'Hello, ' + (value.query.name || 'world') + '!' });\n```\n\n`value` is the request that Route sends: with **Send to output** set to **Everything**, the query arguments are in `value.query`.\n\n## Try it\n\n```bash\ncurl 'http://localhost:8000/api/hello/?name=Jane'\n```\n\n```json\n{\"message\":\"Hello, Jane!\"}\n```\n\nWithout a name:\n\n```bash\ncurl http://localhost:8000/api/hello/\n```\n\n```json\n{\"message\":\"Hello, world!\"}\n```\n\n## Why empty the path\n\nBy default, Response sends only the `response` property of the data it receives. Empty **Path for reading value** to send the whole object, or send your data inside `response`, as in [Create a POST endpoint](../post-endpoint/).\n\nSee also [Route](../../reference/route/) and [Response](../../reference/response/).\n","entries":[],"license":"MIT","updated":"2026-11-19T04:41:14.691Z"}
{"id":"Jap1af2vO60f-de","url":"https://totaljs.es/docs/de/lesscode/1-0/recipes/get-endpoint/","project":"lesscode","version":"1-0","section":"recipes","language":"de","title":"Einen GET-Endpunkt erstellen","summary":"Bau einen HTTP-Endpunkt, der einen Query-Parameter liest und mit JSON antwortet.","markdown":"---\ntitle: Einen GET-Endpunkt erstellen\nproject: Total.js LessCode\nversion: 1.0\nsection: recipes\nlanguage: de\nlicense: MIT\nurl: https://totaljs.es/docs/de/lesscode/1-0/recipes/get-endpoint/\nupdated: 2026-11-19T04:41:14.691Z\n---\n\n# Einen GET-Endpunkt erstellen\n\n> Bau einen HTTP-Endpunkt, der einen Query-Parameter liest und mit JSON antwortet.\n\nDieser Endpunkt antwortet auf `GET /api/hello/`. Er grüßt den Namen, den du in der Adresse übergibst, oder die Welt, wenn keiner da ist.\n\n![Route-, Code- und Response-Nodes, verbunden für den hello-Endpunkt](/files/Jap1ac2uO61f.webp)\n\nDu brauchst die Komponenten **Route**, **Code** und **Response**. Mehr dazu unter [Komponenten herunterladen](../../guides/download-components/).\n\n## Bau ihn\n\n1. Ziehe **Route**, **Code** und **Response** auf die Arbeitsfläche.\n2. Verbinde **Request** von Route mit **Input** von Code und **Output** von Code mit **Response** von Response.\n3. Doppelklicke auf **Route**. Lass **Method** auf `GET`, setze **Relative URL address** auf `/api/hello/` und wähle **APPLY**.\n4. Doppelklicke auf **Code**, ersetze den Code durch den Code unten und wähle **APPLY**.\n5. Doppelklicke auf **Response**, leere **Path for reading value** und wähle **APPLY**.\n6. Wähle **APPLY** in der Werkzeugleiste und dann **Continue**.\n\nDer Code des Code-Nodes:\n\n```js\nsend({ message: 'Hello, ' + (value.query.name || 'world') + '!' });\n```\n\n`value` ist die Anfrage, die Route schickt: Ist **Send to output** auf **Everything** gesetzt, stehen die Query-Parameter in `value.query`.\n\n## Probier es aus\n\n```bash\ncurl 'http://localhost:8000/api/hello/?name=Jane'\n```\n\n```json\n{\"message\":\"Hello, Jane!\"}\n```\n\nOhne Namen:\n\n```bash\ncurl http://localhost:8000/api/hello/\n```\n\n```json\n{\"message\":\"Hello, world!\"}\n```\n\n## Warum du den Pfad leerst\n\nStandardmäßig schickt Response nur die Eigenschaft `response` der Daten, die es empfängt. Leere **Path for reading value**, um das ganze Objekt zu schicken, oder schicke deine Daten innerhalb von `response`, wie in [Einen POST-Endpunkt erstellen](../post-endpoint/).\n\nSiehe auch [Route](../../reference/route/) und [Response](../../reference/response/).\n","entries":[],"license":"MIT","updated":"2026-11-19T04:41:14.691Z"}
{"id":"Jap1af2vO60f-es","url":"https://totaljs.es/docs/es/lesscode/1-0/recipes/get-endpoint/","project":"lesscode","version":"1-0","section":"recipes","language":"es","title":"Crear un endpoint GET","summary":"Construye un endpoint HTTP que lee un argumento de la consulta y responde con JSON.","markdown":"---\ntitle: Crear un endpoint GET\nproject: Total.js LessCode\nversion: 1.0\nsection: recipes\nlanguage: es\nlicense: MIT\nurl: https://totaljs.es/docs/es/lesscode/1-0/recipes/get-endpoint/\nupdated: 2026-11-19T04:41:14.691Z\n---\n\n# Crear un endpoint GET\n\n> Construye un endpoint HTTP que lee un argumento de la consulta y responde con JSON.\n\nEste endpoint responde a `GET /api/hello/`. Saluda al nombre que pasas en la dirección, o al mundo cuando no hay ninguno.\n\n![Los nodos Route, Code y Response conectados para el endpoint hello](/files/Jap1ac2uO61f.webp)\n\nNecesitas los componentes **Route**, **Code** y **Response**. Consulta [Descargar componentes](../../guides/download-components/).\n\n## Constrúyelo\n\n1. Arrastra **Route**, **Code** y **Response** al lienzo.\n2. Conecta **Request** de Route a **Input** de Code, y **Output** de Code a **Response** de Response.\n3. Haz doble clic en **Route**. Deja **Method** en `GET`, pon **Relative URL address** en `/api/hello/` y selecciona **APPLY**.\n4. Haz doble clic en **Code**, sustituye el código por el de abajo y selecciona **APPLY**.\n5. Haz doble clic en **Response**, vacía **Path for reading value** y selecciona **APPLY**.\n6. Selecciona **APPLY** en la barra de herramientas y después **Continue**.\n\nEl código del nodo Code:\n\n```js\nsend({ message: 'Hello, ' + (value.query.name || 'world') + '!' });\n```\n\n`value` es la petición que envía Route: con **Send to output** en **Everything**, los argumentos de la consulta están en `value.query`.\n\n## Pruébalo\n\n```bash\ncurl 'http://localhost:8000/api/hello/?name=Jane'\n```\n\n```json\n{\"message\":\"Hello, Jane!\"}\n```\n\nSin nombre:\n\n```bash\ncurl http://localhost:8000/api/hello/\n```\n\n```json\n{\"message\":\"Hello, world!\"}\n```\n\n## Por qué vaciar la ruta\n\nPor defecto, Response envía solo la propiedad `response` de los datos que recibe. Vacía **Path for reading value** para enviar el objeto completo, o envía tus datos dentro de `response`, como en [Crear un endpoint POST con validación](../post-endpoint/).\n\nConsulta también [Route](../../reference/route/) y [Response](../../reference/response/).\n","entries":[],"license":"MIT","updated":"2026-11-19T04:41:14.691Z"}
{"id":"Jap1af2vO60f-fr","url":"https://totaljs.es/docs/fr/lesscode/1-0/recipes/get-endpoint/","project":"lesscode","version":"1-0","section":"recipes","language":"fr","title":"Créer un endpoint GET","summary":"Construis un endpoint HTTP qui lit un argument de requête et répond en JSON.","markdown":"---\ntitle: \"Créer un endpoint GET\"\nproject: Total.js LessCode\nversion: 1.0\nsection: recipes\nlanguage: fr\nlicense: MIT\nurl: https://totaljs.es/docs/fr/lesscode/1-0/recipes/get-endpoint/\nupdated: 2026-11-19T04:41:14.691Z\n---\n\n# Créer un endpoint GET\n\n> Construis un endpoint HTTP qui lit un argument de requête et répond en JSON.\n\nCet endpoint répond à `GET /api/hello/`. Il salue le nom que tu passes dans l’adresse, ou le monde quand il n’y en a pas.\n\n![Les nœuds Route, Code et Response connectés pour l’endpoint hello](/files/Jap1ac2uO61f.webp)\n\nTu as besoin des composants **Route**, **Code** et **Response**. Consulte [Télécharger des composants](../../guides/download-components/).\n\n## Le construire\n\n1. Fais glisser **Route**, **Code** et **Response** sur le canevas.\n2. Connecte **Request** de Route à **Input** de Code, et **Output** de Code à **Response** de Response.\n3. Double-clique sur **Route**. Garde **Method** à `GET`, mets **Relative URL address** à `/api/hello/` et sélectionne **APPLY**.\n4. Double-clique sur **Code**, remplace le code par celui ci-dessous et sélectionne **APPLY**.\n5. Double-clique sur **Response**, vide **Path for reading value** et sélectionne **APPLY**.\n6. Sélectionne **APPLY** dans la barre d’outils, puis **Continue**.\n\nLe code du nœud Code :\n\n```js\nsend({ message: 'Hello, ' + (value.query.name || 'world') + '!' });\n```\n\n`value` est la requête que Route envoie : avec **Send to output** réglé sur **Everything**, les arguments de requête se trouvent dans `value.query`.\n\n## L’essayer\n\n```bash\ncurl 'http://localhost:8000/api/hello/?name=Jane'\n```\n\n```json\n{\"message\":\"Hello, Jane!\"}\n```\n\nSans nom :\n\n```bash\ncurl http://localhost:8000/api/hello/\n```\n\n```json\n{\"message\":\"Hello, world!\"}\n```\n\n## Pourquoi vider le chemin\n\nPar défaut, Response n’envoie que la propriété `response` des données qu’il reçoit. Vide **Path for reading value** pour envoyer tout l’objet, ou envoie tes données dans `response`, comme dans [Créer un endpoint POST](../post-endpoint/).\n\nConsulte aussi [Route](../../reference/route/) et [Response](../../reference/response/).\n","entries":[],"license":"MIT","updated":"2026-11-19T04:41:14.691Z"}
{"id":"Jap1af2vO60f-it","url":"https://totaljs.es/docs/it/lesscode/1-0/recipes/get-endpoint/","project":"lesscode","version":"1-0","section":"recipes","language":"it","title":"Creare un endpoint GET","summary":"Costruisci un endpoint HTTP che legge un argomento della query e risponde in JSON.","markdown":"---\ntitle: Creare un endpoint GET\nproject: Total.js LessCode\nversion: 1.0\nsection: recipes\nlanguage: it\nlicense: MIT\nurl: https://totaljs.es/docs/it/lesscode/1-0/recipes/get-endpoint/\nupdated: 2026-11-19T04:41:14.691Z\n---\n\n# Creare un endpoint GET\n\n> Costruisci un endpoint HTTP che legge un argomento della query e risponde in JSON.\n\nQuesto endpoint risponde a `GET /api/hello/`. Saluta il nome che passi nell'indirizzo, oppure il mondo quando non ce n'è nessuno.\n\n![I nodi Route, Code e Response collegati per l'endpoint hello](/files/Jap1ac2uO61f.webp)\n\nTi servono i componenti **Route**, **Code** e **Response**. Leggi [Scaricare i componenti](../../guides/download-components/).\n\n## Costruirlo\n\n1. Trascina **Route**, **Code** e **Response** sul canvas.\n2. Collega **Request** di Route a **Input** di Code, e **Output** di Code a **Response** di Response.\n3. Fai doppio clic su **Route**. Lascia **Method** su `GET`, imposta **Relative URL address** su `/api/hello/` e seleziona **APPLY**.\n4. Fai doppio clic su **Code**, sostituisci il codice con quello qui sotto e seleziona **APPLY**.\n5. Fai doppio clic su **Response**, svuota **Path for reading value** e seleziona **APPLY**.\n6. Seleziona **APPLY** nella barra degli strumenti, poi **Continue**.\n\nIl codice del nodo Code:\n\n```js\nsend({ message: 'Hello, ' + (value.query.name || 'world') + '!' });\n```\n\n`value` è la richiesta che Route invia: con **Send to output** impostato su **Everything**, gli argomenti della query sono in `value.query`.\n\n## Provarlo\n\n```bash\ncurl 'http://localhost:8000/api/hello/?name=Jane'\n```\n\n```json\n{\"message\":\"Hello, Jane!\"}\n```\n\nSenza un nome:\n\n```bash\ncurl http://localhost:8000/api/hello/\n```\n\n```json\n{\"message\":\"Hello, world!\"}\n```\n\n## Perché svuotare il percorso\n\nPer impostazione predefinita, Response invia solo la proprietà `response` dei dati che riceve. Svuota **Path for reading value** per inviare tutto l'oggetto, oppure invia i tuoi dati dentro `response`, come in [Creare un endpoint POST](../post-endpoint/).\n\nLeggi anche [Route](../../reference/route/) e [Response](../../reference/response/).\n","entries":[],"license":"MIT","updated":"2026-11-19T04:41:14.691Z"}
{"id":"Jap1af2vO60f-sk","url":"https://totaljs.es/docs/sk/lesscode/1-0/recipes/get-endpoint/","project":"lesscode","version":"1-0","section":"recipes","language":"sk","title":"Vytvor GET endpoint","summary":"Vytvor HTTP endpoint, ktorý prečíta argument z adresy a odpovie v JSON.","markdown":"---\ntitle: Vytvor GET endpoint\nproject: Total.js LessCode\nversion: 1.0\nsection: recipes\nlanguage: sk\nlicense: MIT\nurl: https://totaljs.es/docs/sk/lesscode/1-0/recipes/get-endpoint/\nupdated: 2026-11-19T04:41:14.691Z\n---\n\n# Vytvor GET endpoint\n\n> Vytvor HTTP endpoint, ktorý prečíta argument z adresy a odpovie v JSON.\n\nTento endpoint odpovedá na `GET /api/hello/`. Pozdraví meno, ktoré odovzdáš v adrese, alebo svet, ak žiadne nie je.\n\n![Uzly Route, Code a Response prepojené pre endpoint hello](/files/Jap1ac2uO61f.webp)\n\nPotrebuješ komponenty **Route**, **Code** a **Response**. Pozri si [Stiahni komponenty](../../guides/download-components/).\n\n## Vytvorenie\n\n1. Pretiahni na plátno **Route**, **Code** a **Response**.\n2. Prepoj **Request** uzla Route so vstupom **Input** uzla Code a **Output** uzla Code so vstupom **Response** uzla Response.\n3. Dvakrát klikni na **Route**. Ponechaj **Method** `GET`, nastav **Relative URL address** na `/api/hello/` a vyber **APPLY**.\n4. Dvakrát klikni na **Code**, nahraď kód kódom nižšie a vyber **APPLY**.\n5. Dvakrát klikni na **Response**, vyprázdni **Path for reading value** a vyber **APPLY**.\n6. Na paneli nástrojov vyber **APPLY** a potom **Continue**.\n\nKód uzla Code:\n\n```js\nsend({ message: 'Hello, ' + (value.query.name || 'world') + '!' });\n```\n\n`value` je požiadavka, ktorú posiela Route: keď je **Send to output** nastavené na **Everything**, argumenty z adresy sú vo `value.query`.\n\n## Vyskúšanie\n\n```bash\ncurl 'http://localhost:8000/api/hello/?name=Jane'\n```\n\n```json\n{\"message\":\"Hello, Jane!\"}\n```\n\nBez mena:\n\n```bash\ncurl http://localhost:8000/api/hello/\n```\n\n```json\n{\"message\":\"Hello, world!\"}\n```\n\n## Prečo vyprázdniť cestu\n\nResponse predvolene posiela len vlastnosť `response` z dát, ktoré prijme. Ak chceš poslať celý objekt, vyprázdni **Path for reading value**, alebo posielaj svoje dáta vnútri `response`, ako v článku [Vytvor POST endpoint](../post-endpoint/).\n\nPozri si aj [Route](../../reference/route/) a [Response](../../reference/response/).\n","entries":[],"license":"MIT","updated":"2026-11-19T04:41:14.691Z"}
{"id":"Jap1an2zO60f","url":"https://totaljs.es/docs/lesscode/1-0/recipes/post-endpoint/","project":"lesscode","version":"1-0","section":"recipes","language":"en","title":"Create a POST endpoint with validation","summary":"Accept JSON data, check it and answer with success or with a 400 error.","markdown":"---\ntitle: Create a POST endpoint with validation\nproject: LessCode\nversion: 1.0\nsection: recipes\nlanguage: en\nlicense: MIT\nurl: https://totaljs.es/docs/lesscode/1-0/recipes/post-endpoint/\nupdated: 2026-11-19T04:41:15.510Z\n---\n\n# Create a POST endpoint with validation\n\n> Accept JSON data, check it and answer with success or with a 400 error.\n\nThis endpoint accepts an order at `POST /api/orders/`. It answers `200` with the order when a product is given, and `400` with an error when it is missing.\n\n![Route, a Code node with two outputs and two Response nodes, the second one with status 400](/files/Jap1ah2xO60f.webp)\n\n## Build it\n\n1. Drag **Route**, **Code** and two **Response** nodes onto the canvas.\n2. Double-click **Route**. Set **Method** to `POST`, **Relative URL address** to `/api/orders/` and **Send to output** to **Payload**. Select **APPLY**.\n3. Double-click **Code**. Set **Name** to `Check order`, **Number of outputs** to `2`, and paste the code below. Select **APPLY**.\n4. Double-click the second **Response**. Set **Type** to **JSON**, **Status code** to `400`, empty **Path for reading value** and select **APPLY**. Keep the first Response as it is.\n5. Connect **Request** of Route to **Input** of Code, **Output #1** to the first Response and **Output #2** to the second Response.\n6. Select **APPLY** in the toolbar, then **Continue**.\n\n![The Code settings with the validation code and two outputs](/files/Jap1al2yO61f.webp)\n\nThe code of the Code node:\n\n```js\nif (!value.product) {\n\t$.send('output2', { error: 'The product is required.' });\n\treturn;\n}\n\nsend({ response: { success: true, product: value.product, quantity: value.quantity || 1 } });\n```\n\nWith **Send to output** set to **Payload**, `value` is the JSON body of the request. `send()` uses the first output and `$.send('output2', ...)` the second one. The first Response keeps its default path `response`, so it sends the object inside `response`.\n\n## Try it\n\n```bash\ncurl -X POST -H 'Content-Type: application/json' --data '{\"product\":\"Demo product\",\"quantity\":2}' http://localhost:8000/api/orders/\n```\n\n```json\n{\"success\":true,\"product\":\"Demo product\",\"quantity\":2}\n```\n\nWithout a quantity, the answer uses 1:\n\n```json\n{\"success\":true,\"product\":\"Demo product\",\"quantity\":1}\n```\n\nWithout a product, the status is `400`:\n\n```bash\ncurl -X POST -H 'Content-Type: application/json' --data '{\"quantity\":2}' http://localhost:8000/api/orders/\n```\n\n```json\n{\"error\":\"The product is required.\"}\n```\n","entries":[],"license":"MIT","updated":"2026-11-19T04:41:15.510Z"}
{"id":"Jap1an2zO60f-de","url":"https://totaljs.es/docs/de/lesscode/1-0/recipes/post-endpoint/","project":"lesscode","version":"1-0","section":"recipes","language":"de","title":"Einen POST-Endpunkt mit Prüfung erstellen","summary":"Nimm JSON-Daten an, prüfe sie und antworte mit Erfolg oder mit einem Fehler 400.","markdown":"---\ntitle: \"Einen POST-Endpunkt mit Prüfung erstellen\"\nproject: Total.js LessCode\nversion: 1.0\nsection: recipes\nlanguage: de\nlicense: MIT\nurl: https://totaljs.es/docs/de/lesscode/1-0/recipes/post-endpoint/\nupdated: 2026-11-19T04:41:15.510Z\n---\n\n# Einen POST-Endpunkt mit Prüfung erstellen\n\n> Nimm JSON-Daten an, prüfe sie und antworte mit Erfolg oder mit einem Fehler 400.\n\nDieser Endpunkt nimmt eine Bestellung unter `POST /api/orders/` an. Er antwortet mit `200` und der Bestellung, wenn ein Produkt angegeben ist, und mit `400` und einem Fehler, wenn es fehlt.\n\n![Route, ein Code-Node mit zwei Ausgängen und zwei Response-Nodes, der zweite mit Status 400](/files/Jap1ah2xO60f.webp)\n\n## Bau ihn\n\n1. Ziehe **Route**, **Code** und zwei **Response**-Nodes auf die Arbeitsfläche.\n2. Doppelklicke auf **Route**. Setze **Method** auf `POST`, **Relative URL address** auf `/api/orders/` und **Send to output** auf **Payload**. Wähle **APPLY**.\n3. Doppelklicke auf **Code**. Setze **Name** auf `Check order`, **Number of outputs** auf `2` und füge den Code unten ein. Wähle **APPLY**.\n4. Doppelklicke auf die zweite **Response**. Setze **Type** auf **JSON**, **Status code** auf `400`, leere **Path for reading value** und wähle **APPLY**. Lass die erste Response, wie sie ist.\n5. Verbinde **Request** von Route mit **Input** von Code, **Output #1** mit der ersten Response und **Output #2** mit der zweiten Response.\n6. Wähle **APPLY** in der Werkzeugleiste und dann **Continue**.\n\n![Die Code-Einstellungen mit dem Prüfcode und zwei Ausgängen](/files/Jap1al2yO61f.webp)\n\nDer Code des Code-Nodes:\n\n```js\nif (!value.product) {\n\t$.send('output2', { error: 'The product is required.' });\n\treturn;\n}\n\nsend({ response: { success: true, product: value.product, quantity: value.quantity || 1 } });\n```\n\nIst **Send to output** auf **Payload** gesetzt, ist `value` der JSON-Body der Anfrage. `send()` verwendet den ersten Ausgang und `$.send('output2', ...)` den zweiten. Die erste Response behält ihren Standardpfad `response` und schickt daher das Objekt innerhalb von `response`.\n\n## Probier es aus\n\n```bash\ncurl -X POST -H 'Content-Type: application/json' --data '{\"product\":\"Demo product\",\"quantity\":2}' http://localhost:8000/api/orders/\n```\n\n```json\n{\"success\":true,\"product\":\"Demo product\",\"quantity\":2}\n```\n\nOhne Menge verwendet die Antwort 1:\n\n```json\n{\"success\":true,\"product\":\"Demo product\",\"quantity\":1}\n```\n\nOhne Produkt ist der Status `400`:\n\n```bash\ncurl -X POST -H 'Content-Type: application/json' --data '{\"quantity\":2}' http://localhost:8000/api/orders/\n```\n\n```json\n{\"error\":\"The product is required.\"}\n```\n","entries":[],"license":"MIT","updated":"2026-11-19T04:41:15.510Z"}
{"id":"Jap1an2zO60f-es","url":"https://totaljs.es/docs/es/lesscode/1-0/recipes/post-endpoint/","project":"lesscode","version":"1-0","section":"recipes","language":"es","title":"Crear un endpoint POST con validación","summary":"Acepta datos JSON, compruébalos y responde con éxito o con un error 400.","markdown":"---\ntitle: \"Crear un endpoint POST con validación\"\nproject: Total.js LessCode\nversion: 1.0\nsection: recipes\nlanguage: es\nlicense: MIT\nurl: https://totaljs.es/docs/es/lesscode/1-0/recipes/post-endpoint/\nupdated: 2026-11-19T04:41:15.510Z\n---\n\n# Crear un endpoint POST con validación\n\n> Acepta datos JSON, compruébalos y responde con éxito o con un error 400.\n\nEste endpoint acepta un pedido en `POST /api/orders/`. Responde `200` con el pedido cuando se indica un producto, y `400` con un error cuando falta.\n\n![Route, un nodo Code con dos salidas y dos nodos Response, el segundo con el estado 400](/files/Jap1ah2xO60f.webp)\n\n## Constrúyelo\n\n1. Arrastra **Route**, **Code** y dos nodos **Response** al lienzo.\n2. Haz doble clic en **Route**. Pon **Method** en `POST`, **Relative URL address** en `/api/orders/` y **Send to output** en **Payload**. Selecciona **APPLY**.\n3. Haz doble clic en **Code**. Pon **Name** en `Check order`, **Number of outputs** en `2` y pega el código de abajo. Selecciona **APPLY**.\n4. Haz doble clic en el segundo **Response**. Pon **Type** en **JSON** y **Status code** en `400`, vacía **Path for reading value** y selecciona **APPLY**. Deja el primer Response como está.\n5. Conecta **Request** de Route a **Input** de Code, **Output #1** al primer Response y **Output #2** al segundo Response.\n6. Selecciona **APPLY** en la barra de herramientas y después **Continue**.\n\n![Los ajustes de Code con el código de validación y dos salidas](/files/Jap1al2yO61f.webp)\n\nEl código del nodo Code:\n\n```js\nif (!value.product) {\n\t$.send('output2', { error: 'The product is required.' });\n\treturn;\n}\n\nsend({ response: { success: true, product: value.product, quantity: value.quantity || 1 } });\n```\n\nCon **Send to output** en **Payload**, `value` es el cuerpo JSON de la petición. `send()` usa la primera salida y `$.send('output2', ...)` la segunda. El primer Response mantiene su ruta predeterminada `response`, así que envía el objeto que hay dentro de `response`.\n\n## Pruébalo\n\n```bash\ncurl -X POST -H 'Content-Type: application/json' --data '{\"product\":\"Demo product\",\"quantity\":2}' http://localhost:8000/api/orders/\n```\n\n```json\n{\"success\":true,\"product\":\"Demo product\",\"quantity\":2}\n```\n\nSin cantidad, la respuesta usa 1:\n\n```json\n{\"success\":true,\"product\":\"Demo product\",\"quantity\":1}\n```\n\nSin producto, el estado es `400`:\n\n```bash\ncurl -X POST -H 'Content-Type: application/json' --data '{\"quantity\":2}' http://localhost:8000/api/orders/\n```\n\n```json\n{\"error\":\"The product is required.\"}\n```\n","entries":[],"license":"MIT","updated":"2026-11-19T04:41:15.510Z"}
{"id":"Jap1an2zO60f-fr","url":"https://totaljs.es/docs/fr/lesscode/1-0/recipes/post-endpoint/","project":"lesscode","version":"1-0","section":"recipes","language":"fr","title":"Créer un endpoint POST avec validation","summary":"Accepte des données JSON, vérifie-les et réponds avec un succès ou avec une erreur 400.","markdown":"---\ntitle: \"Créer un endpoint POST avec validation\"\nproject: Total.js LessCode\nversion: 1.0\nsection: recipes\nlanguage: fr\nlicense: MIT\nurl: https://totaljs.es/docs/fr/lesscode/1-0/recipes/post-endpoint/\nupdated: 2026-11-19T04:41:15.510Z\n---\n\n# Créer un endpoint POST avec validation\n\n> Accepte des données JSON, vérifie-les et réponds avec un succès ou avec une erreur 400.\n\nCet endpoint accepte une commande sur `POST /api/orders/`. Il répond `200` avec la commande quand un produit est indiqué, et `400` avec une erreur quand il manque.\n\n![Route, un nœud Code avec deux sorties et deux nœuds Response, le second avec le statut 400](/files/Jap1ah2xO60f.webp)\n\n## Le construire\n\n1. Fais glisser **Route**, **Code** et deux nœuds **Response** sur le canevas.\n2. Double-clique sur **Route**. Mets **Method** à `POST`, **Relative URL address** à `/api/orders/` et **Send to output** à **Payload**. Sélectionne **APPLY**.\n3. Double-clique sur **Code**. Mets **Name** à `Check order`, **Number of outputs** à `2`, et colle le code ci-dessous. Sélectionne **APPLY**.\n4. Double-clique sur le second **Response**. Mets **Type** à **JSON**, **Status code** à `400`, vide **Path for reading value** et sélectionne **APPLY**. Laisse le premier Response tel quel.\n5. Connecte **Request** de Route à **Input** de Code, **Output #1** au premier Response et **Output #2** au second Response.\n6. Sélectionne **APPLY** dans la barre d’outils, puis **Continue**.\n\n![Les réglages de Code avec le code de validation et deux sorties](/files/Jap1al2yO61f.webp)\n\nLe code du nœud Code :\n\n```js\nif (!value.product) {\n\t$.send('output2', { error: 'The product is required.' });\n\treturn;\n}\n\nsend({ response: { success: true, product: value.product, quantity: value.quantity || 1 } });\n```\n\nAvec **Send to output** réglé sur **Payload**, `value` est le corps JSON de la requête. `send()` utilise la première sortie et `$.send('output2', ...)` la seconde. Le premier Response garde son chemin par défaut `response`, donc il envoie l’objet contenu dans `response`.\n\n## L’essayer\n\n```bash\ncurl -X POST -H 'Content-Type: application/json' --data '{\"product\":\"Demo product\",\"quantity\":2}' http://localhost:8000/api/orders/\n```\n\n```json\n{\"success\":true,\"product\":\"Demo product\",\"quantity\":2}\n```\n\nSans quantité, la réponse utilise 1 :\n\n```json\n{\"success\":true,\"product\":\"Demo product\",\"quantity\":1}\n```\n\nSans produit, le statut est `400` :\n\n```bash\ncurl -X POST -H 'Content-Type: application/json' --data '{\"quantity\":2}' http://localhost:8000/api/orders/\n```\n\n```json\n{\"error\":\"The product is required.\"}\n```\n","entries":[],"license":"MIT","updated":"2026-11-19T04:41:15.510Z"}
{"id":"Jap1an2zO60f-it","url":"https://totaljs.es/docs/it/lesscode/1-0/recipes/post-endpoint/","project":"lesscode","version":"1-0","section":"recipes","language":"it","title":"Creare un endpoint POST con validazione","summary":"Accetta dati JSON, controllali e rispondi con un successo o con un errore 400.","markdown":"---\ntitle: Creare un endpoint POST con validazione\nproject: Total.js LessCode\nversion: 1.0\nsection: recipes\nlanguage: it\nlicense: MIT\nurl: https://totaljs.es/docs/it/lesscode/1-0/recipes/post-endpoint/\nupdated: 2026-11-19T04:41:15.510Z\n---\n\n# Creare un endpoint POST con validazione\n\n> Accetta dati JSON, controllali e rispondi con un successo o con un errore 400.\n\nQuesto endpoint accetta un ordine su `POST /api/orders/`. Risponde `200` con l'ordine quando c'è un prodotto, e `400` con un errore quando manca.\n\n![Route, un nodo Code con due uscite e due nodi Response, il secondo con stato 400](/files/Jap1ah2xO60f.webp)\n\n## Costruirlo\n\n1. Trascina **Route**, **Code** e due nodi **Response** sul canvas.\n2. Fai doppio clic su **Route**. Imposta **Method** su `POST`, **Relative URL address** su `/api/orders/` e **Send to output** su **Payload**. Seleziona **APPLY**.\n3. Fai doppio clic su **Code**. Imposta **Name** su `Check order`, **Number of outputs** su `2` e incolla il codice qui sotto. Seleziona **APPLY**.\n4. Fai doppio clic sul secondo **Response**. Imposta **Type** su **JSON**, **Status code** su `400`, svuota **Path for reading value** e seleziona **APPLY**. Lascia il primo Response com'è.\n5. Collega **Request** di Route a **Input** di Code, **Output #1** al primo Response e **Output #2** al secondo Response.\n6. Seleziona **APPLY** nella barra degli strumenti, poi **Continue**.\n\n![Le impostazioni di Code con il codice di validazione e due uscite](/files/Jap1al2yO61f.webp)\n\nIl codice del nodo Code:\n\n```js\nif (!value.product) {\n\t$.send('output2', { error: 'The product is required.' });\n\treturn;\n}\n\nsend({ response: { success: true, product: value.product, quantity: value.quantity || 1 } });\n```\n\nCon **Send to output** impostato su **Payload**, `value` è il corpo JSON della richiesta. `send()` usa la prima uscita e `$.send('output2', ...)` la seconda. Il primo Response mantiene il percorso predefinito `response`, quindi invia l'oggetto contenuto in `response`.\n\n## Provarlo\n\n```bash\ncurl -X POST -H 'Content-Type: application/json' --data '{\"product\":\"Demo product\",\"quantity\":2}' http://localhost:8000/api/orders/\n```\n\n```json\n{\"success\":true,\"product\":\"Demo product\",\"quantity\":2}\n```\n\nSenza una quantità, la risposta usa 1:\n\n```json\n{\"success\":true,\"product\":\"Demo product\",\"quantity\":1}\n```\n\nSenza un prodotto, lo stato è `400`:\n\n```bash\ncurl -X POST -H 'Content-Type: application/json' --data '{\"quantity\":2}' http://localhost:8000/api/orders/\n```\n\n```json\n{\"error\":\"The product is required.\"}\n```\n","entries":[],"license":"MIT","updated":"2026-11-19T04:41:15.510Z"}
{"id":"Jap1an2zO60f-sk","url":"https://totaljs.es/docs/sk/lesscode/1-0/recipes/post-endpoint/","project":"lesscode","version":"1-0","section":"recipes","language":"sk","title":"Vytvor POST endpoint s kontrolou","summary":"Prijmi dáta v JSON, skontroluj ich a odpovedz úspechom alebo chybou 400.","markdown":"---\ntitle: Vytvor POST endpoint s kontrolou\nproject: Total.js LessCode\nversion: 1.0\nsection: recipes\nlanguage: sk\nlicense: MIT\nurl: https://totaljs.es/docs/sk/lesscode/1-0/recipes/post-endpoint/\nupdated: 2026-11-19T04:41:15.510Z\n---\n\n# Vytvor POST endpoint s kontrolou\n\n> Prijmi dáta v JSON, skontroluj ich a odpovedz úspechom alebo chybou 400.\n\nTento endpoint prijíma objednávku na `POST /api/orders/`. Keď je zadaný produkt, odpovie `200` s objednávkou, a keď chýba, odpovie `400` s chybou.\n\n![Route, uzol Code s dvoma výstupmi a dva uzly Response, druhý so stavom 400](/files/Jap1ah2xO60f.webp)\n\n## Vytvorenie\n\n1. Pretiahni na plátno **Route**, **Code** a dva uzly **Response**.\n2. Dvakrát klikni na **Route**. Nastav **Method** na `POST`, **Relative URL address** na `/api/orders/` a **Send to output** na **Payload**. Vyber **APPLY**.\n3. Dvakrát klikni na **Code**. Nastav **Name** na `Check order`, **Number of outputs** na `2` a vlož kód nižšie. Vyber **APPLY**.\n4. Dvakrát klikni na druhý **Response**. Nastav **Type** na **JSON**, **Status code** na `400`, vyprázdni **Path for reading value** a vyber **APPLY**. Prvý Response nechaj, ako je.\n5. Prepoj **Request** uzla Route so vstupom **Input** uzla Code, **Output #1** s prvým Response a **Output #2** s druhým Response.\n6. Na paneli nástrojov vyber **APPLY** a potom **Continue**.\n\n![Nastavenia uzla Code s kontrolným kódom a dvoma výstupmi](/files/Jap1al2yO61f.webp)\n\nKód uzla Code:\n\n```js\nif (!value.product) {\n\t$.send('output2', { error: 'The product is required.' });\n\treturn;\n}\n\nsend({ response: { success: true, product: value.product, quantity: value.quantity || 1 } });\n```\n\nKeď je **Send to output** nastavené na **Payload**, `value` je telo požiadavky v JSON. `send()` používa prvý výstup a `$.send('output2', ...)` druhý. Prvý Response si ponecháva predvolenú cestu `response`, takže posiela objekt vnútri `response`.\n\n## Vyskúšanie\n\n```bash\ncurl -X POST -H 'Content-Type: application/json' --data '{\"product\":\"Demo product\",\"quantity\":2}' http://localhost:8000/api/orders/\n```\n\n```json\n{\"success\":true,\"product\":\"Demo product\",\"quantity\":2}\n```\n\nBez množstva odpoveď použije 1:\n\n```json\n{\"success\":true,\"product\":\"Demo product\",\"quantity\":1}\n```\n\nBez produktu je stav `400`:\n\n```bash\ncurl -X POST -H 'Content-Type: application/json' --data '{\"quantity\":2}' http://localhost:8000/api/orders/\n```\n\n```json\n{\"error\":\"The product is required.\"}\n```\n","entries":[],"license":"MIT","updated":"2026-11-19T04:41:15.510Z"}
{"id":"Jap1aw34O61f","url":"https://totaljs.es/docs/lesscode/1-0/recipes/scheduled-workflow/","project":"lesscode","version":"1-0","section":"recipes","language":"en","title":"Run a workflow on a schedule","summary":"Run work every few seconds with Timer, or at set times with Crontab.","markdown":"---\ntitle: Run a workflow on a schedule\nproject: LessCode\nversion: 1.0\nsection: recipes\nlanguage: en\nlicense: MIT\nurl: https://totaljs.es/docs/lesscode/1-0/recipes/scheduled-workflow/\nupdated: 2026-11-19T04:41:16.354Z\n---\n\n# Run a workflow on a schedule\n\n> Run work every few seconds with Timer, or at set times with Crontab.\n\n**Timer** starts a flow at a fixed interval. **Crontab** starts it at set minutes, hours or days. Both run on the server, with or without the designer open.\n\n![A Timer flow and a Crontab flow after they ran, with Print showing their data](/files/Jap1ap31O60f.webp)\n\n## Every few seconds: Timer\n\nThis service runs every 10 seconds, writes a log line and passes a status to Print.\n\n1. Drag **Timer**, **Code** and **Print** onto the canvas and connect them in that order.\n2. Double-click **Timer**. Set **Interval** to `10000` (milliseconds). To send fixed data, clear **Random data** and type the **Data**, for example `tick`. Select **APPLY**.\n3. Double-click **Code**, paste the code below and select **APPLY**.\n4. Select **APPLY** in the toolbar, then **Continue**.\n\n![The Timer settings](/files/Jap1ar32O61f.webp)\n\n```js\nconsole.log('Heartbeat received:', value);\nsend({ status: 'ok', checked: new Date().toISOString() });\n```\n\nEvery 10 seconds, Print shows the status and the time, and the log line appears in the [Console](../../guides/console/). Select **Run** on the Timer to start it at once.\n\n## At set times: Crontab\n\n1. Drag **Crontab** and **Print** onto the canvas and connect them.\n2. Double-click **Crontab**.\n3. In **Timers**, type a schedule in the empty field at the bottom and press Enter. A new Crontab has `0 9 * * *` (every day at 9:00). Remove a schedule with the bin icon next to it.\n4. Choose what it sends in **Type**, for example **Current date and time**.\n5. Select **APPLY**, then **APPLY** in the toolbar and **Continue**.\n\n![The Crontab settings with the schedule * * * * *](/files/Jap1at33O60f.webp)\n\nA schedule has five fields: minute, hour, day of month, month and day of week (0 is Sunday). `*` means every value.\n\n| Schedule | Runs |\n|---|---|\n| `* * * * *` | Every minute |\n| `0 9 * * *` | Every day at 9:00 |\n| `0 20 * * 1` | Every Monday at 20:00 |\n\n**Time zone offset** is in minutes. As the window says, the server time is in UTC, and the window shows the offset of your browser.\n\nSelect **Run** on the Crontab to start it at once.\n","entries":[],"license":"MIT","updated":"2026-11-19T04:41:16.354Z"}
{"id":"Jap1aw34O61f-de","url":"https://totaljs.es/docs/de/lesscode/1-0/recipes/scheduled-workflow/","project":"lesscode","version":"1-0","section":"recipes","language":"de","title":"Einen Workflow nach Zeitplan ausführen","summary":"Lass Arbeit mit Timer alle paar Sekunden laufen oder mit Crontab zu festen Zeiten.","markdown":"---\ntitle: \"Einen Workflow nach Zeitplan ausführen\"\nproject: Total.js LessCode\nversion: 1.0\nsection: recipes\nlanguage: de\nlicense: MIT\nurl: https://totaljs.es/docs/de/lesscode/1-0/recipes/scheduled-workflow/\nupdated: 2026-11-19T04:41:16.354Z\n---\n\n# Einen Workflow nach Zeitplan ausführen\n\n> Lass Arbeit mit Timer alle paar Sekunden laufen oder mit Crontab zu festen Zeiten.\n\n**Timer** startet einen Flow in einem festen Intervall. **Crontab** startet ihn zu festgelegten Minuten, Stunden oder Tagen. Beide laufen auf dem Server, egal ob der Designer offen ist oder nicht.\n\n![Ein Timer-Flow und ein Crontab-Flow nach dem Lauf, Print zeigt ihre Daten](/files/Jap1ap31O60f.webp)\n\n## Alle paar Sekunden: Timer\n\nDieser Dienst läuft alle 10 Sekunden, schreibt eine Protokollzeile und gibt einen Status an Print weiter.\n\n1. Ziehe **Timer**, **Code** und **Print** auf die Arbeitsfläche und verbinde sie in dieser Reihenfolge.\n2. Doppelklicke auf **Timer**. Setze **Interval** auf `10000` (Millisekunden). Um feste Daten zu schicken, entferne den Haken bei **Random data** und tippe die **Data** ein, zum Beispiel `tick`. Wähle **APPLY**.\n3. Doppelklicke auf **Code**, füge den Code unten ein und wähle **APPLY**.\n4. Wähle **APPLY** in der Werkzeugleiste und dann **Continue**.\n\n![Die Timer-Einstellungen](/files/Jap1ar32O61f.webp)\n\n```js\nconsole.log('Heartbeat received:', value);\nsend({ status: 'ok', checked: new Date().toISOString() });\n```\n\nAlle 10 Sekunden zeigt Print den Status und die Uhrzeit, und die Protokollzeile erscheint in der [Console](../../guides/console/). Wähle **Run** am Timer, um ihn sofort zu starten.\n\n## Zu festen Zeiten: Crontab\n\n1. Ziehe **Crontab** und **Print** auf die Arbeitsfläche und verbinde sie.\n2. Doppelklicke auf **Crontab**.\n3. Tippe in **Timers** einen Zeitplan in das leere Feld unten ein und drücke Enter. Ein neuer Crontab hat `0 9 * * *` (jeden Tag um 9:00). Einen Zeitplan entfernst du mit dem Papierkorb-Symbol daneben.\n4. Wähle in **Type**, was er schickt, zum Beispiel **Current date and time**.\n5. Wähle **APPLY**, dann **APPLY** in der Werkzeugleiste und **Continue**.\n\n![Die Crontab-Einstellungen mit dem Zeitplan * * * * *](/files/Jap1at33O60f.webp)\n\nEin Zeitplan hat fünf Felder: Minute, Stunde, Tag des Monats, Monat und Wochentag (0 ist Sonntag). `*` bedeutet jeder Wert.\n\n| Zeitplan | Läuft |\n|---|---|\n| `* * * * *` | Jede Minute |\n| `0 9 * * *` | Jeden Tag um 9:00 |\n| `0 20 * * 1` | Jeden Montag um 20:00 |\n\n**Time zone offset** wird in Minuten angegeben. Wie das Fenster sagt, ist die Serverzeit in UTC, und das Fenster zeigt den Versatz deines Browsers.\n\nWähle **Run** am Crontab, um ihn sofort zu starten.\n","entries":[],"license":"MIT","updated":"2026-11-19T04:41:16.354Z"}
{"id":"Jap1aw34O61f-es","url":"https://totaljs.es/docs/es/lesscode/1-0/recipes/scheduled-workflow/","project":"lesscode","version":"1-0","section":"recipes","language":"es","title":"Ejecutar un flujo de trabajo según un horario","summary":"Ejecuta un trabajo cada pocos segundos con Timer, o a horas fijas con Crontab.","markdown":"---\ntitle: \"Ejecutar un flujo de trabajo según un horario\"\nproject: Total.js LessCode\nversion: 1.0\nsection: recipes\nlanguage: es\nlicense: MIT\nurl: https://totaljs.es/docs/es/lesscode/1-0/recipes/scheduled-workflow/\nupdated: 2026-11-19T04:41:16.354Z\n---\n\n# Ejecutar un flujo de trabajo según un horario\n\n> Ejecuta un trabajo cada pocos segundos con Timer, o a horas fijas con Crontab.\n\n**Timer** pone en marcha un flujo a intervalos fijos. **Crontab** lo pone en marcha en minutos, horas o días concretos. Los dos funcionan en el servidor, con el diseñador abierto o sin él.\n\n![Un flujo con Timer y otro con Crontab después de ejecutarse, con Print mostrando sus datos](/files/Jap1ap31O60f.webp)\n\n## Cada pocos segundos: Timer\n\nEste servicio se ejecuta cada 10 segundos, escribe una línea de registro y pasa un estado a Print.\n\n1. Arrastra **Timer**, **Code** y **Print** al lienzo y conéctalos en ese orden.\n2. Haz doble clic en **Timer**. Pon **Interval** en `10000` (milisegundos). Para enviar datos fijos, desmarca **Random data** y escribe los **Data**, por ejemplo `tick`. Selecciona **APPLY**.\n3. Haz doble clic en **Code**, pega el código de abajo y selecciona **APPLY**.\n4. Selecciona **APPLY** en la barra de herramientas y después **Continue**.\n\n![Los ajustes de Timer](/files/Jap1ar32O61f.webp)\n\n```js\nconsole.log('Heartbeat received:', value);\nsend({ status: 'ok', checked: new Date().toISOString() });\n```\n\nCada 10 segundos, Print muestra el estado y la hora, y la línea de registro aparece en la [consola](../../guides/console/). Selecciona **Run** en el Timer para ponerlo en marcha al momento.\n\n## A horas fijas: Crontab\n\n1. Arrastra **Crontab** y **Print** al lienzo y conéctalos.\n2. Haz doble clic en **Crontab**.\n3. En **Timers**, escribe un horario en el campo vacío de abajo y pulsa Intro. Un Crontab nuevo tiene `0 9 * * *` (todos los días a las 9:00). Quita un horario con el icono de la papelera que tiene al lado.\n4. Elige lo que envía en **Type**, por ejemplo **Current date and time** (fecha y hora actuales).\n5. Selecciona **APPLY**, después **APPLY** en la barra de herramientas y **Continue**.\n\n![Los ajustes de Crontab con el horario * * * * *](/files/Jap1at33O60f.webp)\n\nUn horario tiene cinco campos: minuto, hora, día del mes, mes y día de la semana (0 es domingo). `*` significa cualquier valor.\n\n| Horario | Se ejecuta |\n|---|---|\n| `* * * * *` | Cada minuto |\n| `0 9 * * *` | Todos los días a las 9:00 |\n| `0 20 * * 1` | Todos los lunes a las 20:00 |\n\n**Time zone offset** (diferencia horaria) está en minutos. Como indica la ventana, la hora del servidor está en UTC, y la ventana muestra la diferencia horaria de tu navegador.\n\nSelecciona **Run** en el Crontab para ponerlo en marcha al momento.\n","entries":[],"license":"MIT","updated":"2026-11-19T04:41:16.354Z"}
{"id":"Jap1aw34O61f-fr","url":"https://totaljs.es/docs/fr/lesscode/1-0/recipes/scheduled-workflow/","project":"lesscode","version":"1-0","section":"recipes","language":"fr","title":"Exécuter un workflow selon un planning","summary":"Exécute du travail toutes les quelques secondes avec Timer, ou à des heures fixes avec Crontab.","markdown":"---\ntitle: \"Exécuter un workflow selon un planning\"\nproject: Total.js LessCode\nversion: 1.0\nsection: recipes\nlanguage: fr\nlicense: MIT\nurl: https://totaljs.es/docs/fr/lesscode/1-0/recipes/scheduled-workflow/\nupdated: 2026-11-19T04:41:16.354Z\n---\n\n# Exécuter un workflow selon un planning\n\n> Exécute du travail toutes les quelques secondes avec Timer, ou à des heures fixes avec Crontab.\n\n**Timer** démarre un flux à intervalle fixe. **Crontab** le démarre à des minutes, des heures ou des jours précis. Les deux s’exécutent sur le serveur, que le designer soit ouvert ou non.\n\n![Un flux Timer et un flux Crontab après leur exécution, avec Print qui affiche leurs données](/files/Jap1ap31O60f.webp)\n\n## Toutes les quelques secondes : Timer\n\nCe service s’exécute toutes les 10 secondes, écrit une ligne de log et transmet un statut à Print.\n\n1. Fais glisser **Timer**, **Code** et **Print** sur le canevas et connecte-les dans cet ordre.\n2. Double-clique sur **Timer**. Mets **Interval** à `10000` (millisecondes). Pour envoyer des données fixes, décoche **Random data** et écris les **Data**, par exemple `tick`. Sélectionne **APPLY**.\n3. Double-clique sur **Code**, colle le code ci-dessous et sélectionne **APPLY**.\n4. Sélectionne **APPLY** dans la barre d’outils, puis **Continue**.\n\n![Les réglages de Timer](/files/Jap1ar32O61f.webp)\n\n```js\nconsole.log('Heartbeat received:', value);\nsend({ status: 'ok', checked: new Date().toISOString() });\n```\n\nToutes les 10 secondes, Print affiche le statut et l’heure, et la ligne de log apparaît dans la [Console](../../guides/console/). Sélectionne **Run** sur le Timer pour le démarrer tout de suite.\n\n## À des heures fixes : Crontab\n\n1. Fais glisser **Crontab** et **Print** sur le canevas et connecte-les.\n2. Double-clique sur **Crontab**.\n3. Dans **Timers**, écris un planning dans le champ vide du bas et appuie sur Entrée. Un nouveau Crontab a `0 9 * * *` (tous les jours à 9:00). Supprime un planning avec l’icône de la corbeille à côté.\n4. Choisis ce qu’il envoie dans **Type**, par exemple **Current date and time**.\n5. Sélectionne **APPLY**, puis **APPLY** dans la barre d’outils et **Continue**.\n\n![Les réglages de Crontab avec le planning * * * * *](/files/Jap1at33O60f.webp)\n\nUn planning a cinq champs : minute, heure, jour du mois, mois et jour de la semaine (0 est dimanche). `*` signifie toutes les valeurs.\n\n| Planning | S’exécute |\n|---|---|\n| `* * * * *` | Toutes les minutes |\n| `0 9 * * *` | Tous les jours à 9:00 |\n| `0 20 * * 1` | Tous les lundis à 20:00 |\n\n**Time zone offset** (décalage horaire) est en minutes. Comme l’indique la fenêtre, l’heure du serveur est en UTC, et la fenêtre affiche le décalage de ton navigateur.\n\nSélectionne **Run** sur le Crontab pour le démarrer tout de suite.\n","entries":[],"license":"MIT","updated":"2026-11-19T04:41:16.354Z"}
{"id":"Jap1aw34O61f-it","url":"https://totaljs.es/docs/it/lesscode/1-0/recipes/scheduled-workflow/","project":"lesscode","version":"1-0","section":"recipes","language":"it","title":"Eseguire un workflow a orari programmati","summary":"Esegui un lavoro ogni pochi secondi con Timer, o a orari stabiliti con Crontab.","markdown":"---\ntitle: Eseguire un workflow a orari programmati\nproject: Total.js LessCode\nversion: 1.0\nsection: recipes\nlanguage: it\nlicense: MIT\nurl: https://totaljs.es/docs/it/lesscode/1-0/recipes/scheduled-workflow/\nupdated: 2026-11-19T04:41:16.354Z\n---\n\n# Eseguire un workflow a orari programmati\n\n> Esegui un lavoro ogni pochi secondi con Timer, o a orari stabiliti con Crontab.\n\n**Timer** avvia un flusso a intervalli fissi. **Crontab** lo avvia a minuti, ore o giorni stabiliti. Entrambi funzionano sul server, con o senza il designer aperto.\n\n![Un flusso con Timer e uno con Crontab dopo l'esecuzione, con Print che mostra i loro dati](/files/Jap1ap31O60f.webp)\n\n## Ogni pochi secondi: Timer\n\nQuesto servizio viene eseguito ogni 10 secondi, scrive una riga di log e passa uno stato a Print.\n\n1. Trascina **Timer**, **Code** e **Print** sul canvas e collegali in quest'ordine.\n2. Fai doppio clic su **Timer**. Imposta **Interval** su `10000` (millisecondi). Per inviare dati fissi, togli la spunta da **Random data** e scrivi i **Data**, per esempio `tick`. Seleziona **APPLY**.\n3. Fai doppio clic su **Code**, incolla il codice qui sotto e seleziona **APPLY**.\n4. Seleziona **APPLY** nella barra degli strumenti, poi **Continue**.\n\n![Le impostazioni di Timer](/files/Jap1ar32O61f.webp)\n\n```js\nconsole.log('Heartbeat received:', value);\nsend({ status: 'ok', checked: new Date().toISOString() });\n```\n\nOgni 10 secondi, Print mostra lo stato e l'ora, e la riga di log compare nella [Console](../../guides/console/). Seleziona **Run** sul Timer per avviarlo subito.\n\n## A orari stabiliti: Crontab\n\n1. Trascina **Crontab** e **Print** sul canvas e collegali.\n2. Fai doppio clic su **Crontab**.\n3. In **Timers**, scrivi una pianificazione nel campo vuoto in fondo e premi Invio. Un nuovo Crontab ha `0 9 * * *` (ogni giorno alle 9:00). Rimuovi una pianificazione con l'icona del cestino accanto.\n4. Scegli cosa invia in **Type**, per esempio **Current date and time**.\n5. Seleziona **APPLY**, poi **APPLY** nella barra degli strumenti e **Continue**.\n\n![Le impostazioni di Crontab con la pianificazione * * * * *](/files/Jap1at33O60f.webp)\n\nUna pianificazione ha cinque campi: minuto, ora, giorno del mese, mese e giorno della settimana (0 è domenica). `*` significa qualsiasi valore.\n\n| Pianificazione | Si esegue |\n|---|---|\n| `* * * * *` | Ogni minuto |\n| `0 9 * * *` | Ogni giorno alle 9:00 |\n| `0 20 * * 1` | Ogni lunedì alle 20:00 |\n\n**Time zone offset** è in minuti. Come indica la finestra, l'ora del server è in UTC, e la finestra mostra lo scostamento del tuo browser.\n\nSeleziona **Run** sul Crontab per avviarlo subito.\n","entries":[],"license":"MIT","updated":"2026-11-19T04:41:16.354Z"}
{"id":"Jap1aw34O61f-sk","url":"https://totaljs.es/docs/sk/lesscode/1-0/recipes/scheduled-workflow/","project":"lesscode","version":"1-0","section":"recipes","language":"sk","title":"Spúšťaj pracovný postup podľa plánu","summary":"Spúšťaj prácu každých pár sekúnd cez Timer alebo v stanovených časoch cez Crontab.","markdown":"---\ntitle: \"Spúšťaj pracovný postup podľa plánu\"\nproject: Total.js LessCode\nversion: 1.0\nsection: recipes\nlanguage: sk\nlicense: MIT\nurl: https://totaljs.es/docs/sk/lesscode/1-0/recipes/scheduled-workflow/\nupdated: 2026-11-19T04:41:16.354Z\n---\n\n# Spúšťaj pracovný postup podľa plánu\n\n> Spúšťaj prácu každých pár sekúnd cez Timer alebo v stanovených časoch cez Crontab.\n\n**Timer** spúšťa tok v pevnom intervale. **Crontab** ho spúšťa v stanovených minútach, hodinách alebo dňoch. Oba bežia na serveri, či je návrhár otvorený, alebo nie.\n\n![Tok s Timer a tok s Crontab po spustení, Print ukazuje ich dáta](/files/Jap1ap31O60f.webp)\n\n## Každých pár sekúnd: Timer\n\nTáto služba beží každých 10 sekúnd, zapíše riadok záznamu a odovzdá stav uzlu Print.\n\n1. Pretiahni na plátno **Timer**, **Code** a **Print** a prepoj ich v tomto poradí.\n2. Dvakrát klikni na **Timer**. Nastav **Interval** na `10000` (milisekundy). Ak chceš posielať pevné dáta, zruš **Random data** a napíš **Data**, napríklad `tick`. Vyber **APPLY**.\n3. Dvakrát klikni na **Code**, vlož kód nižšie a vyber **APPLY**.\n4. Na paneli nástrojov vyber **APPLY** a potom **Continue**.\n\n![Nastavenia uzla Timer](/files/Jap1ar32O61f.webp)\n\n```js\nconsole.log('Heartbeat received:', value);\nsend({ status: 'ok', checked: new Date().toISOString() });\n```\n\nKaždých 10 sekúnd Print ukáže stav a čas a riadok záznamu sa objaví v [konzole](../../guides/console/). Ak chceš Timer spustiť hneď, vyber na ňom **Run**.\n\n## V stanovených časoch: Crontab\n\n1. Pretiahni na plátno **Crontab** a **Print** a prepoj ich.\n2. Dvakrát klikni na **Crontab**.\n3. V časti **Timers** napíš plán do prázdneho poľa dole a stlač Enter. Nový Crontab má `0 9 * * *` (každý deň o 9:00). Plán odstrániš ikonou koša vedľa neho.\n4. V poli **Type** vyber, čo má posielať, napríklad **Current date and time**.\n5. Vyber **APPLY**, potom **APPLY** na paneli nástrojov a **Continue**.\n\n![Nastavenia uzla Crontab s plánom * * * * *](/files/Jap1at33O60f.webp)\n\nPlán má päť polí: minúta, hodina, deň v mesiaci, mesiac a deň v týždni (0 je nedeľa). `*` znamená každú hodnotu.\n\n| Plán | Spúšťa sa |\n|---|---|\n| `* * * * *` | Každú minútu |\n| `0 9 * * *` | Každý deň o 9:00 |\n| `0 20 * * 1` | Každý pondelok o 20:00 |\n\n**Time zone offset** (posun časového pásma) je v minútach. Ako uvádza okno, čas servera je v UTC a okno ukazuje posun tvojho prehliadača.\n\nAk chceš Crontab spustiť hneď, vyber na ňom **Run**.\n","entries":[],"license":"MIT","updated":"2026-11-19T04:41:16.354Z"}
{"id":"Jap1aZ2sO61f","url":"https://totaljs.es/docs/lesscode/1-0/recipes/call-http-api/","project":"lesscode","version":"1-0","section":"recipes","language":"en","title":"Call an HTTP API","summary":"Turn an HTTP address into a reusable node with Link endpoint and send data to it.","markdown":"---\ntitle: Call an HTTP API\nproject: LessCode\nversion: 1.0\nsection: recipes\nlanguage: en\nlicense: MIT\nurl: https://totaljs.es/docs/lesscode/1-0/recipes/call-http-api/\nupdated: 2026-11-19T04:41:14.223Z\n---\n\n# Call an HTTP API\n\n> Turn an HTTP address into a reusable node with Link endpoint and send data to it.\n\n**Link endpoint** creates a component that calls one HTTP address. The component has two outputs: **Output** for a successful answer and **Error** for an answer with an error status, such as `400`.\n\nThis example calls the endpoint from [Create a POST endpoint](../post-endpoint/).\n\n## Create the component\n\n1. Select **Add** (plus) in the toolbar, then **Link endpoint**.\n2. Set **Name** to `Orders API`, **Group name** to `My APIs`, **HTTP method** to `POST`, **Data serialization** to `JSON` and **URL address** to `http://localhost:8000/api/orders/`.\n3. Select **CREATE**.\n\n![The Link endpoint form](/files/Jap1aV2qO61f.webp)\n\nThe component appears in the list on the left under **My APIs**. You can use it as many times as you like.\n\n| Field | What to enter |\n|---|---|\n| **Name** | The name of the component. Required. |\n| **Group name** | The heading it appears under in the list. |\n| **Icon** | The icon of the component. |\n| **HTTP method** | `POST`, `GET`, `PUT`, `PATCH` or `DELETE`. |\n| **Data serialization** | **JSON** or **URL encode**, for the body of the request. |\n| **URL address** | The address to call. Required. |\n| **Custom headers** | A header name and value. Press Enter to confirm each one. |\n| **Compress data via GZIP** | Compresses the data you send. |\n| **Read me** | A description, shown by **Read information**. |\n\n## Use it\n\n1. Drag **Trigger**, **Orders API** and two **Print** nodes onto the canvas.\n2. Connect Trigger to the input of Orders API, **Output** to the first Print and **Error** to the second Print.\n3. Double-click **Trigger**, choose **Object**, clear **Random data**, set **Data** to `{ product: 'Demo product', quantity: 3 }` and select **APPLY**.\n4. Select **APPLY** in the toolbar, then **Continue**.\n5. Select **Run** on the Trigger.\n\nThe first Print shows the answer of the API:\n\n```json\n{\"success\":true,\"product\":\"Demo product\",\"quantity\":3}\n```\n\n![The Trigger, Orders API and Print nodes after Run](/files/Jap1aY2rO60f.webp)\n\nWhen the API answers with an error, the answer goes to the **Error** output. With `{ quantity: 1 }` as Trigger data, the second Print shows:\n\n```json\n{\"error\":\"The product is required.\"}\n```\n","entries":[],"license":"MIT","updated":"2026-11-19T04:41:14.223Z"}
{"id":"Jap1aZ2sO61f-de","url":"https://totaljs.es/docs/de/lesscode/1-0/recipes/call-http-api/","project":"lesscode","version":"1-0","section":"recipes","language":"de","title":"Eine HTTP-API aufrufen","summary":"Mach mit Link endpoint aus einer HTTP-Adresse einen wiederverwendbaren Node und schicke Daten an ihn.","markdown":"---\ntitle: Eine HTTP-API aufrufen\nproject: Total.js LessCode\nversion: 1.0\nsection: recipes\nlanguage: de\nlicense: MIT\nurl: https://totaljs.es/docs/de/lesscode/1-0/recipes/call-http-api/\nupdated: 2026-11-19T04:41:14.223Z\n---\n\n# Eine HTTP-API aufrufen\n\n> Mach mit Link endpoint aus einer HTTP-Adresse einen wiederverwendbaren Node und schicke Daten an ihn.\n\n**Link endpoint** erstellt eine Komponente, die eine HTTP-Adresse aufruft. Die Komponente hat zwei Ausgänge: **Output** für eine erfolgreiche Antwort und **Error** für eine Antwort mit Fehlerstatus, etwa `400`.\n\nDieses Beispiel ruft den Endpunkt aus [Einen POST-Endpunkt erstellen](../post-endpoint/) auf.\n\n## Die Komponente erstellen\n\n1. Wähle **Add** (Hinzufügen, das Plus-Symbol) in der Werkzeugleiste und dann **Link endpoint**.\n2. Setze **Name** auf `Orders API`, **Group name** auf `My APIs`, **HTTP method** auf `POST`, **Data serialization** auf `JSON` und **URL address** auf `http://localhost:8000/api/orders/`.\n3. Wähle **CREATE**.\n\n![Das Formular Link endpoint](/files/Jap1aV2qO61f.webp)\n\nDie Komponente erscheint in der Liste links unter **My APIs**. Du kannst sie so oft verwenden, wie du willst.\n\n| Feld | Was du einträgst |\n|---|---|\n| **Name** | Der Name der Komponente. Pflichtfeld. |\n| **Group name** | Die Überschrift, unter der sie in der Liste erscheint. |\n| **Icon** | Das Symbol der Komponente. |\n| **HTTP method** | `POST`, `GET`, `PUT`, `PATCH` oder `DELETE`. |\n| **Data serialization** | **JSON** oder **URL encode**, für den Body der Anfrage. |\n| **URL address** | Die Adresse, die aufgerufen wird. Pflichtfeld. |\n| **Custom headers** | Name und Wert eines Headers. Bestätige jeden mit Enter. |\n| **Compress data via GZIP** | Komprimiert die Daten, die du schickst. |\n| **Read me** | Eine Beschreibung, die **Read information** anzeigt. |\n\n## Die Komponente verwenden\n\n1. Ziehe **Trigger**, **Orders API** und zwei **Print**-Nodes auf die Arbeitsfläche.\n2. Verbinde Trigger mit dem Eingang von Orders API, **Output** mit dem ersten Print und **Error** mit dem zweiten Print.\n3. Doppelklicke auf **Trigger**, wähle **Object**, entferne den Haken bei **Random data**, setze **Data** auf `{ product: 'Demo product', quantity: 3 }` und wähle **APPLY**.\n4. Wähle **APPLY** in der Werkzeugleiste und dann **Continue**.\n5. Wähle **Run** am Trigger.\n\nDer erste Print zeigt die Antwort der API:\n\n```json\n{\"success\":true,\"product\":\"Demo product\",\"quantity\":3}\n```\n\n![Die Nodes Trigger, Orders API und Print nach Run](/files/Jap1aY2rO60f.webp)\n\nAntwortet die API mit einem Fehler, geht die Antwort an den Ausgang **Error**. Mit `{ quantity: 1 }` als Trigger-Daten zeigt der zweite Print:\n\n```json\n{\"error\":\"The product is required.\"}\n```\n","entries":[],"license":"MIT","updated":"2026-11-19T04:41:14.223Z"}
{"id":"Jap1aZ2sO61f-es","url":"https://totaljs.es/docs/es/lesscode/1-0/recipes/call-http-api/","project":"lesscode","version":"1-0","section":"recipes","language":"es","title":"Llamar a una API HTTP","summary":"Convierte una dirección HTTP en un nodo reutilizable con Link endpoint y envíale datos.","markdown":"---\ntitle: Llamar a una API HTTP\nproject: Total.js LessCode\nversion: 1.0\nsection: recipes\nlanguage: es\nlicense: MIT\nurl: https://totaljs.es/docs/es/lesscode/1-0/recipes/call-http-api/\nupdated: 2026-11-19T04:41:14.223Z\n---\n\n# Llamar a una API HTTP\n\n> Convierte una dirección HTTP en un nodo reutilizable con Link endpoint y envíale datos.\n\n**Link endpoint** crea un componente que llama a una dirección HTTP. El componente tiene dos salidas: **Output** para una respuesta correcta y **Error** para una respuesta con un estado de error, como `400`.\n\nEste ejemplo llama al endpoint de [Crear un endpoint POST con validación](../post-endpoint/).\n\n## Crea el componente\n\n1. Selecciona **Add** (añadir, el signo más) en la barra de herramientas y después **Link endpoint**.\n2. Pon **Name** en `Orders API`, **Group name** en `My APIs`, **HTTP method** en `POST`, **Data serialization** en `JSON` y **URL address** en `http://localhost:8000/api/orders/`.\n3. Selecciona **CREATE**.\n\n![El formulario Link endpoint](/files/Jap1aV2qO61f.webp)\n\nEl componente aparece en la lista de la izquierda, dentro de **My APIs**. Puedes usarlo tantas veces como quieras.\n\n| Campo | Qué escribir |\n|---|---|\n| **Name** | El nombre del componente. Obligatorio. |\n| **Group name** | El encabezado bajo el que aparece en la lista. |\n| **Icon** | El icono del componente. |\n| **HTTP method** | `POST`, `GET`, `PUT`, `PATCH` o `DELETE`. |\n| **Data serialization** | **JSON** o **URL encode**, para el cuerpo de la petición. |\n| **URL address** | La dirección a la que llamar. Obligatorio. |\n| **Custom headers** | El nombre y el valor de una cabecera. Pulsa Intro para confirmar cada una. |\n| **Compress data via GZIP** | Comprime los datos que envías. |\n| **Read me** | Una descripción, que muestra **Read information**. |\n\n## Úsalo\n\n1. Arrastra **Trigger**, **Orders API** y dos nodos **Print** al lienzo.\n2. Conecta Trigger a la entrada de Orders API, **Output** al primer Print y **Error** al segundo Print.\n3. Haz doble clic en **Trigger**, elige **Object**, desmarca **Random data**, pon **Data** en `{ product: 'Demo product', quantity: 3 }` y selecciona **APPLY**.\n4. Selecciona **APPLY** en la barra de herramientas y después **Continue**.\n5. Selecciona **Run** en el Trigger.\n\nEl primer Print muestra la respuesta de la API:\n\n```json\n{\"success\":true,\"product\":\"Demo product\",\"quantity\":3}\n```\n\n![Los nodos Trigger, Orders API y Print después de Run](/files/Jap1aY2rO60f.webp)\n\nCuando la API responde con un error, la respuesta va a la salida **Error**. Con `{ quantity: 1 }` como datos del Trigger, el segundo Print muestra:\n\n```json\n{\"error\":\"The product is required.\"}\n```\n","entries":[],"license":"MIT","updated":"2026-11-19T04:41:14.223Z"}
{"id":"Jap1aZ2sO61f-fr","url":"https://totaljs.es/docs/fr/lesscode/1-0/recipes/call-http-api/","project":"lesscode","version":"1-0","section":"recipes","language":"fr","title":"Appeler une API HTTP","summary":"Transforme une adresse HTTP en nœud réutilisable avec Link endpoint et envoie-lui des données.","markdown":"---\ntitle: Appeler une API HTTP\nproject: Total.js LessCode\nversion: 1.0\nsection: recipes\nlanguage: fr\nlicense: MIT\nurl: https://totaljs.es/docs/fr/lesscode/1-0/recipes/call-http-api/\nupdated: 2026-11-19T04:41:14.223Z\n---\n\n# Appeler une API HTTP\n\n> Transforme une adresse HTTP en nœud réutilisable avec Link endpoint et envoie-lui des données.\n\n**Link endpoint** crée un composant qui appelle une adresse HTTP. Le composant a deux sorties : **Output** pour une réponse réussie et **Error** pour une réponse avec un statut d’erreur, comme `400`.\n\nCet exemple appelle l’endpoint de [Créer un endpoint POST](../post-endpoint/).\n\n## Créer le composant\n\n1. Sélectionne **Add** (plus) dans la barre d’outils, puis **Link endpoint**.\n2. Mets **Name** à `Orders API`, **Group name** à `My APIs`, **HTTP method** à `POST`, **Data serialization** à `JSON` et **URL address** à `http://localhost:8000/api/orders/`.\n3. Sélectionne **CREATE**.\n\n![Le formulaire Link endpoint](/files/Jap1aV2qO61f.webp)\n\nLe composant apparaît dans la liste de gauche sous **My APIs**. Tu peux l’utiliser autant de fois que tu veux.\n\n| Champ | Ce qu’il faut saisir |\n|---|---|\n| **Name** | Le nom du composant. Obligatoire. |\n| **Group name** | Le titre sous lequel il apparaît dans la liste. |\n| **Icon** | L’icône du composant. |\n| **HTTP method** | `POST`, `GET`, `PUT`, `PATCH` ou `DELETE`. |\n| **Data serialization** | **JSON** ou **URL encode**, pour le corps de la requête. |\n| **URL address** | L’adresse à appeler. Obligatoire. |\n| **Custom headers** | Un nom d’en-tête et sa valeur. Appuie sur Entrée pour confirmer chacun. |\n| **Compress data via GZIP** | Compresse les données que tu envoies. |\n| **Read me** | Une description, affichée par **Read information**. |\n\n## L’utiliser\n\n1. Fais glisser **Trigger**, **Orders API** et deux nœuds **Print** sur le canevas.\n2. Connecte Trigger à l’entrée de Orders API, **Output** au premier Print et **Error** au second Print.\n3. Double-clique sur **Trigger**, choisis **Object**, décoche **Random data**, mets **Data** à `{ product: 'Demo product', quantity: 3 }` et sélectionne **APPLY**.\n4. Sélectionne **APPLY** dans la barre d’outils, puis **Continue**.\n5. Sélectionne **Run** sur le Trigger.\n\nLe premier Print affiche la réponse de l’API :\n\n```json\n{\"success\":true,\"product\":\"Demo product\",\"quantity\":3}\n```\n\n![Les nœuds Trigger, Orders API et Print après Run](/files/Jap1aY2rO60f.webp)\n\nQuand l’API répond avec une erreur, la réponse part vers la sortie **Error**. Avec `{ quantity: 1 }` comme données du Trigger, le second Print affiche :\n\n```json\n{\"error\":\"The product is required.\"}\n```\n","entries":[],"license":"MIT","updated":"2026-11-19T04:41:14.223Z"}
{"id":"Jap1aZ2sO61f-it","url":"https://totaljs.es/docs/it/lesscode/1-0/recipes/call-http-api/","project":"lesscode","version":"1-0","section":"recipes","language":"it","title":"Chiamare un'API HTTP","summary":"Trasforma un indirizzo HTTP in un nodo riutilizzabile con Link endpoint e inviagli dei dati.","markdown":"---\ntitle: \"Chiamare un'API HTTP\"\nproject: Total.js LessCode\nversion: 1.0\nsection: recipes\nlanguage: it\nlicense: MIT\nurl: https://totaljs.es/docs/it/lesscode/1-0/recipes/call-http-api/\nupdated: 2026-11-19T04:41:14.223Z\n---\n\n# Chiamare un'API HTTP\n\n> Trasforma un indirizzo HTTP in un nodo riutilizzabile con Link endpoint e inviagli dei dati.\n\n**Link endpoint** crea un componente che chiama un indirizzo HTTP. Il componente ha due uscite: **Output** per una risposta andata a buon fine ed **Error** per una risposta con uno stato di errore, come `400`.\n\nQuesto esempio chiama l'endpoint di [Creare un endpoint POST](../post-endpoint/).\n\n## Creare il componente\n\n1. Seleziona **Add** (più) nella barra degli strumenti, poi **Link endpoint**.\n2. Imposta **Name** su `Orders API`, **Group name** su `My APIs`, **HTTP method** su `POST`, **Data serialization** su `JSON` e **URL address** su `http://localhost:8000/api/orders/`.\n3. Seleziona **CREATE**.\n\n![Il modulo Link endpoint](/files/Jap1aV2qO61f.webp)\n\nIl componente compare nell'elenco a sinistra sotto **My APIs**. Puoi usarlo tutte le volte che vuoi.\n\n| Campo | Cosa inserire |\n|---|---|\n| **Name** | Il nome del componente. Obbligatorio. |\n| **Group name** | L'intestazione sotto cui compare nell'elenco. |\n| **Icon** | L'icona del componente. |\n| **HTTP method** | `POST`, `GET`, `PUT`, `PATCH` o `DELETE`. |\n| **Data serialization** | **JSON** o **URL encode**, per il corpo della richiesta. |\n| **URL address** | L'indirizzo da chiamare. Obbligatorio. |\n| **Custom headers** | Il nome e il valore di un header. Premi Invio per confermare ciascuno. |\n| **Compress data via GZIP** | Comprime i dati che invii. |\n| **Read me** | Una descrizione, mostrata da **Read information**. |\n\n## Usarlo\n\n1. Trascina **Trigger**, **Orders API** e due nodi **Print** sul canvas.\n2. Collega Trigger all'ingresso di Orders API, **Output** al primo Print ed **Error** al secondo Print.\n3. Fai doppio clic su **Trigger**, scegli **Object**, togli la spunta da **Random data**, imposta **Data** su `{ product: 'Demo product', quantity: 3 }` e seleziona **APPLY**.\n4. Seleziona **APPLY** nella barra degli strumenti, poi **Continue**.\n5. Seleziona **Run** sul Trigger.\n\nIl primo Print mostra la risposta dell'API:\n\n```json\n{\"success\":true,\"product\":\"Demo product\",\"quantity\":3}\n```\n\n![I nodi Trigger, Orders API e Print dopo Run](/files/Jap1aY2rO60f.webp)\n\nQuando l'API risponde con un errore, la risposta va all'uscita **Error**. Con `{ quantity: 1 }` come dati del Trigger, il secondo Print mostra:\n\n```json\n{\"error\":\"The product is required.\"}\n```\n","entries":[],"license":"MIT","updated":"2026-11-19T04:41:14.223Z"}
{"id":"Jap1aZ2sO61f-sk","url":"https://totaljs.es/docs/sk/lesscode/1-0/recipes/call-http-api/","project":"lesscode","version":"1-0","section":"recipes","language":"sk","title":"Zavolaj HTTP API","summary":"Zmeň HTTP adresu na opakovane použiteľný uzol cez Link endpoint a posielaj do nej dáta.","markdown":"---\ntitle: Zavolaj HTTP API\nproject: Total.js LessCode\nversion: 1.0\nsection: recipes\nlanguage: sk\nlicense: MIT\nurl: https://totaljs.es/docs/sk/lesscode/1-0/recipes/call-http-api/\nupdated: 2026-11-19T04:41:14.223Z\n---\n\n# Zavolaj HTTP API\n\n> Zmeň HTTP adresu na opakovane použiteľný uzol cez Link endpoint a posielaj do nej dáta.\n\n**Link endpoint** vytvorí komponent, ktorý volá jednu HTTP adresu. Komponent má dva výstupy: **Output** pre úspešnú odpoveď a **Error** pre odpoveď s chybovým stavom, napríklad `400`.\n\nTento príklad volá endpoint z článku [Vytvor POST endpoint](../post-endpoint/).\n\n## Vytvorenie komponentu\n\n1. Na paneli nástrojov vyber **Add** (plus) a potom **Link endpoint**.\n2. Nastav **Name** na `Orders API`, **Group name** na `My APIs`, **HTTP method** na `POST`, **Data serialization** na `JSON` a **URL address** na `http://localhost:8000/api/orders/`.\n3. Vyber **CREATE** (vytvoriť).\n\n![Formulár Link endpoint](/files/Jap1aV2qO61f.webp)\n\nKomponent sa objaví v zozname vľavo pod **My APIs**. Môžeš ho použiť toľkokrát, koľko chceš.\n\n| Pole | Čo zadať |\n|---|---|\n| **Name** | Názov komponentu. Povinné. |\n| **Group name** | Nadpis, pod ktorým sa zobrazí v zozname. |\n| **Icon** | Ikona komponentu. |\n| **HTTP method** | `POST`, `GET`, `PUT`, `PATCH` alebo `DELETE`. |\n| **Data serialization** | **JSON** alebo **URL encode** pre telo požiadavky. |\n| **URL address** | Adresa, ktorú volať. Povinné. |\n| **Custom headers** | Názov a hodnota hlavičky. Každú potvrď klávesom Enter. |\n| **Compress data via GZIP** | Skomprimuje dáta, ktoré posielaš. |\n| **Read me** | Popis, ktorý zobrazí **Read information**. |\n\n## Použitie\n\n1. Pretiahni na plátno **Trigger**, **Orders API** a dva uzly **Print**.\n2. Prepoj Trigger so vstupom Orders API, **Output** s prvým Print a **Error** s druhým Print.\n3. Dvakrát klikni na **Trigger**, vyber **Object**, zruš **Random data**, nastav **Data** na `{ product: 'Demo product', quantity: 3 }` a vyber **APPLY**.\n4. Na paneli nástrojov vyber **APPLY** a potom **Continue**.\n5. Na uzle Trigger vyber **Run**.\n\nPrvý Print ukáže odpoveď API:\n\n```json\n{\"success\":true,\"product\":\"Demo product\",\"quantity\":3}\n```\n\n![Uzly Trigger, Orders API a Print po výbere Run](/files/Jap1aY2rO60f.webp)\n\nKeď API odpovie chybou, odpoveď ide na výstup **Error**. S dátami `{ quantity: 1 }` v uzle Trigger druhý Print ukáže:\n\n```json\n{\"error\":\"The product is required.\"}\n```\n","entries":[],"license":"MIT","updated":"2026-11-19T04:41:14.223Z"}
{"id":"Jap1ZC1sO61f","url":"https://totaljs.es/docs/lesscode/1-0/faq/designer/","project":"lesscode","version":"1-0","section":"faq","language":"en","title":"The designer","summary":"Answers to common questions about the designer.","markdown":"---\ntitle: The designer\nproject: LessCode\nversion: 1.0\nsection: faq\nlanguage: en\nlicense: MIT\nurl: https://totaljs.es/docs/lesscode/1-0/faq/designer/\nupdated: 2026-11-19T04:41:04.689Z\n---\n\n# The designer\n\n> Answers to common questions about the designer.\n\n## Why does the designer show only a spinner?\n\nLessCode has no flow to show. This happens with the Docker image when the volume has no `lesscode.flow` file. Copy the default file into the container and restart it. See [Install with Docker](../../guides/install-docker/).\n\n## Why is the component list so short?\n\nA new flow has only **Print**, **Console debug** and **Trigger**. Add more with **Add > Download components**. See [Download components](../../guides/download-components/).\n\n## Where is the sign-in page?\n\nThere is none. Protect the designer with the steps in [Run in production](../../guides/production/).\n\n## My changes disappeared after a restart. Why?\n\n- LessCode saves about five seconds after a change. Stopping it sooner loses the last change.\n- After an Apply that removed nodes, new nodes are not saved until you restart LessCode. See [Remove nodes](../../guides/remove-nodes/).\n- With Docker, the volume must be on `/www/.src/flowstreams`. See [Install with Docker](../../guides/install-docker/).\n\n## How do I delete a node?\n\nRight-click it, select **Remove**, then select **APPLY** and **Continue**. See [Remove nodes](../../guides/remove-nodes/).\n","entries":[],"license":"MIT","updated":"2026-11-19T04:41:04.689Z"}
{"id":"Jap1ZC1sO61f-de","url":"https://totaljs.es/docs/de/lesscode/1-0/faq/designer/","project":"lesscode","version":"1-0","section":"faq","language":"de","title":"Der Designer","summary":"Antworten auf häufige Fragen zum Designer.","markdown":"---\ntitle: Der Designer\nproject: Total.js LessCode\nversion: 1.0\nsection: faq\nlanguage: de\nlicense: MIT\nurl: https://totaljs.es/docs/de/lesscode/1-0/faq/designer/\nupdated: 2026-11-19T04:41:04.689Z\n---\n\n# Der Designer\n\n> Antworten auf häufige Fragen zum Designer.\n\n## Warum zeigt der Designer nur einen Ladekreis?\n\nLessCode hat keinen Flow, den es anzeigen kann. Das passiert mit dem Docker-Image, wenn im Volume keine Datei `lesscode.flow` liegt. Kopiere die Standarddatei in den Container und starte ihn neu. Mehr dazu unter [Mit Docker installieren](../../guides/install-docker/).\n\n## Warum ist die Komponentenliste so kurz?\n\nEin neuer Flow hat nur **Print**, **Console debug** und **Trigger**. Weitere fügst du über **Add > Download components** hinzu. Mehr dazu unter [Komponenten herunterladen](../../guides/download-components/).\n\n## Wo ist die Anmeldeseite?\n\nEs gibt keine. Schütze den Designer mit den Schritten unter [Im Produktivbetrieb ausführen](../../guides/production/).\n\n## Meine Änderungen sind nach einem Neustart verschwunden. Warum?\n\n- LessCode speichert etwa fünf Sekunden nach einer Änderung. Stoppst du es früher, geht die letzte Änderung verloren.\n- Nach einem Apply, das Nodes entfernt hat, werden neue Nodes erst gespeichert, wenn du LessCode neu startest. Mehr dazu unter [Nodes entfernen](../../guides/remove-nodes/).\n- Mit Docker muss das Volume auf `/www/.src/flowstreams` liegen. Mehr dazu unter [Mit Docker installieren](../../guides/install-docker/).\n\n## Wie lösche ich einen Node?\n\nKlicke mit der rechten Maustaste darauf, wähle **Remove** und dann **APPLY** und **Continue**. Mehr dazu unter [Nodes entfernen](../../guides/remove-nodes/).\n","entries":[],"license":"MIT","updated":"2026-11-19T04:41:04.689Z"}
{"id":"Jap1ZC1sO61f-es","url":"https://totaljs.es/docs/es/lesscode/1-0/faq/designer/","project":"lesscode","version":"1-0","section":"faq","language":"es","title":"El diseñador","summary":"Respuestas a las preguntas habituales sobre el diseñador.","markdown":"---\ntitle: \"El diseñador\"\nproject: Total.js LessCode\nversion: 1.0\nsection: faq\nlanguage: es\nlicense: MIT\nurl: https://totaljs.es/docs/es/lesscode/1-0/faq/designer/\nupdated: 2026-11-19T04:41:04.689Z\n---\n\n# El diseñador\n\n> Respuestas a las preguntas habituales sobre el diseñador.\n\n## ¿Por qué el diseñador solo muestra un indicador de carga?\n\nLessCode no tiene ningún flujo que mostrar. Esto pasa con la imagen de Docker cuando el volumen no tiene el archivo `lesscode.flow`. Copia el archivo predeterminado en el contenedor y reinícialo. Consulta [Instalar con Docker](../../guides/install-docker/).\n\n## ¿Por qué la lista de componentes es tan corta?\n\nUn flujo nuevo solo tiene **Print**, **Console debug** y **Trigger**. Añade más con **Add > Download components**. Consulta [Descargar componentes](../../guides/download-components/).\n\n## ¿Dónde está la página de inicio de sesión?\n\nNo hay ninguna. Protege el diseñador con los pasos de [Ejecutar en producción](../../guides/production/).\n\n## Mis cambios han desaparecido tras reiniciar. ¿Por qué?\n\n- LessCode guarda unos cinco segundos después de un cambio. Si lo detienes antes, pierdes el último cambio.\n- Después de un Apply que ha eliminado nodos, los nodos nuevos no se guardan hasta que reinicias LessCode. Consulta [Eliminar nodos](../../guides/remove-nodes/).\n- Con Docker, el volumen tiene que estar en `/www/.src/flowstreams`. Consulta [Instalar con Docker](../../guides/install-docker/).\n\n## ¿Cómo borro un nodo?\n\nHaz clic derecho en él, selecciona **Remove** y después selecciona **APPLY** y **Continue**. Consulta [Eliminar nodos](../../guides/remove-nodes/).\n","entries":[],"license":"MIT","updated":"2026-11-19T04:41:04.689Z"}
{"id":"Jap1ZC1sO61f-fr","url":"https://totaljs.es/docs/fr/lesscode/1-0/faq/designer/","project":"lesscode","version":"1-0","section":"faq","language":"fr","title":"Le designer","summary":"Réponses aux questions fréquentes sur le designer.","markdown":"---\ntitle: Le designer\nproject: Total.js LessCode\nversion: 1.0\nsection: faq\nlanguage: fr\nlicense: MIT\nurl: https://totaljs.es/docs/fr/lesscode/1-0/faq/designer/\nupdated: 2026-11-19T04:41:04.689Z\n---\n\n# Le designer\n\n> Réponses aux questions fréquentes sur le designer.\n\n## Pourquoi le designer n’affiche-t-il qu’un indicateur de chargement ?\n\nLessCode n’a aucun flux à afficher. Cela arrive avec l’image Docker quand le volume ne contient pas de fichier `lesscode.flow`. Copie le fichier par défaut dans le conteneur et redémarre-le. Consulte [Installer avec Docker](../../guides/install-docker/).\n\n## Pourquoi la liste des composants est-elle si courte ?\n\nUn nouveau flux n’a que **Print**, **Console debug** et **Trigger**. Ajoutes-en d’autres avec **Add > Download components**. Consulte [Télécharger des composants](../../guides/download-components/).\n\n## Où est la page de connexion ?\n\nIl n’y en a pas. Protège le designer en suivant les étapes de [Passer en production](../../guides/production/).\n\n## Mes modifications ont disparu après un redémarrage. Pourquoi ?\n\n- LessCode enregistre environ cinq secondes après une modification. Si tu l’arrêtes avant, tu perds la dernière modification.\n- Après un Apply qui a supprimé des nœuds, les nouveaux nœuds ne sont pas enregistrés tant que tu ne redémarres pas LessCode. Consulte [Supprimer des nœuds](../../guides/remove-nodes/).\n- Avec Docker, le volume doit être monté sur `/www/.src/flowstreams`. Consulte [Installer avec Docker](../../guides/install-docker/).\n\n## Comment supprimer un nœud ?\n\nFais un clic droit dessus, sélectionne **Remove**, puis sélectionne **APPLY** et **Continue**. Consulte [Supprimer des nœuds](../../guides/remove-nodes/).\n","entries":[],"license":"MIT","updated":"2026-11-19T04:41:04.689Z"}
{"id":"Jap1ZC1sO61f-it","url":"https://totaljs.es/docs/it/lesscode/1-0/faq/designer/","project":"lesscode","version":"1-0","section":"faq","language":"it","title":"Il designer","summary":"Risposte alle domande più comuni sul designer.","markdown":"---\ntitle: Il designer\nproject: Total.js LessCode\nversion: 1.0\nsection: faq\nlanguage: it\nlicense: MIT\nurl: https://totaljs.es/docs/it/lesscode/1-0/faq/designer/\nupdated: 2026-11-19T04:41:04.689Z\n---\n\n# Il designer\n\n> Risposte alle domande più comuni sul designer.\n\n## Perché il designer mostra solo un'icona di caricamento?\n\nLessCode non ha nessun flusso da mostrare. Succede con l'immagine Docker quando il volume non contiene il file `lesscode.flow`. Copia il file predefinito nel container e riavvialo. Leggi [Installare con Docker](../../guides/install-docker/).\n\n## Perché l'elenco dei componenti è così corto?\n\nUn flusso nuovo ha solo **Print**, **Console debug** e **Trigger**. Aggiungine altri con **Add > Download components**. Leggi [Scaricare i componenti](../../guides/download-components/).\n\n## Dov'è la pagina di accesso?\n\nNon c'è. Proteggi il designer seguendo i passi di [Usare LessCode in produzione](../../guides/production/).\n\n## Le mie modifiche sono sparite dopo un riavvio. Perché?\n\n- LessCode salva circa cinque secondi dopo una modifica. Se lo fermi prima, perdi l'ultima modifica.\n- Dopo un Apply che ha rimosso dei nodi, i nuovi nodi non vengono salvati finché non riavvii LessCode. Leggi [Rimuovere i nodi](../../guides/remove-nodes/).\n- Con Docker, il volume deve stare su `/www/.src/flowstreams`. Leggi [Installare con Docker](../../guides/install-docker/).\n\n## Come elimino un nodo?\n\nFai clic con il tasto destro sul nodo, seleziona **Remove**, poi seleziona **APPLY** e **Continue**. Leggi [Rimuovere i nodi](../../guides/remove-nodes/).\n","entries":[],"license":"MIT","updated":"2026-11-19T04:41:04.689Z"}
{"id":"Jap1ZC1sO61f-sk","url":"https://totaljs.es/docs/sk/lesscode/1-0/faq/designer/","project":"lesscode","version":"1-0","section":"faq","language":"sk","title":"Návrhár","summary":"Odpovede na časté otázky o návrhárovi.","markdown":"---\ntitle: \"Návrhár\"\nproject: Total.js LessCode\nversion: 1.0\nsection: faq\nlanguage: sk\nlicense: MIT\nurl: https://totaljs.es/docs/sk/lesscode/1-0/faq/designer/\nupdated: 2026-11-19T04:41:04.689Z\n---\n\n# Návrhár\n\n> Odpovede na časté otázky o návrhárovi.\n\n## Prečo návrhár ukazuje len načítavací kruh?\n\nLessCode nemá žiadny tok, ktorý by zobrazil. Stáva sa to pri obraze Docker, keď vo zväzku nie je súbor `lesscode.flow`. Skopíruj predvolený súbor do kontajnera a reštartuj ho. Pozri si [Inštaluj s Dockerom](../../guides/install-docker/).\n\n## Prečo je zoznam komponentov taký krátky?\n\nNový tok má len **Print**, **Console debug** a **Trigger**. Ďalšie pridáš cez **Add > Download components**. Pozri si [Stiahni komponenty](../../guides/download-components/).\n\n## Kde je prihlasovacia stránka?\n\nŽiadna nie je. Návrhár ochráň podľa krokov v článku [Prevádzkuj v produkcii](../../guides/production/).\n\n## Po reštarte mi zmizli zmeny. Prečo?\n\n- LessCode ukladá asi päť sekúnd po zmene. Ak ho zastavíš skôr, posledná zmena sa stratí.\n- Po použití zmien (Apply), ktoré odstránilo uzly, sa nové uzly neuložia, kým LessCode nereštartuješ. Pozri si [Odstráň uzly](../../guides/remove-nodes/).\n- Pri Dockeri musí byť zväzok pripojený na `/www/.src/flowstreams`. Pozri si [Inštaluj s Dockerom](../../guides/install-docker/).\n\n## Ako odstránim uzol?\n\nKlikni naň pravým tlačidlom, vyber **Remove**, potom vyber **APPLY** a **Continue**. Pozri si [Odstráň uzly](../../guides/remove-nodes/).\n","entries":[],"license":"MIT","updated":"2026-11-19T04:41:04.689Z"}
{"id":"Jap1ZE1uO61f","url":"https://totaljs.es/docs/lesscode/1-0/faq/endpoints/","project":"lesscode","version":"1-0","section":"faq","language":"en","title":"Endpoints","summary":"Answers to common questions about API endpoints.","markdown":"---\ntitle: Endpoints\nproject: LessCode\nversion: 1.0\nsection: faq\nlanguage: en\nlicense: MIT\nurl: https://totaljs.es/docs/lesscode/1-0/faq/endpoints/\nupdated: 2026-11-19T04:41:04.689Z\n---\n\n# Endpoints\n\n> Answers to common questions about API endpoints.\n\n## My endpoint answers 404. Why?\n\n- You have not applied the Route yet. Select **APPLY** in the toolbar, then **Continue**.\n- You removed nodes before you added the Route. Restart LessCode and add the Route again. See [Remove nodes](../../guides/remove-nodes/).\n- The method or address differs. Check **Method** and **Relative URL address** in the [Route](../../reference/route/) settings.\n\n## My endpoint answers 503. Why?\n\nThe flow is paused. Select **Pause** in the toolbar to start it again. See [Pause the flow](../../guides/pause-flow/).\n\n## My endpoint answers {}. Why?\n\nThe [Response](../../reference/response/) reads the property named in **Path for reading value**, which is `response` by default. Empty that field, or send your data inside `response`.\n","entries":[],"license":"MIT","updated":"2026-11-19T04:41:04.689Z"}
{"id":"Jap1ZE1uO61f-de","url":"https://totaljs.es/docs/de/lesscode/1-0/faq/endpoints/","project":"lesscode","version":"1-0","section":"faq","language":"de","title":"Endpunkte","summary":"Antworten auf häufige Fragen zu API-Endpunkten.","markdown":"---\ntitle: Endpunkte\nproject: Total.js LessCode\nversion: 1.0\nsection: faq\nlanguage: de\nlicense: MIT\nurl: https://totaljs.es/docs/de/lesscode/1-0/faq/endpoints/\nupdated: 2026-11-19T04:41:04.689Z\n---\n\n# Endpunkte\n\n> Antworten auf häufige Fragen zu API-Endpunkten.\n\n## Mein Endpunkt antwortet mit 404. Warum?\n\n- Du hast die Route noch nicht übernommen. Wähle **APPLY** in der Werkzeugleiste und dann **Continue**.\n- Du hast Nodes entfernt, bevor du die Route hinzugefügt hast. Starte LessCode neu und füge die Route noch einmal hinzu. Mehr dazu unter [Nodes entfernen](../../guides/remove-nodes/).\n- Methode oder Adresse stimmen nicht überein. Prüfe **Method** und **Relative URL address** in den Einstellungen der [Route](../../reference/route/).\n\n## Mein Endpunkt antwortet mit 503. Warum?\n\nDer Flow ist pausiert. Wähle **Pause** in der Werkzeugleiste, um ihn wieder zu starten. Mehr dazu unter [Den Flow pausieren](../../guides/pause-flow/).\n\n## Mein Endpunkt antwortet mit {}. Warum?\n\n[Response](../../reference/response/) liest die Eigenschaft, die in **Path for reading value** steht, standardmäßig `response`. Leere dieses Feld oder schicke deine Daten innerhalb von `response`.\n","entries":[],"license":"MIT","updated":"2026-11-19T04:41:04.689Z"}
{"id":"Jap1ZE1uO61f-es","url":"https://totaljs.es/docs/es/lesscode/1-0/faq/endpoints/","project":"lesscode","version":"1-0","section":"faq","language":"es","title":"Endpoints","summary":"Respuestas a las preguntas habituales sobre los endpoints de API.","markdown":"---\ntitle: Endpoints\nproject: Total.js LessCode\nversion: 1.0\nsection: faq\nlanguage: es\nlicense: MIT\nurl: https://totaljs.es/docs/es/lesscode/1-0/faq/endpoints/\nupdated: 2026-11-19T04:41:04.689Z\n---\n\n# Endpoints\n\n> Respuestas a las preguntas habituales sobre los endpoints de API.\n\n## Mi endpoint responde 404. ¿Por qué?\n\n- Todavía no has aplicado el Route. Selecciona **APPLY** en la barra de herramientas y después **Continue**.\n- Eliminaste nodos antes de añadir el Route. Reinicia LessCode y vuelve a añadir el Route. Consulta [Eliminar nodos](../../guides/remove-nodes/).\n- El método o la dirección no coinciden. Revisa **Method** y **Relative URL address** en los ajustes de [Route](../../reference/route/).\n\n## Mi endpoint responde 503. ¿Por qué?\n\nEl flujo está en pausa. Selecciona **Pause** en la barra de herramientas para ponerlo en marcha de nuevo. Consulta [Pausar el flujo](../../guides/pause-flow/).\n\n## Mi endpoint responde {}. ¿Por qué?\n\n[Response](../../reference/response/) lee la propiedad indicada en **Path for reading value**, que por defecto es `response`. Vacía ese campo o envía tus datos dentro de `response`.\n","entries":[],"license":"MIT","updated":"2026-11-19T04:41:04.689Z"}
{"id":"Jap1ZE1uO61f-fr","url":"https://totaljs.es/docs/fr/lesscode/1-0/faq/endpoints/","project":"lesscode","version":"1-0","section":"faq","language":"fr","title":"Endpoints","summary":"Réponses aux questions fréquentes sur les endpoints d’API.","markdown":"---\ntitle: Endpoints\nproject: Total.js LessCode\nversion: 1.0\nsection: faq\nlanguage: fr\nlicense: MIT\nurl: https://totaljs.es/docs/fr/lesscode/1-0/faq/endpoints/\nupdated: 2026-11-19T04:41:04.689Z\n---\n\n# Endpoints\n\n> Réponses aux questions fréquentes sur les endpoints d’API.\n\n## Mon endpoint répond 404. Pourquoi ?\n\n- Tu n’as pas encore appliqué la Route. Sélectionne **APPLY** dans la barre d’outils, puis **Continue**.\n- Tu as supprimé des nœuds avant d’ajouter la Route. Redémarre LessCode et ajoute de nouveau la Route. Consulte [Supprimer des nœuds](../../guides/remove-nodes/).\n- La méthode ou l’adresse ne correspond pas. Vérifie **Method** et **Relative URL address** dans les réglages de [Route](../../reference/route/).\n\n## Mon endpoint répond 503. Pourquoi ?\n\nLe flux est en pause. Sélectionne **Pause** dans la barre d’outils pour le relancer. Consulte [Mettre le flux en pause](../../guides/pause-flow/).\n\n## Mon endpoint répond {}. Pourquoi ?\n\nLe nœud [Response](../../reference/response/) lit la propriété indiquée dans **Path for reading value**, qui vaut `response` par défaut. Vide ce champ, ou envoie tes données dans `response`.\n","entries":[],"license":"MIT","updated":"2026-11-19T04:41:04.689Z"}
{"id":"Jap1ZE1uO61f-it","url":"https://totaljs.es/docs/it/lesscode/1-0/faq/endpoints/","project":"lesscode","version":"1-0","section":"faq","language":"it","title":"Endpoint","summary":"Risposte alle domande più comuni sugli endpoint API.","markdown":"---\ntitle: Endpoint\nproject: Total.js LessCode\nversion: 1.0\nsection: faq\nlanguage: it\nlicense: MIT\nurl: https://totaljs.es/docs/it/lesscode/1-0/faq/endpoints/\nupdated: 2026-11-19T04:41:04.689Z\n---\n\n# Endpoint\n\n> Risposte alle domande più comuni sugli endpoint API.\n\n## Il mio endpoint risponde 404. Perché?\n\n- Non hai ancora applicato la Route. Seleziona **APPLY** nella barra degli strumenti, poi **Continue**.\n- Hai rimosso dei nodi prima di aggiungere la Route. Riavvia LessCode e aggiungi di nuovo la Route. Leggi [Rimuovere i nodi](../../guides/remove-nodes/).\n- Il metodo o l'indirizzo non corrispondono. Controlla **Method** e **Relative URL address** nelle impostazioni della [Route](../../reference/route/).\n\n## Il mio endpoint risponde 503. Perché?\n\nIl flusso è in pausa. Seleziona **Pause** nella barra degli strumenti per farlo ripartire. Leggi [Mettere in pausa il flusso](../../guides/pause-flow/).\n\n## Il mio endpoint risponde {}. Perché?\n\nIl nodo [Response](../../reference/response/) legge la proprietà indicata in **Path for reading value**, che per impostazione predefinita è `response`. Svuota quel campo, oppure invia i tuoi dati dentro `response`.\n","entries":[],"license":"MIT","updated":"2026-11-19T04:41:04.689Z"}
{"id":"Jap1ZE1uO61f-sk","url":"https://totaljs.es/docs/sk/lesscode/1-0/faq/endpoints/","project":"lesscode","version":"1-0","section":"faq","language":"sk","title":"Endpointy","summary":"Odpovede na časté otázky o API endpointoch.","markdown":"---\ntitle: Endpointy\nproject: Total.js LessCode\nversion: 1.0\nsection: faq\nlanguage: sk\nlicense: MIT\nurl: https://totaljs.es/docs/sk/lesscode/1-0/faq/endpoints/\nupdated: 2026-11-19T04:41:04.689Z\n---\n\n# Endpointy\n\n> Odpovede na časté otázky o API endpointoch.\n\n## Môj endpoint odpovedá 404. Prečo?\n\n- Route si ešte nepoužil. Na paneli nástrojov vyber **APPLY** a potom **Continue**.\n- Pred pridaním Route si odstránil uzly. Reštartuj LessCode a pridaj Route znova. Pozri si [Odstráň uzly](../../guides/remove-nodes/).\n- Metóda alebo adresa sa nezhoduje. Skontroluj **Method** a **Relative URL address** v nastaveniach [Route](../../reference/route/).\n\n## Môj endpoint odpovedá 503. Prečo?\n\nTok je pozastavený. Na paneli nástrojov vyber **Pause** a tok sa znova spustí. Pozri si [Pozastav tok](../../guides/pause-flow/).\n\n## Môj endpoint odpovedá {}. Prečo?\n\n[Response](../../reference/response/) číta vlastnosť uvedenú v poli **Path for reading value**, ktorá je predvolene `response`. Toto pole vyprázdni, alebo posielaj svoje dáta vnútri `response`.\n","entries":[],"license":"MIT","updated":"2026-11-19T04:41:04.689Z"}
{"id":"JapyXc78E61f","url":"https://totaljs.es/docs/lesscode/1-0/development/components/","project":"lesscode","version":"1-0","section":"development","language":"en","title":"Components and development","summary":"The components of LessCode come from the Total.js Flow catalogue: their reference and how to write your own are in the Flow documentation.","markdown":"---\ntitle: Components and development\nproject: LessCode\nversion: 1.0\nsection: development\nlanguage: en\nlicense: MIT\nurl: https://totaljs.es/docs/lesscode/1-0/development/components/\nupdated: 2026-11-19T10:58:54.144Z\n---\n\n# Components and development\n\n> The components of LessCode come from the Total.js Flow catalogue: their reference and how to write your own are in the Flow documentation.\n\nLessCode runs the same FlowStream engine as Total.js Flow and downloads its components from the same official catalogue. That is why the components and how to write them are documented once, in the documentation of Flow.\n\n## The available components\n\nEvery component of the official catalogue, with its inputs, outputs, settings and description:\n\n- [Official components](/flow/11-1/components/introduction/): where they come from, their versions and how they are updated.\n- [Common](/flow/11-1/components/common/), [Triggers and time](/flow/11-1/components/triggers-and-time/), [Data and transformations](/flow/11-1/components/data-and-transformations/) and the other groups of the catalogue.\n\nTo add them to a flow in LessCode, see [Download components](/lesscode/1-0/guides/download-components/).\n\n## Write your own components\n\nA component is one HTML file with its server code, its settings form and its look. The guides start here:\n\n- [Develop components](/flow/11-1/development/introduction/)\n- [The component file](/flow/11-1/development/component-file/) and [Your first component](/flow/11-1/development/first-component/)\n- [Inputs, outputs and messages](/flow/11-1/development/inputs-outputs/)\n- The reference of the [component file](/flow/11-1/development/component-api/), the [instance](/flow/11-1/development/instance-api/) and the [message](/flow/11-1/development/message-api/)\n\n## What is only in LessCode\n\nLessCode adds its own HTML, styles and server code with the files of its `extensions` folder: see [Extensions](/lesscode/1-0/guides/extensions/).\n","entries":[],"license":"MIT","updated":"2026-11-19T10:58:54.144Z"}
{"id":"JapyXc78E61f-de","url":"https://totaljs.es/docs/de/lesscode/1-0/development/components/","project":"lesscode","version":"1-0","section":"development","language":"de","title":"Komponenten und Entwicklung","summary":"Die Komponenten von LessCode stammen aus dem Katalog von Total.js Flow: Ihre Referenz und wie du eigene schreibst, findest du in der Dokumentation von Flow.","markdown":"---\ntitle: Komponenten und Entwicklung\nproject: Total.js LessCode\nversion: 1.0\nsection: development\nlanguage: de\nlicense: MIT\nurl: https://totaljs.es/docs/de/lesscode/1-0/development/components/\nupdated: 2026-11-19T10:58:54.144Z\n---\n\n# Komponenten und Entwicklung\n\n> Die Komponenten von LessCode stammen aus dem Katalog von Total.js Flow: Ihre Referenz und wie du eigene schreibst, findest du in der Dokumentation von Flow.\n\nLessCode verwendet dieselbe FlowStream-Engine wie Total.js Flow und lädt seine Komponenten aus demselben offiziellen Katalog herunter. Deshalb sind die Komponenten und wie man sie schreibt nur einmal dokumentiert, in der Dokumentation von Flow.\n\n## Die verfügbaren Komponenten\n\nJede Komponente des offiziellen Katalogs, mit ihren Eingängen, Ausgängen, Einstellungen und ihrer Beschreibung:\n\n- [Offizielle Komponenten](/flow/11-1/components/introduction/): woher sie kommen, ihre Versionen und wie sie aktualisiert werden.\n- [Allgemein](/flow/11-1/components/common/), [Auslöser und Zeit](/flow/11-1/components/triggers-and-time/), [Daten und Transformationen](/flow/11-1/components/data-and-transformations/) und die anderen Gruppen des Katalogs.\n\nWie du sie in LessCode zu einem Flow hinzufügst, steht unter [Komponenten herunterladen](/lesscode/1-0/guides/download-components/).\n\n## Eigene Komponenten schreiben\n\nEine Komponente ist eine einzige HTML-Datei mit ihrem Server-Code, ihrem Einstellungsformular und ihrem Aussehen. Die Anleitungen beginnen hier:\n\n- [Komponenten entwickeln](/flow/11-1/development/introduction/)\n- [Die Komponentendatei](/flow/11-1/development/component-file/) und [Deine erste Komponente](/flow/11-1/development/first-component/)\n- [Eingänge, Ausgänge und Nachrichten](/flow/11-1/development/inputs-outputs/)\n- Die Referenz der [Komponentendatei](/flow/11-1/development/component-api/), der [Instanz](/flow/11-1/development/instance-api/) und der [Nachricht](/flow/11-1/development/message-api/)\n\n## Was es nur in LessCode gibt\n\nLessCode fügt mit den Dateien seines Ordners `extensions` eigenes HTML, eigene Styles und eigenen Server-Code hinzu: siehe [Erweiterungen](/lesscode/1-0/guides/extensions/).\n","entries":[],"license":"MIT","updated":"2026-11-19T10:58:54.144Z"}
{"id":"JapyXc78E61f-es","url":"https://totaljs.es/docs/es/lesscode/1-0/development/components/","project":"lesscode","version":"1-0","section":"development","language":"es","title":"Componentes y desarrollo","summary":"Los componentes de LessCode vienen del catálogo de Total.js Flow: su referencia y cómo escribir los tuyos están en la documentación de Flow.","markdown":"---\ntitle: Componentes y desarrollo\nproject: Total.js LessCode\nversion: 1.0\nsection: development\nlanguage: es\nlicense: MIT\nurl: https://totaljs.es/docs/es/lesscode/1-0/development/components/\nupdated: 2026-11-19T10:58:54.144Z\n---\n\n# Componentes y desarrollo\n\n> Los componentes de LessCode vienen del catálogo de Total.js Flow: su referencia y cómo escribir los tuyos están en la documentación de Flow.\n\nLessCode ejecuta el mismo motor de FlowStream que Total.js Flow y descarga sus componentes del mismo catálogo oficial. Por eso los componentes y cómo escribirlos se documentan una sola vez, en la documentación de Flow.\n\n## Los componentes disponibles\n\nTodos los componentes del catálogo oficial, con sus entradas, salidas, ajustes y descripción:\n\n- [Componentes oficiales](/flow/11-1/components/introduction/): de dónde vienen, sus versiones y cómo se actualizan.\n- [Comunes](/flow/11-1/components/common/), [Disparadores y tiempo](/flow/11-1/components/triggers-and-time/), [Datos y transformaciones](/flow/11-1/components/data-and-transformations/) y los demás grupos del catálogo.\n\nPara añadirlos a un flujo en LessCode, consulta [Descargar componentes](/lesscode/1-0/guides/download-components/).\n\n## Escribe tus propios componentes\n\nUn componente es un único archivo HTML con su código del servidor, su formulario de ajustes y su aspecto. Las guías empiezan aquí:\n\n- [Desarrollar componentes](/flow/11-1/development/introduction/)\n- [El archivo del componente](/flow/11-1/development/component-file/) y [Tu primer componente](/flow/11-1/development/first-component/)\n- [Entradas, salidas y mensajes](/flow/11-1/development/inputs-outputs/)\n- La referencia del [archivo del componente](/flow/11-1/development/component-api/), de la [instancia](/flow/11-1/development/instance-api/) y del [mensaje](/flow/11-1/development/message-api/)\n\n## Lo que solo está en LessCode\n\nLessCode añade su propio HTML, sus estilos y su código del servidor con los archivos de su carpeta `extensions`: consulta [Extensiones](/lesscode/1-0/guides/extensions/).\n","entries":[],"license":"MIT","updated":"2026-11-19T10:58:54.144Z"}
{"id":"JapyXc78E61f-fr","url":"https://totaljs.es/docs/fr/lesscode/1-0/development/components/","project":"lesscode","version":"1-0","section":"development","language":"fr","title":"Composants et développement","summary":"Les composants de LessCode viennent du catalogue de Total.js Flow : leur référence et la façon d'écrire les tiens se trouvent dans la documentation de Flow.","markdown":"---\ntitle: \"Composants et développement\"\nproject: Total.js LessCode\nversion: 1.0\nsection: development\nlanguage: fr\nlicense: MIT\nurl: https://totaljs.es/docs/fr/lesscode/1-0/development/components/\nupdated: 2026-11-19T10:58:54.144Z\n---\n\n# Composants et développement\n\n> Les composants de LessCode viennent du catalogue de Total.js Flow : leur référence et la façon d'écrire les tiens se trouvent dans la documentation de Flow.\n\nLessCode exécute le même moteur FlowStream que Total.js Flow et télécharge ses composants depuis le même catalogue officiel. C'est pourquoi les composants et la façon de les écrire sont documentés une seule fois, dans la documentation de Flow.\n\n## Les composants disponibles\n\nChaque composant du catalogue officiel, avec ses entrées, ses sorties, ses réglages et sa description :\n\n- [Composants officiels](/flow/11-1/components/introduction/) : d'où ils viennent, leurs versions et comment ils sont mis à jour.\n- [Communs](/flow/11-1/components/common/), [Déclencheurs et temps](/flow/11-1/components/triggers-and-time/), [Données et transformations](/flow/11-1/components/data-and-transformations/) et les autres groupes du catalogue.\n\nPour les ajouter à un flux dans LessCode, consulte [Télécharger des composants](/lesscode/1-0/guides/download-components/).\n\n## Écrire tes propres composants\n\nUn composant est un seul fichier HTML avec son code serveur, son formulaire de réglages et son apparence. Les guides commencent ici :\n\n- [Développer des composants](/flow/11-1/development/introduction/)\n- [Le fichier du composant](/flow/11-1/development/component-file/) et [Ton premier composant](/flow/11-1/development/first-component/)\n- [Entrées, sorties et messages](/flow/11-1/development/inputs-outputs/)\n- La référence du [fichier du composant](/flow/11-1/development/component-api/), de l'[instance](/flow/11-1/development/instance-api/) et du [message](/flow/11-1/development/message-api/)\n\n## Ce qui n'existe que dans LessCode\n\nLessCode ajoute son propre HTML, ses styles et son code serveur avec les fichiers de son dossier `extensions` : consulte [Extensions](/lesscode/1-0/guides/extensions/).\n","entries":[],"license":"MIT","updated":"2026-11-19T10:58:54.144Z"}
{"id":"JapyXc78E61f-it","url":"https://totaljs.es/docs/it/lesscode/1-0/development/components/","project":"lesscode","version":"1-0","section":"development","language":"it","title":"Componenti e sviluppo","summary":"I componenti di LessCode provengono dal catalogo di Total.js Flow: il loro riferimento e come scriverne di tuoi si trovano nella documentazione di Flow.","markdown":"---\ntitle: Componenti e sviluppo\nproject: Total.js LessCode\nversion: 1.0\nsection: development\nlanguage: it\nlicense: MIT\nurl: https://totaljs.es/docs/it/lesscode/1-0/development/components/\nupdated: 2026-11-19T10:58:54.144Z\n---\n\n# Componenti e sviluppo\n\n> I componenti di LessCode provengono dal catalogo di Total.js Flow: il loro riferimento e come scriverne di tuoi si trovano nella documentazione di Flow.\n\nLessCode esegue lo stesso motore FlowStream di Total.js Flow e scarica i suoi componenti dallo stesso catalogo ufficiale. Per questo i componenti e il modo di scriverli sono documentati una sola volta, nella documentazione di Flow.\n\n## I componenti disponibili\n\nOgni componente del catalogo ufficiale, con i suoi ingressi, le sue uscite, le sue impostazioni e la sua descrizione:\n\n- [Componenti ufficiali](/flow/11-1/components/introduction/): da dove vengono, le loro versioni e come vengono aggiornati.\n- [Comuni](/flow/11-1/components/common/), [Trigger e tempo](/flow/11-1/components/triggers-and-time/), [Dati e trasformazioni](/flow/11-1/components/data-and-transformations/) e gli altri gruppi del catalogo.\n\nPer aggiungerli a un flusso in LessCode, vedi [Scaricare componenti](/lesscode/1-0/guides/download-components/).\n\n## Scrivere i tuoi componenti\n\nUn componente è un unico file HTML con il suo codice del server, il suo modulo delle impostazioni e il suo aspetto. Le guide iniziano qui:\n\n- [Sviluppare componenti](/flow/11-1/development/introduction/)\n- [Il file del componente](/flow/11-1/development/component-file/) e [Il tuo primo componente](/flow/11-1/development/first-component/)\n- [Ingressi, uscite e messaggi](/flow/11-1/development/inputs-outputs/)\n- Il riferimento del [file del componente](/flow/11-1/development/component-api/), dell'[istanza](/flow/11-1/development/instance-api/) e del [messaggio](/flow/11-1/development/message-api/)\n\n## Cosa c'è solo in LessCode\n\nLessCode aggiunge il proprio HTML, i propri stili e il proprio codice del server con i file della sua cartella `extensions`: vedi [Estensioni](/lesscode/1-0/guides/extensions/).\n","entries":[],"license":"MIT","updated":"2026-11-19T10:58:54.144Z"}
{"id":"JapyXc78E61f-sk","url":"https://totaljs.es/docs/sk/lesscode/1-0/development/components/","project":"lesscode","version":"1-0","section":"development","language":"sk","title":"Komponenty a vývoj","summary":"Komponenty LessCode pochádzajú z katalógu Total.js Flow: ich referencia a postup, ako napísať vlastné, sú v dokumentácii Flow.","markdown":"---\ntitle: \"Komponenty a vývoj\"\nproject: Total.js LessCode\nversion: 1.0\nsection: development\nlanguage: sk\nlicense: MIT\nurl: https://totaljs.es/docs/sk/lesscode/1-0/development/components/\nupdated: 2026-11-19T10:58:54.144Z\n---\n\n# Komponenty a vývoj\n\n> Komponenty LessCode pochádzajú z katalógu Total.js Flow: ich referencia a postup, ako napísať vlastné, sú v dokumentácii Flow.\n\nLessCode používa rovnaký engine FlowStream ako Total.js Flow a sťahuje svoje komponenty z toho istého oficiálneho katalógu. Preto sú komponenty a postup ich písania zdokumentované iba raz, v dokumentácii Flow.\n\n## Dostupné komponenty\n\nKaždý komponent oficiálneho katalógu s jeho vstupmi, výstupmi, nastaveniami a popisom:\n\n- [Oficiálne komponenty](/flow/11-1/components/introduction/): odkiaľ pochádzajú, ich verzie a ako sa aktualizujú.\n- [Bežné](/flow/11-1/components/common/), [Spúšťače a čas](/flow/11-1/components/triggers-and-time/), [Údaje a transformácie](/flow/11-1/components/data-and-transformations/) a ďalšie skupiny katalógu.\n\nAko ich pridať do toku v LessCode, nájdeš v [Stiahnutie komponentov](/lesscode/1-0/guides/download-components/).\n\n## Napíš vlastné komponenty\n\nKomponent je jeden súbor HTML so serverovým kódom, formulárom nastavení a vzhľadom. Návody začínajú tu:\n\n- [Vývoj komponentov](/flow/11-1/development/introduction/)\n- [Súbor komponentu](/flow/11-1/development/component-file/) a [Tvoj prvý komponent](/flow/11-1/development/first-component/)\n- [Vstupy, výstupy a správy](/flow/11-1/development/inputs-outputs/)\n- Referencia [súboru komponentu](/flow/11-1/development/component-api/), [inštancie](/flow/11-1/development/instance-api/) a [správy](/flow/11-1/development/message-api/)\n\n## Čo je iba v LessCode\n\nLessCode pridáva vlastné HTML, štýly a serverový kód pomocou súborov v priečinku `extensions`: pozri [Rozšírenia](/lesscode/1-0/guides/extensions/).\n","entries":[],"license":"MIT","updated":"2026-11-19T10:58:54.144Z"}
