# @deckflow/office2html (deprecated)

**This package is deprecated.** Use [`@deckflow/deck2html`](https://www.npmjs.com/package/@deckflow/deck2html) instead.

`@deckflow/office2html` is a thin compatibility shim that re-exports `@deckflow/deck2html`. Existing installs and the `office2html` CLI binary continue to work, but new projects should depend on the renamed package.

## Migrate

```bash
npm uninstall @deckflow/office2html
npm install @deckflow/deck2html
```

```bash
# before
npx office2html deck.pptx -o ./out

# after
npx deck2html deck.pptx -o ./out
```

```js
// before
const { getBinaryPath } = require('@deckflow/office2html');

// after
const { getBinaryPath } = require('@deckflow/deck2html');
```

## Install (compat)

```bash
npm install @deckflow/office2html
```

This installs `@deckflow/deck2html` (and its platform optional dependencies) transitively. Do not omit optional dependencies (`--omit=optional` / `--no-optional`).

## Usage

Authorized use is as a dependency of [`@deckflow/render`](https://www.npmjs.com/package/@deckflow/render). Direct standalone use requires separate authorization.

```bash
npx office2html deck.pptx -o ./out
```

```js
const { getBinaryPath } = require('@deckflow/office2html');
// spawn the native CLI at getBinaryPath()
```

## Links

- Replacement: https://www.npmjs.com/package/@deckflow/deck2html
- This package: https://www.npmjs.com/package/@deckflow/office2html

## License

Proprietary. See [LICENSE](./LICENSE).
