Skip to main content
Scanners

TypeScript Modernity Scanner

Analyze tsconfig.json for strictness, module system, and ESM readiness.

What It Collects

Reads tsconfig.json compiler options to assess strictness and modernity.

Analyzed Options

OptionWhat It Tells Us
TypeScript versionHow current your TS is
strictFull strict mode enabled
noImplicitAnyType safety level
strictNullChecksNull handling
moduleModule system
moduleResolutionResolution strategy
targetOutput ES version
exports in package.jsonESM readiness

Modernity Scoring

LevelCriteria
Modernstrict=true, ESM, TS 5.x
Maturestrict=true, CJS or ESM
Legacystrict=false, older TS

Example Output

{
  "tsModernity": {
    "version": "5.3.3",
    "strict": true,
    "noImplicitAny": true,
    "strictNullChecks": true,
    "module": "ESNext",
    "moduleResolution": "bundler",
    "target": "ES2022",
    "classification": "modern-esm"
  }
}

Related Documentation