Skip to main content
Glama

mcp-appstore

by appreply-co
lensPath.js819 B
var _curry1 = require('./internal/_curry1'); var assocPath = require('./assocPath'); var lens = require('./lens'); var path = require('./path'); /** * Returns a lens whose focus is the specified path. * * @func * @memberOf R * @since v0.19.0 * @category Object * @typedefn Lens s a = Functor f => (a -> f a) -> s -> f s * @sig [String] -> Lens s a * @param {Array} path The path to use. * @return {Lens} * @see R.view, R.set, R.over * @example * * var xyLens = R.lensPath(['x', 'y']); * * R.view(xyLens, {x: {y: 2, z: 3}}); //=> 2 * R.set(xyLens, 4, {x: {y: 2, z: 3}}); //=> {x: {y: 4, z: 3}} * R.over(xyLens, R.negate, {x: {y: 2, z: 3}}); //=> {x: {y: -2, z: 3}} */ module.exports = _curry1(function lensPath(p) { return lens(path(p), assocPath(p)); });

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