smartdns/ts_client/dnsly.plugins.ts

19 lines
566 B
TypeScript
Raw Permalink 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 06:59:29 +00:00
const dns: typeof dnsType = await smartenvInstance.getSafeNodeModule('dns');
export { dns };
// pushrocks scope
import * as smartdelay from '@push.rocks/smartdelay';
import * as smartpromise from '@push.rocks/smartpromise';
import * as smartrequest from '@push.rocks/smartrequest';
2021-01-22 23:24:02 +00:00
export { smartdelay, smartenv, smartpromise, smartrequest };
import * as tsclass from '@tsclass/tsclass';
2016-11-15 20:39:21 +00:00
export { tsclass };