smartproxy/ts/smartproxy.plugins.ts

23 lines
374 B
TypeScript
Raw Normal View History

2019-08-20 16:42:52 +00:00
// node native scope
2019-08-21 21:41:06 +00:00
import crypto from 'crypto';
import http from 'http';
import https from 'https';
2019-08-20 16:42:52 +00:00
2019-08-21 21:41:06 +00:00
export { crypto, http, https };
2019-08-20 16:42:52 +00:00
2019-08-21 01:14:42 +00:00
// pushrocks scope
2019-08-21 21:41:06 +00:00
import * as smartpromise from '@pushrocks/smartpromise';
2019-08-21 01:14:42 +00:00
import * as smartrequest from '@pushrocks/smartrequest';
2019-08-20 16:42:52 +00:00
2019-08-21 01:14:42 +00:00
export {
2019-08-21 21:41:06 +00:00
smartrequest,
smartpromise
};
// third party scope
import ws from 'ws';
export {
ws
2019-08-21 01:14:42 +00:00
};