Skyclick gRPC Client is a Node.js library (v1.7.4, shiping TypeScript types) for interacting with Skyclick microservices via gRPC. It provides client methods for Campus, Activity, and H5P services. The library is actively maintained with frequent releases (multiple versions within a month). Key differentiators: opinionated wrapper around gRPC with protobuf message objects, includes pagination and notification services. It uses Protobuf-generated classes (e.g., CreateOrganizationRequest, getOrganization) and follows camelCase convention since v1.4.0. Requires @grpc/grpc-js and google-protobuf as peer dependencies.
npm install skyclick-grpc-clientNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Creates an organization using the Campus service client with protobuf message objects.
Update all method calls to camelCase (e.g., args.setDescription instead of args.set_description).
Use args.setUnitType() and args.setUnitNumber() instead of args.setType().
Ensure address is a string like 'localhost:50052'.
Use setter methods: args.setName('test'). Use getter: res.getName() or res.toObject() for plain objects.Use camelCase methods only.
Remove `new`: `const client = Campus.ClientOrganization('localhost:50052');`Check response object: `res.getOrganization()?.toObject()`
Ensure server is running and address is correct (e.g., localhost:50052). Check firewall or network.