Skip to content

Coverage

What Chomp covers today

Proven from code, never guessed. Every box and line on Chomp Map links back to an exact file and line—explore every framework rule Chomp maps today alongside the known gaps we track openly.

v0.2.42 (05a27b5)70 mapped10 known gaps11 stacksPublished Nov 24, 2026

Stacks at a glance

Built-in stacks ship with framework-specific rules on top of plain TypeScript & JavaScript. Partial stacks use the TS/JS base while framework-specific wiring is tracked below.

TypeScript & JS

Built-in

16 mapped · 4 known gaps

Next.js

>=13.4
Built-in

10 mapped · 1 known gap

React

Built-in

5 mapped

Express

Built-in

11 mapped · 2 known gaps

Drizzle

Built-in

4 mapped · 1 known gap

Payload

Built-in

16 mapped

Astro

>=2.0
Built-in

2 mapped

SvelteKit

>=1.0
Built-in

5 mapped

MCP

Built-in

1 mapped

NestJS

TS/JS base

TS/JS base · 1 known gap

React Router

TS/JS base

TS/JS base · 1 known gap

Pattern matrix

Showing 80 of 80 patterns.

  • Exported functions, arrows & deferred exports

    TypeScript & JSFunction
    Mapped

    Maps exported function declarations, arrow/const functions, callable object-literal exports, and trailing export { fn } clauses.

  • Classes, public methods, getters & inheritance

    TypeScript & JSClass
    Mapped

    Extracts classes, public methods, static helpers, get accessors, extends inheritance chains, and new Class() instantiation links.

  • Factory returns, chained calls & typed parameters

    TypeScript & JSConnection
    Mapped

    Traces calls on factory-returned instances (createService().run()), fluent builder chains, ReturnType<typeof fn> types, and interface sub-properties.

  • First-class callbacks & dispatch tables

    TypeScript & JSConnection
    Mapped

    Connects functions passed by reference into callbacks (items.map(fn), .then(fn)) and object/map handler dispatch tables.

  • ESM imports, barrels & tsconfig path aliases

    TypeScript & JSConnection
    Mapped

    Resolves cross-workspace imports, .js to .ts aliases, multi-hop barrel re-exports, and tsconfig.json paths / baseUrl aliases without tsc.

  • External HTTP, database & system I/O exits

    TypeScript & JSExternal call
    Mapped

    Detects fetch, HTTP clients, database drivers, node:fs mutations, node:child_process, WebSockets, and stitches internal fetch("/api/...") calls to matching routes.

  • Honest dynamic execution markers

    TypeScript & JSExternal call
    Mapped

    Marks non-literal await import(dynamicPath), eval(), and unprovable dynamic calls as ? unresolved instead of guessing a link.

  • Input & output type signatures

    TypeScript & JSSchema
    Mapped

    Records syntactically present parameter types, return types, and Zod validator schemas directly onto mapped nodes.

  • Route handler

    Next.jsRoute>=13.4
    Mapped

    An exported HTTP-method function (or export const { GET, POST } = handlers) in app/**/route.<ext> is an HTTP endpoint.

  • Page

    Next.jsPage>=13.4
    Mapped

    The default-exported function of app/**/page.<ext> is the page for its route.

  • Layout

    Next.jsLayout>=13.4
    Mapped

    The default-exported function of app/**/layout.<ext> is the layout for its route segment.

  • Lifecycle export

    Next.jsPage>=13.4
    Mapped

    An exported generateMetadata or generateStaticParams function/const in app/**/{page,layout}.<ext> is a Next.js App Router lifecycle entry point.

  • Middleware

    Next.jsMiddleware
    Mapped

    export { X as middleware } or a default-exported function in middleware.<ext> is the request middleware.

  • Route segment config

    Next.jsRoute
    Mapped

    An exported route segment config constant (dynamic, revalidate, runtime, ...).

  • Metadata

    Next.jsConfig
    Mapped

    export const metadata = { ... } declares the segment metadata.

  • Cache invalidation

    Next.jsExternal call
    Mapped

    A call to revalidatePath() / revalidateTag() reaches beyond the code: the Next.js data cache.

  • Server action

    Next.jsServer action>=14
    Mapped

    An exported function under a file-level or function-level 'use server' directive is a Server Action: callable from the client, executed on the server.

  • Dynamic component render

    Next.jsConnection
    Mapped

    A JSX element whose tag is bound via Next.js dynamic(() => import(...)) renders the target component.

  • HOC wrapped component

    ReactFunction
    Mapped

    export const X = memo(fn) / React.forwardRef(fn) (also nested) exports a component. The exported constant is the node, and calls inside the wrapped function belong to it.

  • Imported component render

    ReactConnection
    Mapped

    A JSX element whose Capitalized tag is statically imported from a local module renders that module’s exported component.

  • Dynamic component render

    ReactConnection
    Mapped

    A JSX element whose tag is bound via React.lazy(() => import(...)) / lazy(() => import(...)) renders the target component.

  • Same file component render

    ReactConnection
    Mapped

    A JSX element whose tag names a function or wrapped component exported from the same source file renders it, with no import to prove it. A tag with no proven same-file export yields no edge.

  • Namespaced component render

    ReactConnection
    Mapped

    A JSX property-access element (<Form.Input />) renders the proven target component via namespace import, compound object, or same-file export.

  • Route

    ExpressRoute
    Mapped

    An Express route registration (app.get(path, handler), router.post(path, handler), app.route(path)) is an HTTP route.

  • Middleware

    ExpressMiddleware
    Mapped

    app.use([path], middleware) registers a request-intercepting middleware.

  • Route parameter

    ExpressRoute
    Mapped

    app.param(name, callback) / router.param([names], callback) registers a route parameter handler.

  • Content negotiation

    ExpressRoute
    Mapped

    res.format({ ... }) declares an Accept-header content negotiation branch table.

  • App listen

    ExpressExternal call
    Mapped

    app.listen(...) / server.listen(...) opens a network listener.

  • Response cookie

    ExpressExternal call
    Mapped

    res.cookie(name, ...) / res.clearCookie(name) mutates client response cookies.

  • Dynamic methods

    ExpressRoute
    Mapped

    methods.forEach(...) dynamically attaches HTTP verb methods onto the Express application/router prototype.

  • Use middleware

    ExpressConnection
    Mapped

    app.use([pathPrefix], middleware) mounts a middleware to intercept requests under pathPrefix.

  • Router mount

    ExpressConnection
    Mapped

    app.use([pathPrefix], router) mounts a sub-router module under pathPrefix.

  • Route middleware

    ExpressConnection
    Mapped

    Intermediate arguments in app.<method>(path, mw1, ..., handler) intercept requests on that route.

  • Route handler

    ExpressConnection
    Mapped

    A referenced final argument in app.<method>(path, ..., handler) binds the route to that handler node.

  • Tool

    MCPTool
    Mapped

    server.tool(name, ..., handler) declares an MCP tool endpoint node and emits a registration link from the enclosing scope.

  • Schema

    DrizzleSchema
    Mapped

    A variable initialized with pgTable / mysqlTable / sqliteTable / pgEnum declares a Drizzle database schema node.

  • Query chain

    DrizzleExternal call
    Mapped

    The topmost call of a db.select/insert/update/delete/execute/transaction fluent chain or db.query.<table>.findFirst/findMany relational query is a database query connector, paired with a read/write link when a schema table is referenced.

  • Collection config

    PayloadSchema
    Mapped

    const X: CollectionConfig = { ... } declares a Payload collection node.

  • Global config

    PayloadSchema
    Mapped

    const X: GlobalConfig = { ... } declares a Payload global node.

  • Block

    PayloadFunction
    Mapped

    const X: Block = { ... } declares a Payload content block node.

  • Task

    PayloadFunction
    Mapped

    const X: TaskConfig = { ... } declares a Payload background job task node.

  • Fields

    PayloadFunction
    Mapped

    fields: [...] inside a Payload config declares its schema fields node.

  • Endpoints

    PayloadRoute
    Mapped

    endpoints: [...] inside a Payload config declares custom REST endpoints.

  • Access

    PayloadFunction
    Mapped

    access: { ... } inside a Payload config declares its access control rule.

  • Transaction

    PayloadExternal call
    Mapped

    Calls to initTransaction / commitTransaction / rollbackTransaction / killTransaction.

  • DB adapter operation

    PayloadExternal call
    Mapped

    Direct payload.db.<method>({ collection }) adapter operation, paired with a read/write schema link.

  • Job dispatch

    PayloadExternal call
    Mapped

    payload.jobs.queue(...) / req.payload.jobs.queue(...) dispatches a background job.

  • Local API call

    PayloadExternal call
    Mapped

    payload.<find|create|update|delete|findGlobal|updateGlobal>({ collection | global }) local API call, paired with a read/write schema link.

  • Mongoose operation

    PayloadExternal call
    Mapped

    Model.<method>(...) Mongoose model operation inside Payload.

  • Hook registration

    PayloadConnection
    Mapped

    Hook array registration (beforeChange: [fn], afterRead: [fn], ...).

  • Config registry collection

    PayloadConnection
    Mapped

    buildConfig({ collections: [Posts] }) mounts collections into the Payload config.

  • Config registry global

    PayloadConnection
    Mapped

    buildConfig({ globals: [Header] }) mounts globals into the Payload config.

  • Plugin registration

    PayloadConnection
    Mapped

    buildConfig({ plugins: [seoPlugin(...)] }) registers Payload plugins.

  • Lifecycle export

    AstroFunction>=2.0
    Mapped

    An exported getStaticPaths function or constant in pages/** / src/pages/** is an Astro static route lifecycle entry point.

  • Endpoint handler

    AstroRoute>=3.0
    Mapped

    An exported uppercase HTTP-method handler (GET, POST, ..., ALL) in an Astro endpoint under pages/** / src/pages/** is an HTTP endpoint.

  • Load

    SvelteKitFunction>=1.0
    Mapped

    An exported load function or constant in routes/**/+page.server.<ext> or routes/**/+page.<ext> is a SvelteKit route data loader.

  • Layout load

    SvelteKitFunction>=1.0
    Mapped

    An exported load function or constant in routes/**/+layout.server.<ext> or routes/**/+layout.<ext> is a SvelteKit layout data loader.

  • Actions

    SvelteKitServer action>=1.0
    Mapped

    An exported actions object in routes/**/+page.server.<ext> defines SvelteKit form actions for that route.

  • Server endpoint

    SvelteKitRoute>=1.0
    Mapped

    An exported HTTP-method (GET, POST, ..., fallback) handler in routes/**/+server.<ext> is a SvelteKit server endpoint.

  • Hooks

    SvelteKitMiddleware>=1.0
    Mapped

    An exported SvelteKit hook (handle, handleFetch, handleError, init, reroute, transport) in hooks.server.<ext>, hooks.client.<ext>, or src/hooks.<ext> is a framework request middleware.

  • Server only guard

    TypeScript & JSFunction
    Mapped

    Bare side-effect import 'server-only' asserting a server-bundle boundary.

  • Define property getter

    TypeScript & JSFunction
    Mapped

    Object.defineProperty(obj, name, ...) or defineGetter(obj, name, ...) property getter.

  • NextAuth factory destructure

    TypeScript & JSFunction
    Mapped

    Exported NextAuth(...) factory assignment or destructured auth interface exports.

  • Drizzle exported validator

    DrizzleSchema
    Mapped

    Exported Drizzle-Zod validator schema (createInsertSchema / createSelectSchema).

  • Drizzle namespaced table schema

    DrizzleSchema
    Mapped

    Exported property-access pgTable schema (e.g. schema.pgTable(...)).

  • Zod exported validator

    TypeScript & JSSchema
    Mapped

    Exported Zod validator schema (z.object / z.discriminatedUnion).

  • CommonJS prototype method

    TypeScript & JSFunction
    Mapped

    Prototype method assignment (Class.prototype.method = function() {}).

  • CommonJS export alias

    TypeScript & JSFunction
    Mapped

    CommonJS aliased export assignment (alias.method = function() {}).

  • CommonJS dynamic method

    TypeScript & JSMethod
    Mapped

    Dynamic element-access CommonJS method assignment (app[method] = function() {}).

  • CommonJS export

    TypeScript & JSFunction
    Mapped

    CommonJS module.exports / exports.<name> export.

  • Same-file Drizzle table passed into Zod schema helpers

    DrizzleConnection
    Known gap

    Passing a same-file Drizzle table into a schema generator (createSelectSchema(table)) does not yet emit a reference link between them.

  • Controller classes passed in server options arrays

    ExpressConnection
    Known gap

    Controller classes registered via a server options array (controllers: [UsersController]) are not yet linked to the server factory.

  • Loop-mounted Express router descriptor tables

    ExpressConnection
    Known gap

    Routers instantiated and mounted dynamically inside an array loop (routes.forEach(...)) are marked ? unresolved.

  • NestJS @Module providers & guard decorators

    NestJSConnection
    Known gap

    Classes wired through NestJS @Module providers/exports arrays or @UseGuards / @UseInterceptors decorators are not yet linked automatically.

  • JSX anchor and image links to internal API routes

    Next.jsConnection
    Known gap

    JSX <a href="/api/..."> and <img src="/api/..."> attributes targeting local Next.js API routes are not yet linked as frontend-to-backend edges.

  • React Router LoaderArgs.context injections

    React RouterConnection
    Known gap

    Method calls invoked through React Router LoaderArgs.context injected by getLoadContext are marked ? unresolved until bridged.

  • Computed key lookups on imported factory maps

    TypeScript & JSConnection
    Known gap

    Dynamic bracket lookups on imported factory registries (factories[kind].run()) cannot be proved statically and are marked ? unresolved.

  • Top-level dynamic await import() module entry points

    TypeScript & JSConnection
    Known gap

    Top-level await import("./server/index") bootstrap calls are marked as dynamic exits rather than resolving to the target module default export.

  • Imported functions spread into exported config arrays or maps

    TypeScript & JSConnection
    Known gap

    Imported functions placed inside exported config objects or spread arrays (export const config = [...base]) do not yet emit usage links.

  • Methods passed as callbacks into new Constructor(...)

    TypeScript & JSConnection
    Known gap

    Methods passed as callback arguments into class constructors (new Strategy(opts, AuthService.verify)) are not yet linked automatically.

What “? N unresolved” means

Where code is too dynamic for static analysis to prove, Chomp marks ? N unresolved instead of faking a connection and groups similar calls by shape. You can inspect the exact line in Chomp Map or wire custom wrappers, dependency injection, and event buses locally with the Bridges plugin (chomp_local_shims).

Missing a framework or internal wrapper?

Connect proprietary wrappers or custom DI locally today with the Bridges plugin—or work with us through Founding Teams for custom framework rules tailored to your stack.