Skip to main content
Glama
index.d.ts958 B
import * as js_tokens from 'js-tokens'; import { Token } from 'js-tokens'; interface StripLiteralOptions { /** * Will be called for each string literal. Return false to skip stripping. */ filter?: (s: string) => boolean; /** * Fill the stripped literal with this character. * It must be a single character. * * @default ' ' */ fillChar?: string; } declare function stripLiteralJsTokens(code: string, options?: StripLiteralOptions): { result: string; tokens: Token[]; }; /** * Strip literal from code. */ declare function stripLiteral(code: string, options?: StripLiteralOptions): string; /** * Strip literal from code, return more detailed information. */ declare function stripLiteralDetailed(code: string, options?: StripLiteralOptions): { result: string; tokens: js_tokens.Token[]; }; export { type StripLiteralOptions, stripLiteral, stripLiteralDetailed, stripLiteralJsTokens };

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