AI Agents & MCPs & AI Workflow Automation • (~400 MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI Workflows & AI Agents • MCPs for AI Agents
TypeScript ai-agentai-agent-toolsai-agentsai-agents-frameworkmcpmcp-servermcp-toolsmcpsn8n-alternativeno-code-automationworkflowworkflow-automationworkflows
function positiveInt({ value, fallback, max }: { value: number | undefined | null; fallback: number; max: number }): number {
if (value === undefined || value === null || !Number.isFinite(value)) {
return fallback;
}
return Math.min(Math.max(Math.trunc(value), 1), max);
}
export const mindeeInputs = { positiveInt };