Skip to main content
Glama
push-based

Angular Toolkit MCP

by push-based
source-file-from.code.ts398 B
import { Project } from 'ts-morph'; import type { SourceFile as TsSourceFile } from 'typescript'; export const sourceFileFromCode = ({ path, code, }: { path?: string; code: string; }) => { const project = new Project({ useInMemoryFileSystem: true }); const tsMorphSourceFile = project.createSourceFile(path ?? 'cmp.ts', code); return tsMorphSourceFile as unknown as TsSourceFile; };

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/push-based/angular-toolkit-mcp'

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