mirror of
https://github.com/hanzoai/zip-js.git
synced 2026-10-30 18:17:04 +00:00
@hanzo/zip v0.1.0 — TypeScript SDK for HIP-0105 in-process extensions.
handler<I, O>(fn) wraps a typed function so a goja or Javy host can
call it via the canonical wire shape: parsed JSON in, JSON-able value
out. Thrown ZipError (or any thrown value) becomes the canonical
{ok:false,error:msg} envelope. Async handlers are rejected explicitly
because HIP-0105 invocations are synchronous (per the spec).
BSD-3-Clause. Dep pins: typescript 5.9.3, esbuild 0.28.0, commander
14.0.3, tsx 4.22.2. Patch-only bumps going forward.
33 lines
1014 B
Plaintext
33 lines
1014 B
Plaintext
zip-js
|
|
Copyright (c) 2026, Hanzo AI Inc.
|
|
|
|
This product includes software developed by third parties:
|
|
|
|
----------------------------------------------------------------------
|
|
|
|
esbuild
|
|
Copyright (c) 2020 Evan Wallace
|
|
Licensed under the MIT License.
|
|
https://github.com/evanw/esbuild
|
|
|
|
----------------------------------------------------------------------
|
|
|
|
commander
|
|
Copyright (c) 2011 TJ Holowaychuk
|
|
Licensed under the MIT License.
|
|
https://github.com/tj/commander.js
|
|
|
|
----------------------------------------------------------------------
|
|
|
|
TypeScript
|
|
Copyright (c) Microsoft Corporation.
|
|
Licensed under the Apache License, Version 2.0.
|
|
https://github.com/microsoft/TypeScript
|
|
|
|
----------------------------------------------------------------------
|
|
|
|
For the wasm-targeted build backend, zip-js shells out to the upstream
|
|
JS-to-wasm compiler maintained by the Bytecode Alliance. That tool's
|
|
source and license live with that project. zip-js wraps its invocation
|
|
behind a stable interface but does not bundle its binary.
|