smartrequest/ts/smartrequest.plugins.ts

20 lines
475 B
TypeScript
Raw Normal View History

2021-05-16 23:39:25 +00:00
// node native scope
2018-07-19 14:16:02 +00:00
import * as fs from 'fs';
2018-06-13 20:34:49 +00:00
import * as http from 'http';
import * as https from 'https';
2018-07-19 14:16:02 +00:00
import * as path from 'path';
2017-01-28 23:51:47 +00:00
2021-05-16 23:39:25 +00:00
export { http, https, fs, path };
// pushrocks scope
import * as smartpromise from '@pushrocks/smartpromise';
2021-05-16 23:39:25 +00:00
import * as smarturl from '@pushrocks/smarturl';
2017-01-28 23:51:47 +00:00
2021-05-16 23:39:25 +00:00
export { smartpromise, smarturl };
2019-09-28 20:50:35 +00:00
// third party scope
2021-05-16 23:39:25 +00:00
import agentkeepalive from 'agentkeepalive';
import formData from 'form-data';
2019-09-28 20:50:35 +00:00
2021-05-16 23:39:25 +00:00
export { agentkeepalive, formData };