@push.rocks/smartrequest
Version:
A module for modern HTTP/HTTPS requests with support for form data, file uploads, JSON, binary data, streams, and more.
17 lines (16 loc) • 567 B
TypeScript
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 };
import * as smartpromise from '@push.rocks/smartpromise';
import * as smarturl from '@push.rocks/smarturl';
export { smartpromise, smarturl };
import { HttpAgent, HttpsAgent } from 'agentkeepalive';
declare const agentkeepalive: {
HttpAgent: typeof HttpAgent;
HttpsAgent: typeof HttpsAgent;
};
import formData from 'form-data';
export { agentkeepalive, formData };