@rivalis/data
TypeScript icon, indicating that this package has built-in type declarations

1.0.6 • Public • Published

Rivalis Utils

GitHub npm version npm downloads Read docs Visit website Discord


📦 Provides

  • ActionRepository - Utility used by @rivalis/core and client implementations for mapping actions after handshake.
  • bufferToHex - function for converting Uint8Array to hexadecimal string.
  • hextToBuffer - function for converting hexadecimal string to Uint8Array.
  • ProtocolSerializer - protobufjs based serialization implementation used by @rivalis/core and client packages.
  • Schema - function for defining data types.
  • SyncSchema - Schema used for synchronizing actions between server & client.

License

The project is licensed under MIT License

/@rivalis/data/

    Package Sidebar

    Install

    npm i @rivalis/data

    Homepage

    rivalis.io/

    Weekly Downloads

    1

    Version

    1.0.6

    License

    MIT

    Unpacked Size

    17.9 kB

    Total Files

    16

    Last publish

    Collaborators

    • kalevski