v0.1.58
Code-Native Data Privacy
Repository
Current version released
4 months ago
Versions
- v0.1.58Latest
- v0.1.57
- v0.1.56
- v0.1.55
- v0.1.54
- v0.1.53
- v0.1.52
- v0.1.51
- v0.1.50
- v0.1.49
- v0.1.48
- v0.1.47
- v0.1.46
- v0.1.45
- v0.1.44
- v0.1.43
- v0.1.42
- v0.1.41
- v0.1.40
- v0.1.39
- v0.1.38
- v0.1.37
- v0.1.36
- v0.1.35
- v0.1.34
- v0.1.33
- v0.1.32
- v0.1.31
- v0.1.30
- v0.1.29
- v0.1.28
- v0.1.27
- v0.1.26
- v0.1.25
- v0.1.24
- v0.1.23
- v0.1.22
- v0.1.21
- v0.1.20
- v0.1.19
- v0.1.18
- v0.1.17
- v0.1.16
- v0.1.15
- v0.1.14
- v0.1.13
- v0.1.12
- v0.1.11
- v0.1.10
- v0.1.9
- v0.1.8
- v0.1.7
- v0.1.6
- v0.1.5
- libs/protos/v0.1.5
- libs/protos/v0.1.4
- libs/protos/v0.1.3
- v0.0.126
- v0.0.124-protos
- v0.0.125
- v0.0.124
- v0.0.123
- v0.0.122
- v0.0.121
- v0.0.120
- v0.0.119
- v0.0.118
- v0.0.117
- v0.0.116
- v0.0.115
- v0.0.114
- v0.0.113
- v0.0.112
- v0.0.111
- v0.0.110
- v0.0.109
- v0.0.108
- v0.0.107
- v0.0.106
Streamdal Typescript Protobuf Library for Deno
A Deno compatible Typescript client library based on protobuf-ts for Streamdal’s Protobuf and GRPC.
Example use:
import { ExternalClient } from "protos/protos/external_api.client";
import { GrpcWebFetchTransport } from "@protobuf-ts/grpcweb-transport";
const transport = new GrpcWebFetchTransport({
baseUrl: `${await getEnv("STREAMDAL_GRPC_WEB_URL") || "http://localhost:9091"}`,
format: "binary",
});
const client = new ExternalClient(transport);
try {
const { response } = await client.test({ input: "hello world" }, {
meta: { "auth-token": "1234" },
});
console.log(response);
} catch (error) {
console.log("error", error);
}
For a more complete example, see the console