@juspay/neurolink
Version:
The pipe layer of an AI nervous system: one interface connecting provider neurons to your application, across three inference types — generate, stream and decide. `decide` returns typed, calibrated judgements from a non-generative model (~400ms, ~$0.00002
13 lines (12 loc) • 780 B
JavaScript
/**
* Common Middleware Components
* Reusable middleware for NeuroLink server adapters
*/
export { createAuthMiddleware } from "./auth.js";
export { createCacheMiddleware } from "./cache.js";
export { createRateLimitMiddleware } from "./rateLimit.js";
export { createRequestValidationMiddleware } from "./validation.js";
export { createTimingMiddleware, createRequestIdMiddleware, createErrorHandlingMiddleware, createSecurityHeadersMiddleware, createLoggingMiddleware, createCompressionMiddleware, } from "./common.js";
export { createAbortSignalMiddleware, createExpressAbortMiddleware, } from "./abortSignal.js";
export { createMCPBodyAttachmentMiddleware, fastifyMCPBodyHook, } from "./mcpBodyAttachment.js";
export { createDeprecationMiddleware } from "./deprecation.js";