.ts
7 claimants
3 primary
1 secondary
shared primary (3)
SWH popularity
Distinct files in the full Software Heritage archive (2026-06-04 export), dated by first appearance, following Desmazières, Di Cosmo, Lorentz (MSR 2025). Case-aggregated. citation.
467.8M
total files
318.2M
first seen 2021–2025 (68.0%)
2022
median year (half its files since)
Case variants in archive: .ts (467.8M), .TS (3.9K), .Ts (974), .tS (12) — aggregated above.
Attribution status
This extension is attributed to Dirac; TorqueScript; TypeScript as primary by 5 authoritative claims.
Claimants (9)
Languages that list
.ts among their extensions. Strength reflects whether the upstream source treated it as their primary extension.| Language | Source | Strength |
|---|---|---|
| Dirac | wikidata | primary |
| TorqueScript | pygments | primary |
| TypeScript | linguist | primary |
| TypeScript | pygments | primary |
| TypeScript | wikidata | primary |
| xml | linguist | secondary |
| ArkTS | wikipedia | proposed |
| AssemblyScript | wikipedia | proposed |
| Tritium (programming language) | wikipedia | proposed |
Wikidata says… (4)
File formats, image formats, audio codecs and other non-PL
entities that claim
.ts on Wikidata
(property P1195) or in the Wikipedia infobox.
Source: data/derived/external_extension_index.csv.
Click Use as new PL on any row to open the
Add-PL form pre-filled with that entry's name, Wikipedia/Wikidata
URL, and this extension — one submission creates the PL + claim.
| Format | Class (Wikidata P31) | Suggested label | MIME | Notes | Action |
|---|---|---|---|---|---|
| Dirac Q604279 video compression format | free software; file format | binary:archive | — | — | Use as new PL ↗ |
| MPEG-2 transport stream Q1194435 digital video format used for storage network transmission | file format; multimedia container | binary:video | video/mp2t | — | Use as new PL ↗ |
| Qt Translation source file Q105851171 file format | file format | — | text/xml | — | Use as new PL ↗ |
Disambiguation rules (2)
Linguist heuristics that decide, by content, which language a
.ts file actually is.| Rule | Predicts | Kind | Predicates (truncated) | Measured on SWH |
|---|---|---|---|---|
h/linguist/.ts/0 | xml | predicates | [{"kind": "any", "regexes": ["<TS\\b"]}] | |
h/linguist/.ts/1 | TypeScript | default | [] |
SWH-mined examples (0)
No archived examples for .ts in our local mirror yet.