A utility library for JavaScript and TypeScript.
This report summarizes scanner evidence for remeda/remeda, a TypeScript project with 5,449 GitHub stars. SynthScan examined 113,992 lines of code across 1106 source files, recording 47 pattern matches distributed across 3 syntactic categories. The legacy adjusted pattern signal is 0.5 (Low pattern signal); it is not an authorship estimate.
Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.
Use each vector to guide manual verification of the underlying findings.
Payload schema: 1.0.0 · Engine: 2.0.0 · Scoring: heuristic-density-v1 · Scan date: 2026-10-31.
Can maintainers explain intent, assumptions, and trade-offs? 47 finding(s).
Are imports declared and package/API names verified? 0 finding(s).
Are wrappers, guards, and repeated structures necessary? 15 finding(s).
Which changes need focused human review? 47 finding(s).
This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.
Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.
This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.
The scanner identified 47 distinct pattern matches across 3 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.
Reading the findings table: The Severity column indicates the configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | packages/docs/src/components/search.tsx | 41 | `url_without_anchor:${site?.origin ?? ""}${pathname}`, | COMMENT |
| LOW | packages/remeda/tsdown.config.ts | 81 | //! Even the programmatic `build` API tries to load the default config | COMMENT |
| LOW | packages/remeda/tsdown.config.ts | 141 | chunks | COMMENT |
| LOW | packages/remeda/src/groupByProp.ts | 41 | Prop extends GroupableProps<T>, | COMMENT |
| LOW | packages/remeda/src/groupByProp.ts | 61 | // because our mapped type would never run; but this doesn't represent the | COMMENT |
| LOW | packages/remeda/src/groupByProp.ts | 201 | COMMENT | |
| LOW | packages/remeda/src/startsWith.test-d.ts | 621 | // `startsWith("cat" as "cat" | "dog", "bird")` is (see "reject disjoint | COMMENT |
| LOW | packages/remeda/src/startsWith.test-d.ts | 721 | // needs `T` to find the prefix dead, doesn't match and the generic | COMMENT |
| LOW | packages/remeda/src/find.ts | 21 | // We distribute the array type to support unions of arrays/tuples. | COMMENT |
| LOW | packages/remeda/src/sample.ts | 181 | COMMENT | |
| LOW | …a/src/funnel.lodash-throttle-with-cached-value.test.ts | 101 | // (https://github.com/lodash/lodash/blob/4.17.21/test/test.js#L22768). They | COMMENT |
| LOW | packages/remeda/src/endsWith.ts | 61 | // suffix instead of any of them. Only one of them is the suffix at runtime, and | COMMENT |
| LOW | packages/remeda/src/endsWith.ts | 81 | // suffixes, which is exactly the kind of uncertainty that we are | COMMENT |
| LOW | packages/remeda/src/endsWith.ts | 201 | // the returned predicate; without one it falls back to `string`, which only | COMMENT |
| LOW | packages/remeda/src/stringToPath.ts | 1 | import type { IsNumericLiteral, IsStringLiteral } from "type-fest"; | COMMENT |
| LOW | packages/remeda/src/stringToPath.ts | 101 | // - `quoted`, `doubleQuoted`: used within square bracket notation to prevent | COMMENT |
| LOW | packages/remeda/src/endsWith.test-d.ts | 621 | // Actual: it compiles. `IsDisjointSuffix` short-circuits to `false` | COMMENT |
| LOW | packages/remeda/src/funnel.lodash-debounce.test.ts | 81 | // callback of `debounce`. In Remeda we return a proper object where the | COMMENT |
| LOW | packages/remeda/src/fromEntries.ts | 41 | // For the array case we also need to handle what kind of keys it defines: | COMMENT |
| LOW | packages/remeda/src/pickBy.ts | 21 | // `symbol` keys) we want to "reconstruct" the record from just its | COMMENT |
| LOW | …a/src/funnel.lodash-debounce-with-cached-value.test.ts | 101 | ); | COMMENT |
| LOW | packages/remeda/src/startsWith.ts | 61 | // prefix instead of any of them. Only one of them is the prefix at runtime, and | COMMENT |
| LOW | packages/remeda/src/startsWith.ts | 81 | // prefixes, which is exactly the kind of uncertainty that we are | COMMENT |
| LOW | packages/remeda/src/startsWith.ts | 201 | // the returned predicate; without one it falls back to `string`, which only | COMMENT |
| LOW | packages/remeda/src/internal/requireData.ts | 81 | ): boolean => | COMMENT |
| LOW | packages/remeda/src/internal/types/Resolved.ts | 1 | // Acts as a "inference" point that forces TypeScript to resolve during a deep | COMMENT |
| LOW | …ges/remeda/src/internal/types/NonEmptyPrefix.test-d.ts | 101 | expectTypeOf(result).toEqualTypeOf<[string, string?, string?]>(); | COMMENT |
| LOW | packages/remeda/src/internal/types/NonEmptyPrefix.ts | 61 | // the rest item. | COMMENT |
| LOW | packages/remeda/src/internal/types/ArrayAt.ts | 41 | // might be of that element's type, but it also could be any | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | .claude/hooks/lib/stop-handlers.ts | 90 | export function readonlyCommandStopHandler( | CODE |
| LOW | .claude/hooks/lib/stop-handlers.ts | 104 | export function mutatingCommandStopHandler( | CODE |
| LOW | packages/brand/scripts/generate-assets.ts | 73 | async function injectDocumentationSiteAssets(): Promise<void> { | CODE |
| LOW | packages/remeda/tsdown.config.ts | 129 | async function injectAdditionalTypeDeclarations({ | CODE |
| LOW⚡ | packages/remeda/src/purry.test-d.ts | 105 | function subtractWithMatchingOverloads( | CODE |
| LOW⚡ | packages/remeda/src/purry.test-d.ts | 109 | function subtractWithMatchingOverloads( | CODE |
| LOW⚡ | packages/remeda/src/purry.test-d.ts | 114 | function subtractWithMatchingOverloads(...args: readonly unknown[]) { | CODE |
| LOW⚡ | packages/remeda/src/purry.test-d.ts | 119 | function subtractWithMismatchedOverload( | CODE |
| LOW⚡ | packages/remeda/src/purry.test-d.ts | 123 | function subtractWithMismatchedOverload( | CODE |
| LOW⚡ | packages/remeda/src/purry.test-d.ts | 128 | function subtractWithMismatchedOverload(...args: readonly unknown[]) { | CODE |
| LOW⚡ | packages/remeda/src/purry.test-d.ts | 135 | function genericDataFirstDeclaredLast(): <T>( | CODE |
| LOW⚡ | packages/remeda/src/purry.test-d.ts | 140 | function genericDataFirstDeclaredLast(...args: readonly unknown[]): unknown { | CODE |
| LOW | packages/remeda/src/randomString.ts | 43 | function randomStringImplementation(length: number): string { | CODE |
| LOW | packages/remeda/src/internal/makeStoppable.test-d.ts | 39 | declare function stoppableGenericEvaluator( | CODE |
| LOW | packages/remeda/src/internal/purryOrderRules.ts | 96 | export function purryOrderRulesWithArgument( | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | packages/remeda/src/conditional.ts | 103 | // TODO [>2]: Exclude previous guarded types from the next functions in the chain. Although this isn't a prefect solut | COMMENT |
| LOW | packages/remeda/src/isEmpty.ts | 53 | // TODO [>2]: remove `undefined` support! (don't forget to update the jsdoc example too!) | COMMENT |
| LOW | .vscode/settings.json | 4 | // the `remeda.code-workspace`. When adding a new package, don't forget to | COMMENT |