-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcjs.js
44 lines (40 loc) · 1.02 KB
/
cjs.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
37
38
39
40
41
42
43
44
/*!
* PHP In JS v1.0 (https://github.com/DimitriSitchet/php-in-js)
* Copyright 2021 Dimtrov Lab's | Dimitri Sitchet Tomkeu
* Licensed under MIT (https://opensource.org/licences/mit)
*/
const array = require('./modules/array.js');
const crypto = require('./modules/crypto.js');
const datetime = require('./modules/datetime.js');
const fs = require('./modules/fs.js');
const functions = require('./modules/functions.js');
const json = require('./modules/json.js');
const math = require('./modules/math.js');
const net = require('./modules/net.js');
const output = require('./modules/output.js');
const regex = require('./modules/regex.js');
const string = require('./modules/string.js');
const types = require('./modules/types.js');
const url = require('./modules/url.js');
const modules = {
array,
crypto,
datetime,
fs,
functions,
json,
math,
net,
output,
regex,
string,
types,
url
};
let pij = {};
for (const key in modules) {
for (const func in modules[key]) {
pij[func] = modules[key][func];
}
}
module.exports = pij;