smartproxy/ts/plugins.ts

48 lines
1.3 KiB
TypeScript
Raw Normal View History

2019-08-20 18:42:52 +02:00
// node native scope
import { EventEmitter } from 'events';
2019-08-22 15:09:48 +02:00
import * as http from 'http';
import * as https from 'https';
2019-09-29 17:18:40 +02:00
import * as net from 'net';
import * as tls from 'tls';
import * as url from 'url';
import * as http2 from 'http2';
2019-08-20 18:42:52 +02:00
export { EventEmitter, http, https, net, tls, url, http2 };
2019-08-22 12:49:29 +02:00
// tsclass scope
import * as tsclass from '@tsclass/tsclass';
2019-08-22 16:14:50 +02:00
export { tsclass };
2019-08-20 18:42:52 +02:00
2019-08-21 03:14:42 +02:00
// pushrocks scope
2023-07-27 16:27:50 +02:00
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';
2019-08-20 18:42:52 +02:00
2025-05-01 11:48:04 +00:00
import * as smartacme from '@push.rocks/smartacme';
import * as smartacmePlugins from '@push.rocks/smartacme/dist_ts/smartacme.plugins.js';
import * as smartacmeHandlers from '@push.rocks/smartacme/dist_ts/handlers/index.js';
2025-05-01 15:39:20 +00:00
import * as taskbuffer from '@push.rocks/taskbuffer';
export {
lik,
smartdelay,
smartrequest,
smartpromise,
smartstring,
smartacme,
smartacmePlugins,
smartacmeHandlers,
taskbuffer,
};
2019-08-21 23:41:06 +02:00
// third party scope
import prettyMs from 'pretty-ms';
2019-09-29 01:06:07 +02:00
import * as ws from 'ws';
import wsDefault from 'ws';
import { minimatch } from 'minimatch';
2019-08-21 23:41:06 +02:00
2025-05-01 11:48:04 +00:00
export { prettyMs, ws, wsDefault, minimatch };