Skip to content
PluginStats

@load28/unplugin-tt weekly downloads statistics

By load28 · npm · Webpack plugins

Compile .tt and .ttx modules with ttc in Vite, Rollup, webpack, Rspack, esbuild and Farm

View on npm Outdated · Nov 8, 2026

@load28/unplugin-tt has 45 recorded weekly downloads on npm, an increase of 25.0% over the past 30 days, ranking #2795 of 3,247 tracked listings.

Weekly downloads
45
Official API · Dec 5, 2026
7-day growth
+66.7%
+18 weekly downloads
30-day growth
+25.0%
+9 weekly downloads
90-day growth
-69.0%
-100 weekly downloads
Rank
#2795
▼ 56 in 7 days

About @load28/unplugin-tt

@load28/unplugin-tt

.tt과 .ttx 모듈을 번들러에서 그대로 import합니다. 중간 .ts/.tsx 트리를 만들지 않고, 번들러가 소스를 직접 읽습니다.

unplugin 기반이라 구현은 하나이고 번들러별 서브패스로 갈라져 나갑니다.

// vite.config.ts
import { defineConfig } from "vite";
import tt from "@load28/unplugin-tt/vite";

export default defineConfig({ plugins: [tt()] });
// src/main.ts — 평범한 TypeScript
import { Notice, render } from "./notice.tt";

컴파일러는 @load28/tt-lang을 함께 설치하면 자동으로 찾습니다 (npm install --save-dev @load28/tt-lang@next @load28/unplugin-tt@next). @load28/tt-lang이 없으면 PATH의 ttc(cargo install --path .)로 폴백합니다.

서브패스

import상태
@load28/unplugin-tt/vite예제(tt-interop)로 검증
@load28/unplugin-tt/esbuild번들·실행 검증
@load28/unplugin-tt/rollup, /rolldown, /webpack, /rspack, /farmunplugin이 제공하는 어댑터 — 미검증

@load28/unplugin-tt를 그대로 import하면 unplugin 객체와 vitePlugin· esbuildPlugin 같은 이름들이 나옵니다.

동작

단계하는 일
resolveId.tt/.ttx 지정자를 파일 경로로 풀고 각각 .ts/.tsx를 덧붙인 가상 id를 돌려줍니다. @tt/std, @tt/std/option, @tt/std/result는 각각 가상 모듈 id로 바꿉니다
loadttc -p --rewrite-imports off의 출력을 돌려줍니다. 표준 라이브러리와 파이프 런타임은 모듈별 `ttc --emit-std types

id에 .ts 또는 .tsx를 붙이는 이유는 호스트의 TypeScript 처리에 그대로 태우기 위해서입니다. 덕분에 플러그인이 변환을 직접 하지 않습니다. 다만 esbuild의 load는 JavaScript만 반환할 수 있어서, 그 경로에는 소스 종류에 맞는 ts/tsx loader를 명시합니다.

--rewrite-imports off인 것도 의도입니다. 지정자 재작성은 미리 컴파일하는 파이프라인을 위한 기능이고, 여기서는 .tt이 그대로 남아야 이 플러그인이 다음 모듈도 잡습니다.

컴파일 에러는 ttc의 진단이 그대로 빌드 에러가 됩니다.

[@load28/unplugin-tt] src/notice.tt:22:16: match on enum Notice is not exhaustive:
              missing "Warn" (add the missing arms or a final `_` arm)

옵션

옵션기본값설명
compiler설치된 @load28/tt-lang의 바이너리, 없으면 "ttc"ttc 실행 파일 경로
verifytruefalse면 --no-verify를 넘겨 방출물 자가 검사를 생략합니다

타입 선언(index.d.ts와 서브패스별 .d.ts)을 함께 싣습니다 — 소비자가 vite.config.ts를 타입 검사에 넣어도 tt()의 옵션이 그대로 검사됩니다.

타입은 별도입니다

번들러 플러그인은 런타임만 해결합니다. .ts 파일이 .tt을 import할 때 타입 검사와 정의 이동이 동작하려면 사이드카가 필요하고, 그건 ttc가 만듭니다.

ttc --types src/        # .tt-types/<이름>.tt.d.ts + .map

CLI에서 ttc help workflow를 실행하거나 VSCode 확장을 참조하세요. 확장은 저장할 때마다 사이드카를 갱신합니다.

알려진 제약

  • enforce: "pre"는 Rollup·esbuild에서 무시됩니다 (unplugin 문서의 지원 훅 표). 그 두 곳에서는 플러그인 순서를 직접 앞에 두세요.
  • resolveId는 Rspack·Rsbuild에서 최신 버전을 요구합니다.

Description from the npm listing.

  • unplugin
  • vite-plugin
  • rollup-plugin
  • webpack-plugin
  • esbuild-plugin
  • tt
  • typescript

README badge

Show your rank in a README or on your website. The badge updates automatically.

Charts

Images: 30d · 1y · all time · 1600×900 dark

Adoption over time

@load28/unplugin-tt weekly downloads on npm, last 90 days: 45 weekly downloads as of Dec 5, 2026, -69.0% over 90 days.@load28/unplugin-ttWeekly downloads on npm · Last 90 days45downloads / week-69.0% over 90 days020406080100120Sep 6Sep 21Oct 6Oct 21Nov 5Nov 20Dec 5downloads / weekobservedarchived (Internet Archive)no observationsSep 7, 2026 – Dec 5, 2026 · 90 observations · Updated Dec …pluginstats.com
@load28/unplugin-tt weekly downloads on npm, last 90 days: 45 weekly downloads as of Dec 5, 2026, -69.0% over 90 days.

7/30/90-day growth

@load28/unplugin-tt weekly downloads growth on npm: +66.7% over 7 days, +25.0% over 30 days, -69.0% over 90 days.@load28/unplugin-ttWeekly downloads growth on npm45downloads / week now7-day growth+18 weekly downloads+66.7%30-day growth+9 weekly downloads+25.0%90-day growth-100 weekly downloads-69.0%Growth vs. nearest observation to each baseline date · Updated Dec 5, 2026pluginstats.com
@load28/unplugin-tt weekly downloads growth on npm: +66.7% over 7 days, +25.0% over 30 days, -69.0% over 90 days.

Ranking history

@load28/unplugin-tt npm ranking history: currently #2795 (by weekly downloads).@load28/unplugin-ttnpm ranking · by weekly downloads · Last 90 days#2795current rank#500#1000#1500#2000#2500#3000#3500Sep 7Sep 22Oct 7Oct 22Nov 6Nov 21Dec 6rankOct 17, 2026 – Dec 6, 2026 · 28 observations · Updated Dec 5, 2026pluginstats.com
@load28/unplugin-tt npm ranking history: currently #2795 (by weekly downloads).

Listing placement

All npm3,247 listings · 163 pages · 1,084 shown · page 140, #15 (overall #2,795)
All npm: every listing in weekly downloads order

Listing placement

Webpack plugins349 listings · 18 pages · page 13, #5 (overall #245)
Webpack plugins: every listing in weekly downloads order

Filled points are observed values; hollow points come from Internet Archive snapshots of the listing page. Dashed segments span periods with no observations — values between points are not interpolated.

Each band is one page of 20. Weekly downloads on a linear scale. Placement is projected from weekly downloads, so it can differ from the marketplace's own sort order. Hover a dot to see the listing.

Recent observations

Full history (592)
Recent weekly downloads observations for @load28/unplugin-tt
Date (UTC)Weekly downloadsChange vs. previous
45-1
460
46+26
20-4
24+1
23+1
22-5
27+1
260
260
260
26+1
25+14
11—

Similar npm Webpack plugins plugins

All 20 @load28/unplugin-tt alternatives

Data source

Weekly downloads (trailing 7 complete days) come from the official npm downloads API. Downloads include CI and mirrors and are not equivalent to installs or users. npm publishes no ratings.

Listing: https://www.npmjs.com/package/@load28/unplugin-tt. First seen Oct 16, 2026; last successful collection Nov 8, 2026. See the methodology.