Skip to content

Support options in fs.createReadStream #24

@ChiChou

Description

@ChiChou

In node.js's fs module, we can pass an optional argument to createReadStream to skip or limit the file range (start, end)

https://nodejs.org/api/fs.html#fscreatereadstreampath-options

It's useful when implementing a http gateway to download file from device and to support Range: request

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions