UNPKG

@juspay/neurolink

Version:

Universal AI Development Platform with working MCP integration, multi-provider support, voice (TTS/STT/realtime), and professional CLI. 58+ external MCP servers discoverable, multimodal file processing, RAG pipelines. Build, test, and deploy AI applicatio

37 lines (36 loc) 1.05 kB
/** * CLI Helpers for File Processors * * Utilities for CLI integration of the file processor system. * Provides file loading, processing, and output formatting for CLI commands. * * @module processors/cli * * @example * ```typescript * import { * loadFileFromPath, * processFileFromPath, * listSupportedFileTypes, * getCliUsage, * type CliFileProcessingOptions, * } from "./processors/cli/index.js"; * * // Process a file with verbose output * const result = await processFileFromPath("./document.pdf", { * verbose: true, * outputFormat: "json", * }); * * if (result.success) { * console.log(`Processed with: ${result.processorUsed}`); * console.log(result.output); * } else { * console.error(`Error: ${result.error}`); * } * * // List all supported file types * console.log(listSupportedFileTypes()); * ``` */ export { detectMimeType, fileExists, getCliUsage, getFileExtension, getSupportedFileTypes, listSupportedFileTypes, loadFileFromPath, processFileFromPath, } from "./fileProcessorCli.js";