-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.js
33 lines (22 loc) · 1.05 KB
/
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
const path = require('path');
const libs = require('./libs.json');
module.exports = {
/** secure hashes */
cryptoLibPath: libs.crypto ? path.resolve(__dirname, libs.crypto) : undefined,
/** IP address manipulation */
ipaddrLibPath: libs.ipaddr ? path.resolve(__dirname, libs.ipaddr) : undefined,
/** JSON functions */
json1LibPath: libs.json1 ? path.resolve(__dirname, libs.json1) : undefined,
/** math functions */
mathLibPath: libs.math ? path.resolve(__dirname, libs.math) : undefined,
/** regular expressions */
reLibPath: libs.re ? path.resolve(__dirname, libs.re) : undefined,
/** math statistics */
statsLibPath: libs.stats ? path.resolve(__dirname, libs.stats) : undefined,
/** string functions */
textLibPath: libs.text ? path.resolve(__dirname, libs.text) : undefined,
/** Unicode support */
unicodeLibPath: libs.unicode ? path.resolve(__dirname, libs.unicode) : undefined,
/** CSV files as virtual tables */
vsvLibPath: libs.vsv ? path.resolve(__dirname, libs.vsv) : undefined,
}