Skip to content

Latest commit

 

History

History
32 lines (27 loc) · 708 Bytes

README.md

File metadata and controls

32 lines (27 loc) · 708 Bytes

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