Skip to main content
Glama
named-exports.mjs344 B
import { test } from 'node:test' import { fastify } from '../../fastify.js' // This test is executed in index.test.js test('named exports support', async t => { const app = fastify() app.register(import('./plugin.mjs'), { foo: 'bar' }) app.register(import('./other.mjs')) await app.ready() t.assert.strictEqual(app.foo, 'bar') })

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/krtw00/search-mcp'

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