# @types/prismjs

> TypeScript definitions for prismjs

Latest version **1.26.6** (published 2026-02-11) · MIT license · 0 weekly downloads

## Install

```sh
npm install @types/prismjs
pnpm add @types/prismjs
yarn add @types/prismjs
bun add @types/prismjs
```

## Health

**Score 65/100 (B)** — status: stable.

Positive: has types; no vulnerabilities; high maintenance score; popular repo; extremely popular.

Warnings: low downloads; no esm support.

## Facts

| | |
|---|---|
| Version | 1.26.6 |
| Published | 2026-02-11 |
| First published | 2016-05-17 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 19.9 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 51438 |
| Maintainers | types |

## Links

- npm: https://www.npmjs.com/package/@types/prismjs
- Repository: https://github.com/DefinitelyTyped/DefinitelyTyped
- Homepage: https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/prismjs
- npm.io page: https://npm.io/package/@types/prismjs

## Recent versions

- 1.26.6 (latest) — 2026-02-11
- 1.26.5 (ts5.1) — 2024-10-23
- 1.26.4 (ts4.7) — 2024-05-06
- 1.26.3 (ts4.6) — 2023-11-07
- 1.26.0 (ts3.9) — 2022-01-27
- 1.16.6 (ts3.6) — 2021-07-07
- 1.16.5 (ts3.5) — 2021-04-10
- 1.16.3 (ts3.4) — 2021-02-15
- 1.16.2 (ts3.2) — 2020-10-28
- 1.16.1 (ts3.1) — 2020-05-15
- 1.16.0 (ts2.8) — 2019-03-26
- 1.9.1 (ts2.5) — 2019-02-13
- 1.26.2 — 2023-10-18
- 1.26.1 — 2023-09-24
- 1.16.8 — 2022-01-24
- … 20 more at https://npm.io/package/@types/prismjs/versions

## README

# Installation
> `npm install --save @types/prismjs`

# Summary
This package contains type definitions for prismjs (http://prismjs.com/).

# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/prismjs.

### Additional Details
 * Last updated: Wed, 11 Feb 2026 10:45:47 GMT
 * Dependencies: none

# Credits
These definitions were written by [Michael Schmidt](https://github.com/RunDevelopment), [ExE Boss](https://github.com/ExE-Boss), [Erik Lieben](https://github.com/eriklieben), [Andre Wiggins](https://github.com/andrewiggins), and [Michał Miszczyszyn](https://github.com/typeofweb).

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