src/nodejs/jstream

    Dark Mode
Search:
Group by:
  Source   Edit

Types

StreamReadable {.importjs: "stream.Readable".} = ref object of JsRoot
  destroyed*, readable*, readableEnded*, readableFlowing*, readableObjectMode*: bool
  readableHighWaterMark*, readableLength*: int
  readableEncoding*: cstring
https://nodejs.org/api/stream.html#stream_class_stream_readable   Source   Edit
StreamWritable {.importjs: "stream.Writable".} = ref object of JsRoot
  destroyed*, writable*, writableEnded*, writableCorked*: bool
  writableFinished*, writableNeedDrain*, writableObjectMode*: bool
  writableHighWaterMark*, writableLength*: int
https://nodejs.org/api/stream.html#stream_class_stream_writable   Source   Edit

Procs

func importStream() {.importjs: "import * as stream from \'stream\'@",
                      ...raises: [], tags: [].}
Alias for import * as module_name from 'module_name';. Must be called once before using the module   Source   Edit
func requireStream() {.importjs: "const stream = require(\'stream\')@",
                       ...raises: [], tags: [].}
Alias for const module_name = require('module_name');. Must be called once before using the module   Source   Edit
func unshift(self: StreamReadable; chunk: auto; encoding = "utf-8".cstring) {.
    importjs: "#.$1(#)", ...raises: [], tags: [].}
https://nodejs.org/api/stream.html#stream_readable_unshift_chunk_encoding   Source   Edit