
Security News
Deno Goes the Way of the Dinosaur
Cloudflare is acquiring Deno’s team, which will provide another year of bug fixes and security updates before ending support for the runtime.
@avro/services
Advanced tools
Avro-powered RPC services.
const {Client, Server, Service, Trace} = require('@avro/services');
const stringService = new Service({
protocol: 'StringService',
messages: {
upperCase: {
request: [{name: 'message', type: 'string'}],
response: 'string',
},
},
});
const stringServer = new Server(stringService)
.onMessage().upperCase((str, cb) => { cb(null, str.toUpperCase()); });
const stringClient = stringService.client(); // In-process client.
stringClient.emitMessage(new Trace()).upperCase('hello!', (err, str) => {
if (err) {
throw err;
}
console.log(str); // HELLO!
});
const {NettyGateway, RoutingChannel, Server, Service} = require('@avro/services');
const net = require('net');
const echoService = new Service({
protocol: 'Echo',
messages: {
echo: {
request: [{name: 'message', type: 'string'}],
response: 'string',
},
},
});
const upperService = new Service({
protocol: 'Upper',
messages: {
upper: {
request: [{name: 'message', type: 'string'}],
response: 'string',
},
},
});
const echoServer = new Server(echoService)
.onMessage().echo((str, cb) => { cb(null, str); });
const upperServer = new Server(upperService)
.onMessage().upper((str, cb) => { cb(null, str.toUpperCase()); });
const channel = RoutingChannel.forServers([echoServer, upperServer]);
const gateway = new NettyGateway(channel);
net.createServer()
.on('connection', (conn) => {
gateway.accept(conn.on('error', (err) => { console.error(err); }));
})
.listen(8080, () => { console.log('Listening...'); });
FAQs
Avro RPC services
The npm package @avro/services receives a total of 0 weekly downloads. As such, @avro/services popularity was classified as not popular.
We found that @avro/services demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.

Security News
Cloudflare is acquiring Deno’s team, which will provide another year of bug fixes and security updates before ending support for the runtime.

Security News
Anthropic’s free OSS Scanner uses Mythos and other Claude models to find open source vulnerabilities and send maintainers reports with proposed fixes.

Security News
On Front Lines’ Early Adopters: CISO podcast, Andrew Becherer shares lessons from Datadog, weighs the long-term costs of AI-built tools, and explains how founders can actually gain a CISO’s trust.