Is there any possible way to stream data from handler using Node.js Stream API?

Is there any possible way to stream data from the handler using Node.js Stream API? Like, for example in Express applications I can do as in the example below, but what about serverless handlers??

app.get('/', (req, res) => {
    const stream = fs.createReadStream(__dirname + "/report.csv");

    stream.on('data', (chunk) => {
        res.write(chunk)
    })

    stream.on('close', () => {
        res.end()
    })

    stream.on('error', err => {
        console.log('error from / route is: ', err)
    })
})