Allow blank lines?
The ndjson specification suggests that parsers should have an option for allowing (and ignoring) blank lines. It doesn’t explicitly specify the definition of an “empty line” but I’m guessing an all whitespace line is also ignored.
alternatively, grep -vE '^\s?$' file | ndjson-*
thank you for this great tool (and idea!), it would make data processing easier. But, could you please at least spell out a more user friendly error when newline is encountered? I had some semi-human readable json that failed to convert, and it took me a long long time to find that i have to filter thru json5 to rid the white space before ndjson-split would work. Thanks!