-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.js
63 lines (51 loc) · 1.88 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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
/**
*
* Package: extenders
* Author: Ganesh B
* Description:
* Install: npm i extenders --save
* Github: https://github.com/ganeshkbhat/jsextenders
* npmjs Link: https://www.npmjs.com/package/extenders
* File: index.js
* File Description:
*
*
*/
/* eslint no-console: 0 */
'use strict';
var { ArrayExtended, extendArray } = require("./src/array.js");
var { decorate } = require("./src/decorator.js");
var { SubArrayExtender, SubObjectExtender, SubStringExtender, Freeze, extender } = require("./src/extenders.js");
// var { NumbersExtended, extendNumber } = require("./src/numbers.js");
// var { ObjectExtended, extendObject } = require("./src/object.js");
var { StringExtended, extendString } = require("./src/string.js");
var { singleton } = require("./src/singleton.js");
var utils = require("./src/utils.js");
var math = require("./src/math.js");
module.exports.decorate = decorate;
module.exports.Freeze = Freeze;
module.exports.extender = extender;
module.exports.ArrayExtended = ArrayExtended;
module.exports.extendArray = extendArray;
module.exports.singleton = singleton;
module.exports.SubArrayExtender = SubArrayExtender;
// module.exports.SubObjectExtender = SubObjectExtender;
module.exports.SubStringExtender = SubStringExtender;
// module.exports.NumbersExtended = NumbersExtended;
// module.exports.extendNumber = extendNumber;
// module.exports.ObjectExtended = ObjectExtended;
// module.exports.extendObject = extendObject;
module.exports.StringExtended = StringExtended;
// module.exports.extendString = extendString;
module.exports.default = {
ArrayExtended, extendArray,
// decorate,
SubArrayExtender,
// SubObjectExtender,
SubStringExtender,
Freeze, extender,
singleton,
// NumbersExtended, extendNumber,
// ObjectExtended, extendObject,
// StringExtended, extendString
}