-
Notifications
You must be signed in to change notification settings - Fork 2
/
index.js
37 lines (32 loc) · 873 Bytes
/
index.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
26
27
28
29
30
31
32
33
34
35
36
/**
* index.js
* naifjs package entry point
*/
const sessionid = require('./lib/sessionid')
const timeouts = require('./lib/timeouts')
const engine = require('./lib/engine')
const response = require('./lib/response')
const request = require('./lib/request')
const variables = require('./lib/variables')
const patternsMatchRegexp = require('./lib/patternsMatchRegexp')
const banner = require('./bin/lib/info')
const buildTags = require('./lib/buildTags')
const logdialog = require('./lib/logdialog')
// https://stackoverflow.com/questions/39121695/merge-two-objects-with-es6
const allFunctions = {
...sessionid,
...timeouts,
...engine,
...request,
...response,
...variables,
...patternsMatchRegexp,
...banner,
...buildTags,
logdialog
}
module.exports = allFunctions
// debug
if (require.main === module) {
console.log(allFunctions)
}