-
Notifications
You must be signed in to change notification settings - Fork 49
/
main.js
25 lines (23 loc) · 952 Bytes
/
main.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
const crawlerConductor = require('./crawlerConductor');
const crawler = require('./crawler');
const RequestCollector = require('./collectors/RequestCollector');
const APICallCollector = require('./collectors/APICallCollector');
const CookieCollector = require('./collectors/CookieCollector');
const TargetCollector = require('./collectors/TargetCollector');
const TraceCollector = require('./collectors/TraceCollector');
const ScreenshotCollector = require('./collectors/ScreenshotCollector');
const CMPCollector = require('./collectors/CMPCollector');
// reexport main pieces of code so that they can be easily imported when this project is used as a dependency
// e.g. `const {crawlerConductor} = require('3p-crawler');`
module.exports = {
crawler,
crawlerConductor,
// collectors ↓
RequestCollector,
APICallCollector,
CookieCollector,
TargetCollector,
TraceCollector,
ScreenshotCollector,
CMPCollector,
};