-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.js
32 lines (28 loc) · 882 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
'use strict';
const libob = require('libobject');
const transform = require('./lib/transform');
const translate = require('./lib/translate');
const logic = require('./lib/logic');
const mask = require('./lib/mask');
const json = require('./lib/json');
const slice = require('./lib/slice');
const array = require('./lib/array');
//const join = require('./lib/join');
exports.deep = (data) => {
return libob.deep(data);
};
exports.flat = (data) => {
return libob.flat(data);
};
exports.parse = json.parse;
exports.stringify = json.stringify;
exports.transform = transform.transform;
exports.transform2 = transform.transform2;
exports.env_transform = transform.env_transform;
exports.state_transform = transform.state_transform;
exports.translate = translate;
exports.logic = logic;
exports.mask = mask;
exports.slice = slice;
exports.array = array;
//exports.join = join;