NestJS · Senior · Question 53 of 75

How do you stream a large file download in Nest without loading it into memory?

Explanation

StreamableFile works with both Express and Fastify and keeps interceptors working.

Further reading

Problem with a question

NestJS · Senior · question 53

Test yourself

Take the NestJS · Senior quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz