npm

Check out our latest tech talk, "JavaScript Supply Chain Security" presented by VP of Security, Adam Baldwin.Watch it here »

@avro/idl

0.1.1 • Public • Published

Avro IDL parsing

Parse Avro IDL specs into JSON protocols. Both synchronous and asynchronous modes are available:

const {assembleProtocol, assembleProtocolSync} = require('@avro/idl');
 
// Asynchronously:
assembleProtocol('path/to.avdl', (err, protocol) => {
  // protocol is an equivalent JSON representation of the IDL spec.
});
 
// Synchronously:
const protocol = assembleProtocolSync('path/to.avdl');

install

npm i @avro/idl

Downloadsweekly downloads

31

version

0.1.1

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability