@typescript/twoslash 1.1.5

A markup format for TypeScript code, ideal for creating self-contained code samples which let the TypeScript compiler do the extra leg-work. Inspired by the [fourslash test system](https://github.com/orta/typescript-notes/blob/master/systems/testing/fours

@typescript/twoslash@1.1.5 was published on 2021-02-19. Its manifest declares 3 runtime dependencies and 0 peer requirements. Type declarations are bundled according to the package metadata. No Node.js engine requirement is declared in this manifest.

All @typescript/twoslash versions · Permanent reference to 1.1.5 · View npm registry JSON · Latest release

Package specifications

Version1.1.5
License declarationMIT
Published2021-02-19T17:59:46.930Z
Node.js requirementNot declared
Type declarationsBundled declarations
Runtime dependency count3
Peer requirement count0
Optional dependency count0
Minified sizeMeasurement not available yet
Minified + gzipMeasurement not available yet
Unpacked distribution size295.16 KiB
Published file count15
Package typeNot declared
Install lifecycle scriptsNo — no install lifecycle hooks declared
ES module entrydist/twoslash.esm.js
Default entrydist/index.js
Side effects declarationNot declared
Direct advisories0
Resolved graph dependenciesUnknown
Repository stars2564
Repository forks1533

Install @typescript/twoslash 1.1.5

npm install @typescript/twoslash@1.1.5
pnpm add @typescript/twoslash@1.1.5
yarn add @typescript/twoslash@1.1.5

Runtime dependencies

Peer requirements

  • None declared

Optional dependencies

  • None declared

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.

The install lifecycle flag reports whether the npm manifest declares preinstall, install, or postinstall hooks. It does not inspect the hook body and is not a safety or vulnerability verdict. 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-Review10/10 — all changesets reviewed
Maintained10/10 — 19 commit(s) and 1 issue activity found in the last 90 days -- score normalized to 10
Security-Policy10/10 — security policy file detected
Dangerous-Workflow10/10 — no dangerous workflow patterns detected
CII-Best-Practices0/10 — no effort to earn an OpenSSF best practices badge detected
Token-Permissions0/10 — detected GitHub workflow tokens with excessive permissions
License10/10 — license file detected
Binary-Artifacts10/10 — no binaries found in the repo
Branch-Protection8/10 — branch protection is not maximal on development and all release branches
Pinned-Dependencies9/10 — dependency not pinned by hash detected -- score normalized to 9
Fuzzing0/10 — project is not fuzzed
SAST10/10 — SAST tool is run on all commits

Evidence and freshness