readStdin
import { readStdin } from "https://gitlab.com/soapbox-pub/strfry-policies/-/raw/develop/mod.ts";
Parse strfy messages from stdin. strfry may batch multiple messages at once.
@example
// Loop through strfry input messages
for await (const msg of readStdin()) {
// handle `msg`
}