# isaacs/tshy

Repository: https://github.com/isaacs/tshy
Canonical: https://ross.abutalabs.com/products/tshy
Homepage: https://isaacs.github.io/tshy/
Language: JavaScript
License: BlueOak-1.0.0
License Family: other
Last push: 2026-06-08T14:55:59+00:00

## Health v2 (maintenance only)
Score: 66/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 86, release rhythm 35, longevity 77
- inputs: {"age_days": 1087, "days_push": 86, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1041, forks 24 (observed 2026-08-28T04:03:20.630678+00:00)

## What it is
tshy (TypeScript HYbridizer) is a build tool that compiles TypeScript packages into both ESM and CommonJS output using tsc, and automatically manages the package.json exports map. It is designed to make Node.js packages work seamlessly in both module systems.

## Use cases
- build a TypeScript npm package that works in both ESM and CommonJS
- generate package.json exports for dual-format publishing
- compile TypeScript to dist/esm and dist/commonjs
- avoid manual dual-package build configuration
- publish a hybrid module package to npm

## When to choose
- you maintain an npm library that must support both require() and import
- you want tsc-based builds with automatic exports management
- you prefer a zero-config hybrid package builder

## When to avoid
- you only target ESM and don't need CommonJS output
- you need bundling or minification rather than plain tsc transpilation
- you want dual-package hazard mitigation via ESM wrappers over CJS

## Facets
- artifact type: cli-tool
- maturity: active
- function: build-tool, cli, developer-tools
- domain: developer-tools, web-development, programming-languages
- platform: cli, cross-platform
- tags: typescript, esm, commonjs, dual-package, package-builder, npm, nodejs

## Member repositories
- isaacs/tshy (main) score 66

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:20.630678+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-30T07:02:57.190879+00:00, confidence not recorded.
  - readme: https://github.com/isaacs/tshy (fetched 2026-08-28T04:03:20.630678+00:00, sha 9e4388b20340)
  - homepage: https://isaacs.github.io/tshy/ (fetched 2026-08-29T13:03:56.143334+00:00, sha 9063d11851d5)
  - registry_npm: https://registry.npmjs.org/tshy (fetched 2026-08-29T13:03:56.153230+00:00, sha fbf81fe58957)
- Data as of 2026-08-30T08:39:29.467469+00:00.
