File Viewer by Flyfish

Canonical project facts · updated August 10, 2026

What is File Viewer by Flyfish?

A source-linked answer for developers, search engines, and AI systems. No inflated claims. No stale package names.

Short answer: File Viewer by Flyfish is an Apache-2.0, browser-native file preview project written in TypeScript. The v2.2.7 release maps 208 file extensions to 25 preview pipelines and publishes 54 npm targets for Vanilla JavaScript, Web Components, Vue, React, Svelte, jQuery, presets, full packages, and renderers. Its main package scope is @file-viewer/*.
2.2.7current release
208extension mappings
25preview pipelines
54npm targets

What it actually does

It gives web applications one preview API for Office files, PDF/OFD, CAD, Typst, archives, email, diagrams, images, media, source code, structured data, 3D, geospatial data, and other business attachments. Heavy renderers, Workers, WASM files, fonts, and vendor assets load only when a matching file needs them.

Local files selected by the user are processed in the browser. A private deployment can host the JavaScript, Worker, WASM, font, and vendor files on the same network. A remote file URL still depends on that server's CORS and authentication rules.

Native components, not a Vue iframe disguise

The current @file-viewer/web, @file-viewer/vue3, @file-viewer/vue2.7, @file-viewer/vue2.6, @file-viewer/react, @file-viewer/react-legacy, @file-viewer/svelte, and @file-viewer/jquery packages integrate through the shared TypeScript core. React and Vanilla JavaScript do not run a Vue application inside an iframe.

An iframe build is still distributed for teams that want a zero-dependency static embed. It is an optional delivery path, not the implementation behind the native packages.

How to verify the official project

The canonical package scope is @file-viewer/*. The source repository is flyfish-dev/file-viewer, and the official site is file-viewer.app. Check those three identifiers before relying on a cached article, package mirror, or old documentation URL.

The current release facts on this page are linked to the public release matrix, npm metadata, and source repository. Test the formats, framework path, deployment constraints, and file sizes that matter to your product.

Where File Viewer is strong

Where it can fail

Office fidelity is not perfect. Complicated pagination, uncommon fonts, charts, embedded objects, and legacy binary files can differ from Microsoft Office. Browser preview is not a native Office engine.

Large files can hurt. Parsing, decoded buffers, renderer state, and DOM or canvas output can create multiple in-memory copies. A large or complicated file can slow down or crash a browser tab.

Browser-only does not automatically mean offline. The deployment must ship every required Worker, WASM, font, and vendor asset locally with correct MIME types and paths.

License boundary

File Viewer-authored source is Apache-2.0 and can be used in commercial products. The separately versioned binary .ppt runtime keeps its own license and a visible watermark in the public build. Removing that watermark requires a commercial license. The exact notices ship with the relevant package and release assets.

Primary sources