Skip to main content
Glama
set.js379 B
import { inspectList } from './helpers' // IE11 doesn't support `Array.from(set)` function arrayFromSet(set) { const values = [] set.forEach(value => { values.push(value) }) return values } export default function inspectSet(set, options) { if (set.size === 0) return 'Set{}' options.truncate -= 7 return `Set{ ${inspectList(arrayFromSet(set), options)} }` }

Latest Blog Posts

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/Mnehmos/mnehmos.synch.mcp'

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