Skip to main content
Glama

mcp-appstore

by appreply-co
options.js1.01 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.flattenOptions = flattenOptions; const defaultOpts = { _useHtmlParser2: false, }; /** * Flatten the options for Cheerio. * * This will set `_useHtmlParser2` to true if `xml` is set to true. * * @param options - The options to flatten. * @param baseOptions - The base options to use. * @returns The flattened options. */ function flattenOptions(options, baseOptions) { if (!options) { return baseOptions !== null && baseOptions !== void 0 ? baseOptions : defaultOpts; } const opts = { _useHtmlParser2: !!options.xmlMode, ...baseOptions, ...options, }; if (options.xml) { opts._useHtmlParser2 = true; opts.xmlMode = true; if (options.xml !== true) { Object.assign(opts, options.xml); } } else if (options.xmlMode) { opts._useHtmlParser2 = true; } return opts; } //# sourceMappingURL=options.js.map

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/appreply-co/mcp-appstore'

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