UNPKG

@nanocollective/nanocoder

Version:

A local-first CLI coding agent that brings the power of agentic coding tools like Claude Code and Gemini CLI to local models or controlled APIs like OpenRouter

17 lines 660 B
/** * Map of file extensions to human-readable language/format names. * Used for displaying file type information to users. */ declare const FILE_TYPE_MAP: Record<string, string>; /** * Get the human-readable file type from a file path or extension. * * @param pathOrExtension - File path (e.g., "src/app.tsx") or extension (e.g., "tsx") * @returns Human-readable type name (e.g., "TypeScript React") or uppercase extension if unknown */ export declare function getFileType(pathOrExtension: string): string; /** * Export the raw map for cases where direct lookup is needed */ export { FILE_TYPE_MAP }; //# sourceMappingURL=file-type-detector.d.ts.map