ts-mocha

Mocha thin wrapper that allows running TypeScript tests with TypeScript runtime (ts-node) to get rid of compilation complexity

ts-mocha@11.1.0 was published on 2025-02-20. Its manifest declares 0 runtime dependencies and 3 peer requirements. Bundled type declarations are not declared in the inspected metadata. The declared Node.js requirement is >= 6.X.X.

All ts-mocha versions · Permanent reference to 11.1.0 · View npm registry JSON

Package specifications

Version11.1.0
License declarationMIT
Published2025-02-20T18:22:41.213Z
Node.js requirement>= 6.X.X
Type declarationsNot declared
Runtime dependency count0
Peer requirement count3
Optional dependency count0
Minified sizeMeasurement not available yet
Minified + gzipMeasurement not available yet
Unpacked distribution size10.05 KiB
Published file count5
Package typeNot declared
ES module entryNot declared
Default entrysrc/index.js
Side effects declarationNot declared
Direct advisories0
Resolved graph dependencies0
Repository stars196
Repository forks27

Install ts-mocha 11.1.0

npm install ts-mocha@11.1.0
pnpm add ts-mocha@11.1.0
yarn add ts-mocha@11.1.0

Runtime dependencies

  • None declared

Peer requirements

  • mocha ^3.X.X || ^4.X.X || ^5.X.X || ^6.X.X || ^7.X.X || ^8.X.X || ^9.X.X || ^10.X.X || ^11.X.X
  • ts-node ^7.X.X || ^8.X.X || ^9.X.X || ^10.X.X
  • tsconfig-paths ^4.X.X (optional peer)

Optional dependencies

  • None declared

Resolved dependency graph

This deps.dev graph describes a generic 64-bit Linux environment, not your application lockfile.

    How to interpret the specifications

    Bundlephobia measurements use its standard package build and may exclude peer dependencies. Unpacked npm distribution size includes shipped files and is a different measurement. Module declarations do not prove tree-shaking or runtime compatibility.

    Advisories apply to this package version directly; transitive dependencies need separate inspection. Repository signals describe the whole repository and are current observations, including on historical-version pages.

    OpenSSF repository checks

    Provider assessment: 2026-08-24T00:00:00Z. These are repository checks, not a jsL maintenance score.

    Code-Review2/10 — Found 7/30 approved changesets -- score normalized to 2
    Dangerous-Workflow10/10 — no dangerous workflow patterns detected
    Token-Permissions0/10 — detected GitHub workflow tokens with excessive permissions
    Maintained0/10 — 0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
    Pinned-Dependencies2/10 — dependency not pinned by hash detected -- score normalized to 2
    Binary-Artifacts10/10 — no binaries found in the repo
    CII-Best-Practices0/10 — no effort to earn an OpenSSF best practices badge detected
    Fuzzing0/10 — project is not fuzzed
    Security-Policy0/10 — security policy file not detected
    License10/10 — license file detected
    SAST0/10 — SAST tool is not run on all commits -- score normalized to 0

    Evidence and freshness