---
title: "JavaScript Code Node - Air Market"
description: "Your n8n workflow needs a step the built-in nodes do not cover, so you reach for code - and then the syntax, the errors or the slowness get in the way. This covers writing JavaScript inside a Code no…"
canonical: "https://airmarket.ai/app/n8n-code-javascript"
---

[Air Market](/) / [Automation](/category/automation) / JavaScript Code Node

Skill by [Romuald Członkowski](/@czlonkowski)

# JavaScript Code Node

Write the JavaScript step your n8n workflow needs

## What this does

Your n8n workflow needs a step the built-in nodes do not cover, so you reach for code - and then the syntax, the errors or the slowness get in the way. This covers writing JavaScript inside a Code node and getting it right. Reach for it whenever a workflow needs custom code.

### Top 3 things it does for you

- Write a Code node that transforms your data
- Call an API from inside a workflow
- Work out why a Code node is throwing

## Information

**JavaScript Code Node at a glance**

|  |  |
| --- | --- |
| Kind | Skill |
| Publisher | [Romuald Członkowski](/@czlonkowski) |
| Category | [Automation](/category/automation) |
| Works with | Agent Skills - an open standard supported by 40+ agents |
| Size | 126 KB |
| Licence | MIT |
| Repository | [czlonkowski/n8n-skills](https://github.com/czlonkowski/n8n-skills/tree/9ea3aa58cff22ad9a014b402dea5b8bd03c8ae25/skills/n8n-code-javascript) |
| GitHub stars | 6,119 (as of Nov 2026) |
| Installs | 7,441, counted by skills.sh (Nov 2026) |

## Security report

**Verified.** AIR scanned this exact version of JavaScript Code Node and flagged nothing. AIR's verdict: **safe**.

**What JavaScript Code Node's check was run against**

|  |  |
| --- | --- |
| Commit | 9ea3aa58cff22ad9a014b402dea5b8bd03c8ae25 |
| Content hash | f310617ab8869a31e40ad4e78fb9a41df7529c08f5ed6e028a05ec93513ff110 |
| Files read | [Browse the files at this exact commit](https://github.com/czlonkowski/n8n-skills/blob/9ea3aa58cff22ad9a014b402dea5b8bd03c8ae25/skills/n8n-code-javascript/SKILL.md) |

A scan is named by the exact content it read, not by a version number. A different version is a different artifact, and nothing here applies to a version AIR has not scanned.

[Read the full security report for JavaScript Code Node](/security/n8n-code-javascript)

## About JavaScript Code Node

This is for writing JavaScript in n8n Code nodes. It applies when you are using the input and node reference syntax, making HTTP requests from a Code node, working with dates, troubleshooting Code node errors, choosing between the Code node modes, or doing any custom data transformation.

Reach for it whenever a workflow needs a Code node at all, whether for aggregating, filtering, calling an API, converting formats or batch processing logic. It covers batch loop patterns, carrying data across iterations, and keeping items paired with their source, alongside patterns taken from real production workflows.

It also answers questions about why a Code node or a workflow is slow, which execution mode runs faster, and how to cut the per-item cost on large datasets. One exception: the AI-agent-callable Custom Code Tool has a different runtime contract and is covered elsewhere.

## What's inside

- SKILL.md - instructions
- BUILTIN_FUNCTIONS.md - reference
- COMMON_PATTERNS.md - reference
- DATA_ACCESS.md - reference
- ERROR_PATTERNS.md - reference
- README.md - reference

## Questions

### Is JavaScript Code Node safe to install?

AIR scanned this exact version of JavaScript Code Node and flagged nothing. AIR's verdict: safe. The verdict is named by the content that was read, at commit 9ea3aa58cff2, so it cannot drift onto a version nobody scanned. The full report is at https://airmarket.ai/security/n8n-code-javascript.

### How do I install JavaScript Code Node?

Open https://airmarket.ai/app/n8n-code-javascript on Air Market and use the install action: Air Market hands Claude a prompt naming this exact skill, and Claude sets it up. Source, pinned to the exact commit this listing describes: https://github.com/czlonkowski/n8n-skills/tree/9ea3aa58cff22ad9a014b402dea5b8bd03c8ae25/skills/n8n-code-javascript. Install from that link, not the branch.

## Related on Air Market

- [More Automation listings](/category/automation)
- [Everything by Romuald Członkowski](/@czlonkowski)

---

Canonical URL: <https://airmarket.ai/app/n8n-code-javascript>
