Files
smartrequest/ts/core_node/plugins.ts
T

25 lines
627 B
TypeScript

// node native scope
import * as fs from 'fs';
import * as http from 'http';
import * as https from 'https';
import * as path from 'path';
import * as stream from 'stream';
export { http, https, fs, path, stream };
// pushrocks scope
import * as smartpromise from '@push.rocks/smartpromise';
import * as smarturl from '@push.rocks/smarturl';
export { smartpromise, smarturl };
// third party scope
import AgentKeepAlive from 'agentkeepalive';
const agentkeepalive = {
HttpAgent: AgentKeepAlive.HttpAgent,
HttpsAgent: AgentKeepAlive.HttpsAgent,
};
import formData from 'form-data';
export { agentkeepalive, formData };