UNPKG

node-universe

Version:

基于 Nodejs 环境的一款微服务框架,原理来自于宇宙中的恒星,行星,卫星等系统。

8 lines (7 loc) 299 B
import { Writable } from 'stream'; export default class Parser extends Writable { maxPacketSize: number; buf: Buffer | null; constructor(options: any, maxPacketSize: number); _write(chunk: any, encoding: BufferEncoding, callback: (error?: Error | null | undefined) => void): void; }