# @datagrok/eps-viewer

> File viewer for Encapsulated PostScript (EPS) files

Latest version **1.0.1** (published 2026-04-15) · 0 weekly downloads

## Install

```sh
npm install @datagrok/eps-viewer
pnpm add @datagrok/eps-viewer
yarn add @datagrok/eps-viewer
bun add @datagrok/eps-viewer
```

## Health

**Score 45/100 (D)** — status: stable.

Positive: no vulnerabilities.

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

## Facts

| | |
|---|---|
| Version | 1.0.1 |
| Published | 2026-04-15 |
| First published | 2026-04-15 |
| Weekly downloads | 0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 72 |
| Author | Datagrok |
| Maintainers | aparamonov_datagrok, skalkin, drizhina, ppolovyi_datagrok, aleksashka_11 |

## Links

- npm: https://www.npmjs.com/package/@datagrok/eps-viewer
- Repository: https://github.com/datagrok-ai/public
- Homepage: https://github.com/datagrok-ai/public#readme
- Issues: https://github.com/datagrok-ai/public/issues
- npm.io page: https://npm.io/package/@datagrok/eps-viewer

## Recent versions

- 1.0.1 (latest) — 2026-04-15

## README

# EpsViewer

`EpsViewer` is a [package](https://datagrok.ai/help/develop/develop#packages) for the [Datagrok](https://datagrok.ai)
platform that previews Encapsulated PostScript (`.eps`) files in the file browser.

The viewer handles two common flavors of EPS:

* **ASCII EPS** — rendered by parsing a subset of PostScript onto an HTML canvas via the
  vendored [UDOC](https://github.com/photopea/UDOC) interpreter.
* **DOS EPS binary** (Adobe Illustrator and similar) — the embedded TIFF preview is extracted from the binary header and
  decoded with [utif2](https://www.npmjs.com/package/utif2).

Complex, real-world Illustrator files typically fall into the second category, so their embedded preview is used instead
of attempting to interpret the full PostScript program.

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