JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 342
  • Score
    100M100P100Q103711F
  • License Apache-2.0

Base types and utilities for RPC message codecs

Package Exports

  • @jsonjoy.com/rpc-codec-base
  • @jsonjoy.com/rpc-codec-base/lib/index.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@jsonjoy.com/rpc-codec-base) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

@jsonjoy.com/rpc-codec-base

Base types and utilities for RPC message codecs. Provides the MsgStreamCodec interface, MsgCodec interface, codec format constants, and the getTypeEncoder helper used by all codec implementations.

Usage

import {RpcMessageFormat} from '@jsonjoy.com/rpc-codec-base';
import type {MsgStreamCodec} from '@jsonjoy.com/rpc-codec-base';