The way you would do this with inputs is like this:
inputs
jq -nR '[inputs | select(length>0)]' input.ndjson
This will do it with streaming so you won't run into the slurp problem where the inputs all have to fit into memory..