Nickel Palladium Manganese

    tiptap-compression

    0.1.2 • Public • Published

    TipTap Compression

    TipTap compression is a simple library for compressing documents generated using the TipTap editing framework (or ProseMirror).

    It has three main steps:

    1. Optimization using number enums for type names and other optimizations like minifying property names

    2. Serialization using msgpack

    3. Compression using Zstandard with Zstd-Wasm

    You are able to turn off steps 1 and 3

    Docs and more configuration options will be created soon. Currently, you can look through the type declaration files for some explanation, and the code is fairly easy to read, and I will try to create actual docs and tutorials soon.

    Install

    npm i tiptap-compression

    DownloadsWeekly Downloads

    8

    Version

    0.1.2

    License

    MIT

    Unpacked Size

    379 kB

    Total Files

    58

    Last publish

    Collaborators

    • asyncbanana