# @wiris/mathtype-html-integration-devkit

> Allows to integrate MathType Web into any JavaScript HTML WYSIWYG rich text editor.

Latest version **1.17.16** (published 2026-09-17) · MIT license · 0 weekly downloads

## Install

```sh
npm install @wiris/mathtype-html-integration-devkit
pnpm add @wiris/mathtype-html-integration-devkit
yarn add @wiris/mathtype-html-integration-devkit
bun add @wiris/mathtype-html-integration-devkit
```

## Health

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

Positive: no vulnerabilities; recently updated; high maintenance score.

Warnings: low downloads; no types; no esm support.

## Facts

| | |
|---|---|
| Version | 1.17.16 |
| Published | 2026-09-17 |
| First published | 2019-12-16 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 91 |
| Author | WIRIS Team |
| Maintainers | wiris |
| Keywords | chem, chemistry, chemtype, editor, equation, latex, math, mathml, maths, mathtype, wiris |

## Links

- npm: https://www.npmjs.com/package/@wiris/mathtype-html-integration-devkit
- Repository: https://github.com/wiris/html-integrations/tree/master/packages/devkit
- Homepage: https://www.wiris.com/?utm_source=npmjs&utm_medium=referral
- npm.io page: https://npm.io/package/@wiris/mathtype-html-integration-devkit

## Alternatives

- [random-seedable](https://npm.io/package/random-seedable.md) — 27.9K weekly downloads
- [n2words](https://npm.io/package/n2words.md) — 22.2K weekly downloads
- [@stdlib/math-base-special-factorialln](https://npm.io/package/@stdlib/math-base-special-factorialln.md) — 5.7K weekly downloads
- [@stdlib/math-base-special-abs2](https://npm.io/package/@stdlib/math-base-special-abs2.md) — 1.7K weekly downloads
- [commons-math-interpolation](https://npm.io/package/commons-math-interpolation.md) — 1.4K weekly downloads

## Recent versions

- 1.17.16 (latest) — 2026-09-17
- 1.17.15 — 2026-02-17
- 1.17.14 — 2026-01-28
- 1.17.13 — 2026-01-07
- 1.17.12 — 2025-10-22
- 1.17.11 — 2025-08-26
- 1.17.10 — 2025-07-17
- 1.17.9 — 2025-06-11
- 1.17.8 — 2025-03-17
- 1.17.7 — 2025-03-17
- 1.17.6 — 2025-01-29
- 1.17.5 — 2024-10-04
- 1.17.4 — 2024-09-02
- 1.17.3 — 2024-06-26
- 1.17.2 — 2024-05-22
- … 42 more at https://npm.io/package/@wiris/mathtype-html-integration-devkit/versions

## README

# MathType Web Integration JavaScript SDK

## Install instructions

Install dependencies:

```bash
$ yarn install
```

Compile using npm packages:

```bash
$ yarn run build
```

Compile using local packages:

```bash
$ yarn run build-dev
```

Lint:

```bash
$ yarn run lint
```

Test:

```bash
$ yarn run test
```

## Dependencies

The following packages are dependencies of the project:

- [`uuid`](https://www.npmjs.com/package/uuid)

  In order to conform to RFC specifications when generating UUIDs, we leverage this package instead of maintaining all the logic that is unrelated to MathType.

- [`DOMPurify`](https://www.npmjs.com/package/dompurify)

  Used to sanitize HTML and prevents XSS attacks. When HTML code is sent by the user, DOMPurify receive the input and delete the malicious code.

## Generate the package documentation site

This project uses `jsdoc` to build an HTML documentation site of this package and its API.

The `jsdoc` theme for this site is [mathtype-integration-jsdoc-theme](https://github.com/wiris/mathtype-integration-jsdoc-theme).

**How to generate the documentation site**

Run these commands:

```bash
$ yarn install
$ yarn run build-jsdoc
```

The source code of the documentation site is generated on the `/out` folder.

## Privacy policy

The [MathType Privacy Policy](https://www.wiris.com/en/mathtype-privacy-policy/?utm_source=npmjs&utm_medium=referral) covers the data processing operations for the MathType users. It is an addendum of the company's general Privacy Policy and the [general Privacy Policy](https://www.wiris.com/en/privacy-policy?utm_source=npmjs&utm_medium=referral) still applies to MathType users.

---
_Source: https://npm.io/package/@wiris/mathtype-html-integration-devkit · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
