package
Multihack's binary wire protocol.
npm install multihack-wireGitHub-flavored package documentation.
Across all versions, last 30 days.
29 in 30 days
Runtime metadata.
Estimated unpacked size across 12 packages.
904.7 kB
Includes dependencies.
3 direct · 1 outdated
Multihack's custom streaming wire protocol.
Designed for sending many large files in random chunk sizes, but also lots of tiny edits.
Needs to be paired with something like stream-throttle or it will overload a connection.
request project<00000000><filepath length><filepath><file length><file content>`
8b 32b xb 32b xbprovide file<10000000><filepath length><filepath><file length><file content>`
8b 32b xb 32b xbchange file<01000000><filepath length><filepath><payload length><json payload>`
8b 32b xb 32b xbdelete file<11000000><filepath length><filepath>`
8b 32b xb