# @hocuspocus/transformer [![Version](https://img.shields.io/npm/v/@hocuspocus/transformer.svg?label=version)](https://www.npmjs.com/package/@hocuspocus/transformer) [![Downloads](https://img.shields.io/npm/dm/@hocuspocus/transformer.svg)](https://npmcharts.com/compare/tiptap?minimal=true) [![License](https://img.shields.io/npm/l/@hocuspocus/transformer.svg)](https://www.npmjs.com/package/@hocuspocus/transformer) [![Sponsor](https://img.shields.io/static/v1?label=Sponsor&message=%E2%9D%A4&logo=GitHub)](https://github.com/sponsors/ueberdosis) ## Introduction Convert [Y.js](https://github.com/yjs/yjs) documents to and from [Tiptap](https://github.com/ueberdosis/tiptap) / ProseMirror JSON and HTML. Useful on the server side to render or process collaborative document state outside the editor – for exports, previews, or webhook payloads. ## Official Documentation Documentation can be found in the [GitHub repository](https://github.com/ueberdosis/hocuspocus). ## License Hocuspocus is open-sourced software licensed under the [MIT license](https://github.com/ueberdosis/hocuspocus/blob/main/LICENSE.md).