gbv/jskos-cli

Use streams for reading files in jskos-validate

Closed this issue · 1 comments

Large files that don't fit in memory can't be validated with jskos-validate. We should use streams instead.

let json = fs.readFileSync(file).toString()

Requires https://github.com/gbv/json-anystream.

Implemented with PR #22.