# @blitz/textmate

> TextMate Grammars for StackBlitz

Latest version **0.4.11** (published 2025-10-07) · MIT license · 0 weekly downloads

## Install

```sh
npm install @blitz/textmate
pnpm add @blitz/textmate
yarn add @blitz/textmate
bun add @blitz/textmate
```

## Health

**Score 55/100 (C)** — status: stable.

Positive: has types; no vulnerabilities; high quality score.

Warnings: low downloads; no esm support; pre 1.0.

## Facts

| | |
|---|---|
| Version | 0.4.11 |
| Published | 2025-10-07 |
| First published | 2021-03-15 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 1.9 MB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 15 |
| Author | Sam Verschueren |
| Maintainers | apai4, stackblitz-devops, ericmsimons, stackblitz-unpkg, d3lm, kwintenp, samverschueren, tsulkowski, _rvidal, nemikolh, petergrace, alexkalderimis, kirjava, aslemammad, selfcommit, tmickleydoyle, kevmcgivern, tahul, juliobolt |
| Keywords | textmate, tm, grammars, stackblitz, monaco, editor |

## Links

- npm: https://www.npmjs.com/package/@blitz/textmate
- Repository: https://github.com/stackblitz/textmate
- Homepage: https://github.com/stackblitz/textmate#readme
- Issues: https://github.com/stackblitz/textmate/issues
- npm.io page: https://npm.io/package/@blitz/textmate

## Alternatives

- [@tsparticles/shape-image](https://npm.io/package/@tsparticles/shape-image.md) — 303.7K weekly downloads
- [@tsparticles/shape-line](https://npm.io/package/@tsparticles/shape-line.md) — 233.7K weekly downloads
- [stringify-attributes](https://npm.io/package/stringify-attributes.md) — 58.6K weekly downloads
- [mobile-drag-drop](https://npm.io/package/mobile-drag-drop.md) — 46.3K weekly downloads
- [@comunica/actor-rdf-parse-html](https://npm.io/package/@comunica/actor-rdf-parse-html.md) — 29.2K weekly downloads

## Recent versions

- 0.4.11 (latest) — 2025-10-07
- 0.4.10 — 2025-09-30
- 0.4.9 — 2025-09-30
- 0.4.8 — 2025-04-22
- 0.4.7 — 2024-08-02
- 0.4.6 — 2024-07-03
- 0.4.5 — 2023-11-30
- 0.4.4 — 2023-11-16
- 0.4.3 — 2023-11-06
- 0.4.2 — 2023-09-15
- 0.4.1 — 2022-05-09
- 0.4.0 — 2021-08-30
- 0.3.0 — 2021-07-20
- 0.2.0 — 2021-06-23
- 0.1.4 — 2021-06-21
- … 4 more at https://npm.io/package/@blitz/textmate/versions

## README

# @blitz/textmate

[![CI](https://github.com/stackblitz/textmate/workflows/CI/badge.svg)](https://github.com/stackblitz/textmate/actions/workflows/main.yaml)

> TextMate Grammars for StackBlitz


## Install

```
$ npm install @blitz/textmate
```


## API

### languages

List of TextMate grammar `LanguageDefinition`s.

### grammars

List of TextMate grammar `GrammarDefinition`s.

### getGrammarLocation(definition)

Retrieve the location of the grammar file for the provided definition.

#### definition

Type: `object`

Definition to retrieve the grammar location for.

### getLanguageConfigurationLocation(definition)

Retrieve the location of the language configuration file for the provided language definition.

#### definition

Type: `object`

Language definition to retrieve the language configuration location for.

### isGrammarDefinition(definition)

Check if the provided definition is a `GrammarDefinition`.

#### definition

Type: `object`

The definition to check for.

### isLanguageDefinition(definition)

Check if the provided definition is a `LanguageDefinition`.

#### definition

Type: `object`

The definition to check for.

---
_Source: https://npm.io/package/@blitz/textmate · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
