New:Introducing Socket Scanning for VS Code Marketplace Extensions.Learn more →
Get Started

@avro/idl

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@avro/idl

Avro IDL parsing

latest
Source
npmnpm
Version
1.0.0
Version published
Maintainers
1
Created
Source

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

Keywords

avro

FAQs

Package last updated on 02 Jul 2019

Related posts