KyokoMesh
Write grpc microservices in typescript. Just for fun, Don't use.
Note: Installing grpc over proxy may fail beacuse of needle
issue. Add the following line to your .npmrc
file
grpc_node_binary_host_mirror=https://npm.taobao.org/mirrors
Example
api.ts
// define your async functions as service here, a default keyword is required
server
kykm serve api.ts# outputs: serving "9316dc36" with 3 entries at 0.0.0.0:62967
client
kykm call hello# outputs: my FAAS
demo.ts
run
License
MIT