tsbuffer-schema

TSBuffer schema declarations

Usage no npm install needed!

<script type="module">
  import tsbufferSchema from 'https://cdn.skypack.dev/tsbuffer-schema';
</script>

README

TSBuffer Schema

Introduction

  • TSBuffer is a open-source library for TypeScript runtime type checking and binary serialization.
  • TSBufferSchema is a schema for TypeScript types, which is used by TSBuffer.
  • TSBufferProto is a collection of a grouop of TSBufferSchema, which can be generated by tsbuffer-proto-generator.
  • Number type alias (int, uint...), for advacned type checking and binary encoding optimization.
  • Extra utility type: Overwrite.

API

See API Reference.