To run the project, Node.js and npm has to be installed.
Redirect to the file directory and run the command
npm install
Go to the index.js
file and update the filePath
value with your expected file location.
Example
const filePath = '/home/root/collection/file.avro';
npm start
After running the project successfully, the extracted data can be seen in the folder named decoded which is inside the current sample project. The files having the extracted data will have the .json
extension.