-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.js
68 lines (66 loc) · 1.68 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
64
65
66
67
const { color } = require('./src/color');
const { badWords } = require('./src/badWords');
const { country, state, iranCities } = require('./src/countryAPI');
const { expressValidation } = require('./src/express-validator');
const { middleware } = require('./src/middleware');
const { number } = require('./src/number');
const { sr } = require('./src/serverError');
const { string } = require('./src/string');
const { validate } = require('./src/validate');
const { array } = require('./src/array');
const { object } = require('./src/object');
const { utils } = require('./src/utils');
const { bcrypt } = require('./src/encrypt/bcrypt');
const { crypto } = require('./src/encrypt/crypto');
const { iran } = require('./src/region');
const gsap = require('./src/gsap');
const nav = require('./src/nav');
const rs = require('./src/response');
/**
* @author Mr Swift
* @name Swiftly
* @returns Objects of tools
* @license MIT
* @items nav | color | badwords | crypto
* expressValidation | middleware | number
* string | validate | rs | sr | array
* object | utils | region | countries | gsap
*/
module.exports = {
color,
badWords,
bcrypt,
crypto,
expressValidation,
middleware,
number,
string,
validate,
array,
object,
utils,
nav,
gsap,
region: {
iran
},
countries: {
country() {
return country()
},
state() {
return state()
},
iranCities() {
return iranCities()
}
},
/**
* @description express response with status
*/
rs,
/**
* @description server response | Objects of msg in different languages
*/
sr,
}