JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 36
  • Score
    100M100P100Q60163F
  • License MIT

Runtime lib for generated messages to parse, copy, serialize and deserialize messages.

Package Exports

  • @selfage/message/comparator
  • @selfage/message/comparator.js
  • @selfage/message/copier
  • @selfage/message/copier.js
  • @selfage/message/descriptor
  • @selfage/message/descriptor.js
  • @selfage/message/parser
  • @selfage/message/parser.js
  • @selfage/message/serializer
  • @selfage/message/serializer.js
  • @selfage/message/stringifier
  • @selfage/message/stringifier.js
  • @selfage/message/test_matcher
  • @selfage/message/test_matcher.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 (@selfage/message) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

@selfage/message

Install

npm install @selfage/message

Overview

Written in TypeScript and compiled to ES6 with inline source map & source. See @selfage/tsconfig for full compiler options. Provides the runtime lib to be used together with MessageDescriptor generated by @selfage/generator_cli, which can parse, copy, serialize and deserialize messages.

The term "message" stands for data class, inspired from Google's Protocol Buffers, i.e., in JavaScript/TypeScript case, an object without any functions defined on it, which is what can be communicated between different threads, processes, or distributed servers.