/roe

roe is a lean tool for developers dealing with Apache Avro

Primary LanguageJavaScriptApache License 2.0Apache-2.0

roe

roe is a lean tool for developers dealing with Apache Avro. Its name is a reference to Alliott Verdon Roe.

Install

Install roe from the root of this project like this:

npm install . -g

Use

Create a randomized sample of a given Avro schema:

roe sample examples/user.avsc

Validate whether an Avro schema can or cannot be applied to an object:

roe validate examples/user.avsc examples/user.json
roe validate examples/user.avsc examples/nouser.json

Derive an Avro schema from an object:

roe generalize examples/pet.json

Uninstall

Uninstall roe like this:

npm uninstall roe -g