How to use the walk function from bfj

Find comprehensive JavaScript bfj.walk code examples handpicked from public code repositorys.

14
15
16
17
18
19
20
21
22
23
const fileInputStream = fs.createReadStream(inputFilePath);

let curObject = null;
let curProperty = null;

const emitter = bfj.walk(fileInputStream);

emitter.on(bfj.events.object, () => {
    curObject = {};
});
fork icon3
star icon7
watch icon0