# katextual

> Renders compatible TeX commands using KaTeX to images.

Latest version **0.1.3** (published 2021-09-13) · MIT license · 0 weekly downloads

## Install

```sh
npm install katextual
pnpm add katextual
yarn add katextual
bun add katextual
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.3 |
| Published | 2021-09-13 |
| First published | 2021-09-12 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 4 |
| Unpacked size | 14.4 KB |
| Known vulnerabilities | 0 (+5 in 1 direct dependencies) |
| Install scripts | no |
| GitHub stars | 1 |
| Author | Brian Lu |
| Maintainers | greencap |
| Keywords | tex, latex, katex, png |

## Links

- npm: https://www.npmjs.com/package/katextual
- Repository: https://github.com/GreenCappuccino/KaTextual
- Homepage: https://github.com/GreenCappuccino/KaTextual#readme
- Issues: https://github.com/GreenCappuccino/KaTextual/issues
- npm.io page: https://npm.io/package/katextual

## Dependencies (4)

- [katex](https://npm.io/package/katex.md) ^0.13.18
- [log4js](https://npm.io/package/log4js.md) ^6.3.0
- [puppeteer](https://npm.io/package/puppeteer.md) ^10.2.0
- [handlebars](https://npm.io/package/handlebars.md) ^4.7.7

## Alternatives

- [ext-list](https://npm.io/package/ext-list.md) — 6.3M weekly downloads
- [@lexical/selection](https://npm.io/package/@lexical/selection.md) — 3.8M weekly downloads
- [@lexical/text](https://npm.io/package/@lexical/text.md) — 3.6M weekly downloads
- [@lexical/clipboard](https://npm.io/package/@lexical/clipboard.md) — 3.0M weekly downloads
- [@tiptap/extension-mention](https://npm.io/package/@tiptap/extension-mention.md) — 3.0M weekly downloads

## Recent versions

- 0.1.3 (latest) — 2021-09-13
- 0.1.2 — 2021-09-12
- 0.1.1 — 2021-09-12
- 0.1.0 — 2021-09-12

## README

# KaTeXtual
...is a simple package with only one goal: render compatible TeX commands
using [KaTeX](https://katex.org/) to image formats in a fast and customizable
manner.
```typescript
import {KaTeXtual} from 'katextual';

// singleton with async initialization
katextual = await KaTeXtual.getInstance();

// renders as buffer in PNG format
const png: Buffer = await katextual.renderPng('\\int_0^{2\\pi}{\\sin{\\theta}}');
```

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