Skip to main content
Glama
DequeIterator.js400 B
"use strict"; const DoublyLinkedListIterator = require("./DoublyLinkedListIterator"); /** * Thin wrapper around an underlying DDL iterator */ class DequeIterator extends DoublyLinkedListIterator { next() { const result = super.next(); // unwrap the node... if (result.value) { result.value = result.value.data; } return result; } } module.exports = DequeIterator;

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/GongRzhe/REDIS-MCP-Server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server