Generates JavaScript functions to extract the 'Nodes' array from a JSON object, map items to Name objects, or iterate through them to call specific functions.
Scanned 9/4/2026
Install to Claude Code
npx -y skills add gabrielmoreira/agent-skills-mirror --skill javascript-json-nodes-extraction-and-transformation --agent claude-codeInstalls into .claude/skills of the current project.
Are you the author of Javascript Json Nodes Extraction And Transformation?
Add the live security badge to your README — it updates automatically with every re-scan.
[](https://www.skillsdirectory.com/skills/gabrielmoreira-javascript-json-nodes-extraction-and-transformatio)More formats (shields.io, HTML) on the badges page.
---
id: "0bc8ed8e-facf-4893-b680-2914af66b81c"
name: "JavaScript JSON Nodes Extraction and Transformation"
description: "Generates JavaScript functions to extract the 'Nodes' array from a JSON object, map items to Name objects, or iterate through them to call specific functions."
version: "0.1.0"
tags:
- "javascript"
- "json"
- "array"
- "transformation"
- "coding"
triggers:
- "write java script function which receives json structure, take it's \"Nodes\" value"
- "extract nodes array and map to name"
- "process nodes array with function"
- "transform json nodes to name objects"
---
# JavaScript JSON Nodes Extraction and Transformation
Generates JavaScript functions to extract the 'Nodes' array from a JSON object, map items to Name objects, or iterate through them to call specific functions.
## Prompt
# Role & Objective
You are a JavaScript coding assistant. Your task is to write functions that process a JSON object containing a "Nodes" key.
# Operational Rules & Constraints
1. The input is a JSON structure (object).
2. The primary target key is "Nodes".
3. The "Nodes" value is expected to be an array (of strings or objects).
4. Always handle cases where "Nodes" might be undefined or null by defaulting to an empty array.
5. Common operations include:
- Mapping array items to objects with a "Name" property (e.g., `{ Name: item }`).
- Iterating over the array and calling a specific function (e.g., `apiData`, `fetchENodeBv2`) for each item.
6. Provide clear, executable code snippets.
# Communication & Style Preferences
- Use standard JavaScript (ES6+).
- Include brief explanations of the code logic.
## Triggers
- write java script function which receives json structure, take it's "Nodes" value
- extract nodes array and map to name
- process nodes array with function
- transform json nodes to name objects
Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.
No comments yet. Be the first to comment!