@themohitgaur1/scanner
v1.0.1
Published
Scanner + Context Engine — detects frameworks, architecture, libraries, patterns. Core of claude-bootstrap.
Readme
@themohitgaur1/scanner
Core engine. Scans a repository and produces a ProjectMetadata object that every other package consumes.
import { scan } from "@themohitgaur1/scanner";
const meta = await scan(process.cwd());
console.log(meta.frameworks, meta.repoType);Detectors:
frameworksEReact, Next, Vite, Vue, Svelte, NestJS, Express, Fastify, Prisma, Drizzle, TypeORM, Tailwind, shadcn, TanStack Start, RemixarchitectureEmonorepo tool, package manager, Docker/K8s/CI, testsservicesEworkspace packages, classified as api/worker/frontend/sharedfolders+languagesEtop-level layout summary
The output is intentionally a plain JSON shape Eeasy to cache to .ai/project.json and re-use in analyze / sync / doctor.
