# danvk/effective-typescript

Effective TypeScript 2nd Edition: 83 Specific Ways to Improve Your TypeScript

Repository: https://github.com/danvk/effective-typescript
Canonical: https://ross.abutalabs.com/products/effective-typescript
Homepage: https://effectivetypescript.com
License: NOASSERTION
License Family: other
Topics: utterances, typescript, books
Last push: 2025-12-19T20:18:22+00:00

## Health v2 (maintenance only)
Score: 49/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 58, release rhythm 8, longevity 100
- inputs: {"age_days": 2510, "days_push": 257, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1842, forks 272 (observed 2026-08-28T04:05:43.207418+00:00)

## What it is
The companion code-sample repository for the book 'Effective TypeScript: 83 Specific Ways to Improve Your TypeScript' (O'Reilly, 2nd Edition, 2024) by Dan Vanderkam. It contains verified, runnable TypeScript samples for every item in the book, each with 'Things to Remember' summaries and TypeScript playground links.

## Use cases
- learn typescript best practices
- improve my typescript type safety
- find typescript code examples for common patterns
- understand differences between type and interface
- reduce use of any in typescript
- study for a typescript interview
- get actionable advice on typescript type design

## When to choose
- you are reading the book and want the accompanying code samples
- you want curated, verified examples of TypeScript idioms and pitfalls
- you want structured, item-by-item learning material for TypeScript

## When to avoid
- you want a runnable library or tool rather than educational material
- you need a complete TypeScript tutorial without buying the book, since samples assume book context
- you are not working in the TypeScript/JavaScript ecosystem

## Facets
- artifact type: learning-resource
- maturity: active
- function: developer-tools, type-system, documentation
- domain: programming-languages, tutorials, web-development, developer-tools
- platform: cross-platform
- tags: typescript, book, code-samples, oreilly, type-safety, javascript, nodejs

## Member repositories
- danvk/effective-typescript (main) score 49

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:43.207418+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T03:17:59.218336+00:00, confidence not recorded.
  - readme: https://github.com/danvk/effective-typescript (fetched 2026-08-28T04:05:43.207418+00:00, sha 3f022ea078a4)
  - homepage: https://effectivetypescript.com (fetched 2026-08-29T10:57:23.104570+00:00, sha e109b2286494)
  - site_page: https://effectivetypescript.com/2023/05/31/jsdoc-repeat (fetched 2026-08-29T10:57:23.115169+00:00, sha d0b61f44c122)
- Data as of 2026-08-30T08:39:29.467469+00:00.
