typedapi-core
TypeScript icon, indicating that this package has built-in type declarations

0.3.2 • Public • Published

TypedAPI Core library

TypedAPI is set of libraries for creating client-server APIs for applications written in typescript.

WebsiteDocumentation

Core library provide several types and classes that used both by client and server.

  • errors.ts: base errors that can be thrown by server and catched by client.
  • json.ts: interface for json encoder. Most TypedAPI classes use that interface in configuration so you can provide your own JSON encoder/decoder.
  • messages.ts: message types that can be sent between client and server.
  • reflections.ts: reflections for data types that can be sent via TypeAPI.

Package Sidebar

Install

npm i typedapi-core

Homepage

typedapi.com

Weekly Downloads

0

Version

0.3.2

License

MIT

Unpacked Size

13 kB

Total Files

14

Last publish

Collaborators

  • serega3000