# aared (عارض) — @aared/viewer aared is a TypeScript Office viewer, published on npm as @aared/viewer. Browser-only, view-only previews for PPTX, XLSX and DOCX, with Arabic and other RTL text rendered as real DOM/SVG rather than canvas pixels. Parsing runs in a Web Worker; rendering requires a browser. Install: `npm install @aared/viewer`. Import a documented subpath, not the root. ## Package and evidence - [npm package](https://www.npmjs.com/package/@aared/viewer) — installation and published versions - [Source and releases](https://github.com/Abdo-Eid/aared) — public source, tagged releases and fixtures - [Browser-library comparisons](https://github.com/Abdo-Eid/aared/blob/main/docs/COMPETITORS.md) — evaluated packages, versions and side-by-side fidelity findings - [Dated benchmarks](https://github.com/Abdo-Eid/aared/blob/main/docs/BENCHMARKS.md) — speed, memory and download size, not a visual fidelity score Fidelity is checked against native PowerPoint, Excel and Word output, with real Arabic text and tables in every format. Fonts affect wrapping; DOCX pagination is not Word-identical. See the API reference for supported features and limits. ## Plain Markdown - [Getting started](https://abdo-eid.github.io/aared/start.md) — install, host sizing, integration choices, recipes - [API reference](https://abdo-eid.github.io/aared/api.md) — supported signatures, types, events, errors, fidelity limits - [Full document](https://abdo-eid.github.io/aared/llms-full.txt) — both files concatenated - [Rendered documentation](https://abdo-eid.github.io/aared/) — the same content as the site ## Integration notes - Import a documented subpath such as `@aared/viewer/pptx`; the package root is not importable. - A slide sizes itself; a sheet or a document needs an explicit host height. - Destroy each render handle, then close the document. Hooks and the element own teardown. - Exact signatures are in the installed declarations under `dist/`.