Files
smartdns/ts_client/plugins.ts

26 lines
706 B
TypeScript
Raw Normal View History

import * as smartenv from '@push.rocks/smartenv';
2021-01-22 23:24:02 +00:00
const smartenvInstance = new smartenv.Smartenv();
// node native scope
2021-01-22 23:24:02 +00:00
import type dnsType from 'dns';
2022-07-27 08:59:29 +02:00
const dns: typeof dnsType = await smartenvInstance.getSafeNodeModule('dns');
export { dns };
// node native scope
import * as path from 'path';
import { EventEmitter } from 'events';
export { path };
export const events = { EventEmitter };
// pushrocks scope
import * as smartdelay from '@push.rocks/smartdelay';
import * as smartpromise from '@push.rocks/smartpromise';
import * as smartrust from '@push.rocks/smartrust';
export { smartdelay, smartenv, smartpromise, smartrust };
import * as tsclass from '@tsclass/tsclass';
2016-11-15 21:39:21 +01:00
export { tsclass };