@xviz/io

IO library for reading and writing XVIZ messages

Usage no npm install needed!

<script type="module">
  import xvizIo from 'https://cdn.skypack.dev/@xviz/io';
</script>

README

@xviz/io Overview

This module aims at being the central IO library for reading, writing, and manipulating XVIZ data.

This module is separated in the following layers.

XVIZ Data classes

XVIZ data classes strive to remove the need to understand and handle the various formats that XVIZ data can be stored.

Sources and Sinks

Sources and Sinks are a simple abstraction to write and read data. We provide synchronous File and Memory implementations.

Readers and Writers

Readers and Writers are the objects that deal with writing out the actual XVIZ data. At this level the objects know about any implementation details that are not covered by the XVIZ specification, such as the use of an index file or the specific identifiers used to store XVIZ in a particular format.

Providers

XVIZ Providers are a level above Readers and Writers where a Provider interface only deals with metadata and messages and providing access to that data.