@avro/idl

1.0.0 • 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');

Package Sidebar

Install

npm i @avro/idl

Weekly Downloads

0

Version

1.0.0

License

MIT

Unpacked Size

26.1 kB

Total Files

7

Last publish

Collaborators

  • mtth