kyoko-mesh is a TypeScript framework for writing gRPC microservices with minimal boilerplate. Current version 0.4.24, irregular release cadence. Automatically generates gRPC services from an exported async function object, supports async/await, nested services, and streaming via async generators. Uses a simple CLI tool (`kykm`) to run servers and make remote calls. However, the package is explicitly marked as 'Just for fun, Don’t use' and may have issues with gRPC installation over proxies. Not recommended for production.
npm install kyoko-meshNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Defines a simple gRPC service with nested methods and routes it via KyokoMesh. The server is started with the CLI, and a client calls a remote procedure.
Do not use in production; consider alternatives like @grpc/grpc-js or nest.js microservices.
Add 'grpc_node_binary_host_mirror=https://npm.taobao.org/mirrors' to .npmrc or use HTTP_PROXY/HTTPS_PROXY env vars.
Manually define shared types or use a type-safe gRPC framework.
Use @grpc/grpc-js instead, or consider this package's deprecation.
Run via npx kykm or add to package.json scripts.
Ensure the environment supports native modules; consider setting grpc_node_binary_host_mirror or using --build-from-source.
Use import Mesh from 'kyoko-mesh' (ESM) or const Mesh = require('kyoko-mesh').default (CJS).Use npx kykm or install locally as a dev dependency and run via npm scripts.
Start the server first, ensure it's listening (check port), then run the client.