@unblessed/node
Version:
Node.js runtime adapter for @unblessed/core terminal UI library
2 lines • 927 B
JavaScript
import {setRuntime}from'@unblessed/core';export*from'@unblessed/core';import {Buffer}from'buffer';import*as m from'child_process';import {EventEmitter}from'events';import i from'fs';import p from'net';import {GifReader}from'omggif';import f from'path';import {PNG}from'pngjs';import a from'process';import {Writable,Readable}from'stream';import {StringDecoder}from'string_decoder';import d from'tty';import*as g from'url';import*as b from'util';var r=class{constructor(){this.fs=i;this.path=f;this.process=a;this.buffer={Buffer:Buffer};this.url=g;this.util=b;this.stream={Readable:Readable,Writable:Writable};this.stringDecoder={StringDecoder:StringDecoder};this.events={EventEmitter:EventEmitter};this.images={png:{PNG:PNG},gif:{GifReader:GifReader}};this.processes={childProcess:m};this.networking={net:p,tty:d};}};setRuntime(new r);export{r as NodeRuntime};//# sourceMappingURL=index.js.map
//# sourceMappingURL=index.js.map