UNPKG

@push.rocks/smartproxy

Version:

A powerful proxy package that effectively handles high traffic, with features such as SSL/TLS support, port proxying, WebSocket handling, dynamic routing with authentication options, and automatic ACME certificate management.

34 lines (25 loc) 941 B
// node native scope import { EventEmitter } from 'events'; import * as http from 'http'; import * as https from 'https'; import * as net from 'net'; import * as tls from 'tls'; import * as url from 'url'; export { EventEmitter, http, https, net, tls, url }; // tsclass scope import * as tsclass from '@tsclass/tsclass'; export { tsclass }; // pushrocks scope import * as lik from '@push.rocks/lik'; import * as smartdelay from '@push.rocks/smartdelay'; import * as smartpromise from '@push.rocks/smartpromise'; import * as smartrequest from '@push.rocks/smartrequest'; import * as smartstring from '@push.rocks/smartstring'; export { lik, smartdelay, smartrequest, smartpromise, smartstring }; // third party scope import * as acme from 'acme-client'; import prettyMs from 'pretty-ms'; import * as ws from 'ws'; import wsDefault from 'ws'; import { minimatch } from 'minimatch'; export { acme, prettyMs, ws, wsDefault, minimatch };