surprisal (npm): Compute the surprisal of an event given its probability.
Keywords: surprisal|probability|statistics|suprisal