Skip to main content
Glama
gitGraph.js•742 B
// Generated wrapper for gitGraph Langium grammar // This provides basic validation without full Langium compilation module.exports = { name: 'gitGraph', parse: function(content) { // Basic validation for gitGraph diagrams const firstLine = content.trim().split('\n')[0].toLowerCase(); if (!firstLine.includes('gitGraph')) { throw new Error('Invalid gitGraph diagram: must start with "gitGraph"'); } return { type: 'gitGraph', valid: true }; }, validate: function(content) { try { this.parse(content); return { valid: true, errors: [] }; } catch (error) { return { valid: false, errors: [{ message: error.message, line: 1 }] }; } } };

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/ai-of-mine/fast-mermaid-validator-mcp'

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