UNPKG

nntp-fast

Version:

A lightweight nntp client for node made with attention to speed and ease of use. Works with promises and streams.

16 lines (15 loc) 414 B
/// <reference types="node" /> import { Transform } from "stream"; import * as StreamSearch from "streamsearch"; /** * Transform stream that performs dot-unstuffing */ export default class DotUnstuffingStream extends Transform { _streamsearch: StreamSearch; constructor(); /** * * @private */ _transform(chunk: Buffer, encoding: string, callback: Function): void; }