@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');

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.0
    2
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.0
    2
  • 0.1.1
    0
  • 0.1.0
    0

Package Sidebar

Install

npm i @avro/idl

Weekly Downloads

2

Version

1.0.0

License

MIT

Unpacked Size

26.1 kB

Total Files

7

Last publish

Collaborators

  • mtth