Skip to main content


The next-gen web framework.
Extremely Popular
Go to Latest
import * as fresh from "";


Transform a stream into a stream where each chunk is divided by a newline, be it \n or \r\n. \r can be enabled via the allowCR option.


Make an assertion, error will be thrown if expr does not have truthy value.

Make an assertion that actual and expected are equal, deeply. If not deeply equal, then throw.

Make an assertion that actual includes expected. If not then throw.