Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "process/read-stdin/docs/types/index.d"

Index

Interfaces

Type aliases

Variables

Type aliases

Callback

Callback: (err: Error | null, data: Buffer | string) => void

Callback invoked upon reading all data from stdin.

param

error object

param

data contents

Type declaration

    • (err: Error | null, data: Buffer | string): void
    • Parameters

      • err: Error | null
      • data: Buffer | string

      Returns void

Variables

Export assignment stdin

stdin: StdIn

Reads data from stdin.

param

string encoding. If set, data will be returned as an encoded string

param

callback to be invoked upon reading all data from stdin