UNPKG

scanex

Version:

A powerful CLI tool that automatically discovers and bundles related source code into a single markdown file, perfect for sharing with LLMs like ChatGPT, Claude, or Cursor AI.

14 lines (11 loc) 407 B
// import Parser from 'tree-sitter'; // import Markdown from 'tree-sitter-markdown'; // const parser = new Parser(); // parser.setLanguage(Markdown); export const name = 'markdown'; export const exts = ['.md']; export function scan(src, { file }) { // Markdown files don't have dependencies in the same way as code files. // We include them for bundling, but don't scan for more files. return []; }