Skip to content

Reading from stdin at the start of the program #4

@marlun

Description

@marlun

How would I use this but at the same time accept data being passed to this program on stdin?

ls -l | <program>

If I try

process.stdin.pipe(concat(list))

I get the following messge

process.stdin.setRawMode(true)
              ^
TypeError: process.stdin.setRawMode is not a function
    at neatInput (<rest of path>/node_modules/neat-input/index.js:25:17)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions