Simple event kind policy
KindPolicy
While strfry-policies already has a filter policy for allowing content based on a particular nostr filter, this policy rejects a list of event kinds. This enables the operator to opt-out of certain NIPs. For example,
for await (const msg of readStdin()) {
const result = await pipeline(msg, [
[kindPolicy, [ 4, 7, 42 ]],
...