mirror of
https://github.com/hanzoai/zap-es.git
synced 2026-10-30 18:17:07 +00:00
main
typescript 7.0.2 is the native compiler and exports no JavaScript API, so this repo's own zapc compiler and typescript-eslint cannot read it. It comes in aliased as tsgo and runs test:types; typescript moves up to 6.0.3 for the tools, and the peer range widens to admit it. 6 also removed moduleResolution=node10, so resolution is bundler with types: [node]. 0 diagnostics before and after, on both compilers. Co-authored-by: Hanzo Dev <[email protected]>
zap-es — ARCHIVED
This package is archived. Its source has been absorbed into
@zap-proto/zapv2.0 — the ZAP foundation layer (ZAP codec + Level-4 RPC + compiler).
- Install:
pnpm add @zap-proto/zap- Repo: https://github.com/zap-proto/ts
- Docs: https://zap-proto.dev/docs/sdks/typescript
Migration is a clean break (no compatibility shim). The only public change is the package name and the
./codec/./rpcentry split:// before (zap-es) import { Message, Struct } from "zap-es"; import { Conn } from "zap-es"; // rpc was bundled into the root // after (@zap-proto/zap v2.0) import { Message, Struct } from "@zap-proto/zap"; // codec (full runtime) import { Conn } from "@zap-proto/zap/rpc"; // focused RPC entryThis repository is kept read-only as historical reference.
zap-es was the TypeScript ZAP wire encoder for the ZAP binary RPC
protocol — originally forked from the upstream
unjs/capnp-es project (MIT). It is
now @zap-proto/zap v2.0.
License
MIT.
Languages
TypeScript
79.9%
ZAP
17.4%
JavaScript
1.6%
HTML
1.1%