@reldens/server-utils 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +31 -0
- package/index.js +15 -0
- package/lib/app-server-factory.js +132 -0
- package/lib/file-handler.js +206 -0
- package/lib/uploader-factory.js +67 -0
- package/package.json +37 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2025 Damian A. Pastorini
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
# Reldens - Server Utils
|
|
2
|
+
|
|
3
|
+
A set of helpers for Node.js to create a server and handle files.
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
[](https://github.com/damian-pastorini/reldens)
|
|
7
|
+
|
|
8
|
+
# Reldens - Server Utils
|
|
9
|
+
|
|
10
|
+
### Features
|
|
11
|
+
|
|
12
|
+
- File handler.
|
|
13
|
+
- Express server factory.
|
|
14
|
+
- Multer uploader factory.
|
|
15
|
+
|
|
16
|
+
Need something specific?
|
|
17
|
+
|
|
18
|
+
[Request a feature here: https://www.reldens.com/features-request](https://www.reldens.com/features-request)
|
|
19
|
+
|
|
20
|
+
---
|
|
21
|
+
|
|
22
|
+
## Documentation
|
|
23
|
+
|
|
24
|
+
[https://www.reldens.com/documentation/utils/](https://www.reldens.com/documentation/utils/)
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
---
|
|
28
|
+
|
|
29
|
+
### [Reldens](https://github.com/damian-pastorini/reldens/ "Reldens")
|
|
30
|
+
|
|
31
|
+
##### [By DwDeveloper](https://www.dwdeveloper.com/ "DwDeveloper")
|
package/index.js
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
*
|
|
3
|
+
* Reldens - Server Utils
|
|
4
|
+
*
|
|
5
|
+
*/
|
|
6
|
+
|
|
7
|
+
const { FileHandler } = require('./lib/file-handler');
|
|
8
|
+
const { AppServerFactory } = require('./lib/app-server-factory');
|
|
9
|
+
const { UploaderFactory } = require('./lib/uploader-factory');
|
|
10
|
+
|
|
11
|
+
module.exports = {
|
|
12
|
+
FileHandler,
|
|
13
|
+
AppServerFactory,
|
|
14
|
+
UploaderFactory
|
|
15
|
+
};
|
|
@@ -0,0 +1,132 @@
|
|
|
1
|
+
/**
|
|
2
|
+
*
|
|
3
|
+
* Reldens - AppServerFactory
|
|
4
|
+
*
|
|
5
|
+
*/
|
|
6
|
+
|
|
7
|
+
const { FileHandler } = require('./file-handler');
|
|
8
|
+
const http = require('http');
|
|
9
|
+
const https = require('https');
|
|
10
|
+
const express = require('express');
|
|
11
|
+
const bodyParser = require('body-parser');
|
|
12
|
+
const session = require('express-session');
|
|
13
|
+
const rateLimit = require('express-rate-limit');
|
|
14
|
+
const cors = require('cors');
|
|
15
|
+
|
|
16
|
+
class AppServerFactory
|
|
17
|
+
{
|
|
18
|
+
|
|
19
|
+
constructor()
|
|
20
|
+
{
|
|
21
|
+
this.applicationFramework = express;
|
|
22
|
+
this.bodyParser = bodyParser;
|
|
23
|
+
this.session = session;
|
|
24
|
+
this.appServer = false;
|
|
25
|
+
this.app = express();
|
|
26
|
+
this.useCors = 1 === Number(process.env.RELDENS_USE_CORS || 1);
|
|
27
|
+
this.useExpressJson = 1 === Number(process.env.RELDENS_USE_EXPRESS_JSON || 1);
|
|
28
|
+
this.useUrlencoded = 1 === Number(process.env.RELDENS_USE_URLENCODED || 1);
|
|
29
|
+
this.encoding = String(process.env.RELDENS_DEFAULT_ENCODING || 'utf-8');
|
|
30
|
+
this.useHttps = 1 === Number(process.env.RELDENS_EXPRESS_USE_HTTPS || 0);
|
|
31
|
+
this.passphrase = String(process.env.RELDENS_EXPRESS_HTTPS_PASSPHRASE || '');
|
|
32
|
+
this.httpsChain = String(process.env.RELDENS_EXPRESS_HTTPS_CHAIN || '');
|
|
33
|
+
this.keyPath = String(process.env.RELDENS_EXPRESS_HTTPS_PRIVATE_KEY || '');
|
|
34
|
+
this.certPath = String(process.env.RELDENS_EXPRESS_HTTPS_CERT || '');
|
|
35
|
+
this.trustedProxy = String(process.env.RELDENS_EXPRESS_TRUSTED_PROXY || '');
|
|
36
|
+
this.windowMs = Number(process.env.RELDENS_EXPRESS_RATE_LIMIT_MS || 60000);
|
|
37
|
+
this.maxRequests = Number(process.env.RELDENS_EXPRESS_RATE_LIMIT_MAX_REQUESTS || 30);
|
|
38
|
+
this.applyKeyGenerator = 1 === Number(process.env.RELDENS_EXPRESS_RATE_LIMIT_APPLY_KEY_GENERATOR || 0);
|
|
39
|
+
this.errorMessage = '';
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
createAppServer(appServerConfig)
|
|
43
|
+
{
|
|
44
|
+
if(appServerConfig){
|
|
45
|
+
Object.assign(this, appServerConfig);
|
|
46
|
+
}
|
|
47
|
+
if(this.useCors){
|
|
48
|
+
this.app.use(cors());
|
|
49
|
+
}
|
|
50
|
+
if(this.useExpressJson){
|
|
51
|
+
this.app.use(express.json());
|
|
52
|
+
}
|
|
53
|
+
if(this.useUrlencoded){
|
|
54
|
+
this.app.use(bodyParser.urlencoded({extended: true}));
|
|
55
|
+
}
|
|
56
|
+
if('' !== this.trustedProxy){
|
|
57
|
+
this.app.enable('trust proxy', this.trustedProxy);
|
|
58
|
+
}
|
|
59
|
+
this.appServer = this.createServer();
|
|
60
|
+
return {app: this.app, appServer: this.appServer};
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
createServer()
|
|
64
|
+
{
|
|
65
|
+
if(!this.useHttps){
|
|
66
|
+
return http.createServer(this.app);
|
|
67
|
+
}
|
|
68
|
+
let key = FileHandler.readFile(this.keyPath);
|
|
69
|
+
if(!key){
|
|
70
|
+
this.errorMessage = 'Key file not found: ' + this.keyPath;
|
|
71
|
+
return false;
|
|
72
|
+
}
|
|
73
|
+
let cert = FileHandler.readFile(this.certPath);
|
|
74
|
+
if(!cert){
|
|
75
|
+
this.errorMessage = 'Cert file not found: ' + this.certPath;
|
|
76
|
+
return false;
|
|
77
|
+
}
|
|
78
|
+
let credentials = {
|
|
79
|
+
key: key.toString(),
|
|
80
|
+
cert: cert.toString(),
|
|
81
|
+
passphrase: this.passphrase
|
|
82
|
+
};
|
|
83
|
+
if('' !== this.httpsChain){
|
|
84
|
+
let ca = FileHandler.readFile(this.httpsChain);
|
|
85
|
+
if(ca){
|
|
86
|
+
credentials.ca = ca;
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
return https.createServer(credentials, this.app);
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
async enableServeHome(app, homePageLoadCallback)
|
|
93
|
+
{
|
|
94
|
+
let limiterParams = {
|
|
95
|
+
// default 60000 = 1 minute:
|
|
96
|
+
windowMs: this.windowMs,
|
|
97
|
+
// limit each IP to 30 requests per windowMs:
|
|
98
|
+
max: this.maxRequests,
|
|
99
|
+
};
|
|
100
|
+
if(this.applyKeyGenerator){
|
|
101
|
+
limiterParams.keyGenerator = function (req) {
|
|
102
|
+
return req.ip;
|
|
103
|
+
};
|
|
104
|
+
}
|
|
105
|
+
let limiter = rateLimit(limiterParams);
|
|
106
|
+
app.post('/', limiter);
|
|
107
|
+
app.post('/', async (req, res, next) => {
|
|
108
|
+
if('/' === req._parsedUrl.pathname){
|
|
109
|
+
return res.redirect('/');
|
|
110
|
+
}
|
|
111
|
+
next();
|
|
112
|
+
});
|
|
113
|
+
app.get('/', limiter);
|
|
114
|
+
app.get('/', async (req, res, next) => {
|
|
115
|
+
if('/' === req._parsedUrl.pathname){
|
|
116
|
+
if('function' !== typeof homePageLoadCallback){
|
|
117
|
+
return res.send('Homepage contents could not be loaded.');
|
|
118
|
+
}
|
|
119
|
+
return res.send(await homePageLoadCallback(req));
|
|
120
|
+
}
|
|
121
|
+
next();
|
|
122
|
+
});
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
async enableServeStatics(app, staticsPath)
|
|
126
|
+
{
|
|
127
|
+
app.use(express.static(staticsPath));
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
module.exports.AppServerFactory = AppServerFactory;
|
|
@@ -0,0 +1,206 @@
|
|
|
1
|
+
/**
|
|
2
|
+
*
|
|
3
|
+
* Reldens - FileHandler
|
|
4
|
+
*
|
|
5
|
+
*/
|
|
6
|
+
|
|
7
|
+
const path = require('path');
|
|
8
|
+
const fs = require('fs');
|
|
9
|
+
|
|
10
|
+
class FileHandler
|
|
11
|
+
{
|
|
12
|
+
|
|
13
|
+
constructor()
|
|
14
|
+
{
|
|
15
|
+
this.encoding = (process.env.RELDENS_DEFAULT_ENCODING || 'utf8');
|
|
16
|
+
this.sep = path.sep;
|
|
17
|
+
this.error = {message: ''};
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
joinPaths(...args)
|
|
21
|
+
{
|
|
22
|
+
return path.join(...args);
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
exists(fullPath)
|
|
26
|
+
{
|
|
27
|
+
return fs.existsSync(fullPath);
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
remove(fullPath)
|
|
31
|
+
{
|
|
32
|
+
try {
|
|
33
|
+
let deletePath = Array.isArray(fullPath) ? this.joinPaths(...fullPath) : fullPath
|
|
34
|
+
if(fs.existsSync(deletePath)){
|
|
35
|
+
fs.rmSync(deletePath, {recursive: true, force: true});
|
|
36
|
+
return true;
|
|
37
|
+
}
|
|
38
|
+
} catch (error) {
|
|
39
|
+
this.error = {message: 'Failed to remove folder.', error, fullPath};
|
|
40
|
+
}
|
|
41
|
+
return false;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
createFolder(folderPath)
|
|
45
|
+
{
|
|
46
|
+
try {
|
|
47
|
+
if(fs.existsSync(folderPath)){
|
|
48
|
+
return true;
|
|
49
|
+
}
|
|
50
|
+
fs.mkdirSync(folderPath, {recursive: true});
|
|
51
|
+
return true;
|
|
52
|
+
} catch (error) {
|
|
53
|
+
this.error = {message: 'Failed to create folder.', error, folderPath};
|
|
54
|
+
}
|
|
55
|
+
return false;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
copyFolderSync(from, to)
|
|
59
|
+
{
|
|
60
|
+
try {
|
|
61
|
+
fs.mkdirSync(to, {recursive: true});
|
|
62
|
+
let folders = fs.readdirSync(from);
|
|
63
|
+
for(let element of folders){
|
|
64
|
+
let elementPath = path.join(from, element);
|
|
65
|
+
if(!fs.existsSync(elementPath)){
|
|
66
|
+
continue;
|
|
67
|
+
}
|
|
68
|
+
if(fs.lstatSync(elementPath).isFile()){
|
|
69
|
+
fs.copyFileSync(elementPath, path.join(to, element));
|
|
70
|
+
continue;
|
|
71
|
+
}
|
|
72
|
+
this.copyFolderSync(elementPath, path.join(to, element));
|
|
73
|
+
}
|
|
74
|
+
return true;
|
|
75
|
+
} catch (error) {
|
|
76
|
+
this.error = {message: 'Failed to copy folder.', error, from, to};
|
|
77
|
+
}
|
|
78
|
+
return false;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
copyFileSyncIfDoesNotExist(from, to)
|
|
82
|
+
{
|
|
83
|
+
if(!fs.existsSync(to)){
|
|
84
|
+
return fs.copyFileSync(from, to);
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
copyFile(from, to)
|
|
89
|
+
{
|
|
90
|
+
let origin = Array.isArray(from) ? this.joinPaths(...from) : from;
|
|
91
|
+
let dest = Array.isArray(to) ? this.joinPaths(...to) : to;
|
|
92
|
+
if(!this.exists(origin)){
|
|
93
|
+
return false;
|
|
94
|
+
}
|
|
95
|
+
if(!this.exists(dest)){
|
|
96
|
+
return false;
|
|
97
|
+
}
|
|
98
|
+
try {
|
|
99
|
+
fs.copyFileSync(origin, dest);
|
|
100
|
+
return true;
|
|
101
|
+
} catch (error) {
|
|
102
|
+
this.error = {message: 'Failed to copy file.', error, from, to, origin, dest};
|
|
103
|
+
}
|
|
104
|
+
return false;
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
extension(filePath)
|
|
108
|
+
{
|
|
109
|
+
return path.extname(filePath);
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
readFolder(folder, options)
|
|
113
|
+
{
|
|
114
|
+
return fs.readdirSync(folder, options);
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
fetchSubFoldersList(folder, options)
|
|
118
|
+
{
|
|
119
|
+
let files = fs.readdirSync(folder, options);
|
|
120
|
+
let subFolders = [];
|
|
121
|
+
for(let file of files){
|
|
122
|
+
let filePath = path.join(folder, file);
|
|
123
|
+
if(fs.lstatSync(filePath).isDirectory()){
|
|
124
|
+
subFolders.push(file);
|
|
125
|
+
}
|
|
126
|
+
}
|
|
127
|
+
return subFolders;
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
isFile(filePath)
|
|
131
|
+
{
|
|
132
|
+
try {
|
|
133
|
+
return fs.lstatSync(filePath).isFile();
|
|
134
|
+
} catch (error) {
|
|
135
|
+
this.error = {message: 'Can not check file.', error, filePath};
|
|
136
|
+
}
|
|
137
|
+
return false;
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
permissionsCheck(systemPath)
|
|
141
|
+
{
|
|
142
|
+
try {
|
|
143
|
+
let crudTestPath = path.join(systemPath, 'crud-test');
|
|
144
|
+
fs.mkdirSync(crudTestPath, {recursive: true});
|
|
145
|
+
fs.rmSync(crudTestPath);
|
|
146
|
+
return true;
|
|
147
|
+
} catch (error) {
|
|
148
|
+
return false;
|
|
149
|
+
}
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
fetchFileJson(filePath)
|
|
153
|
+
{
|
|
154
|
+
let fileContents = this.fetchFileContents(filePath);
|
|
155
|
+
if(!fileContents){
|
|
156
|
+
return false;
|
|
157
|
+
}
|
|
158
|
+
let importedJson = JSON.parse(fileContents);
|
|
159
|
+
if(!importedJson){
|
|
160
|
+
this.error = {message: 'Can not parse data file.', filePath};
|
|
161
|
+
return false;
|
|
162
|
+
}
|
|
163
|
+
return importedJson;
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
fetchFileContents(filePath)
|
|
167
|
+
{
|
|
168
|
+
if(!this.isFile(filePath)){
|
|
169
|
+
return false;
|
|
170
|
+
}
|
|
171
|
+
let fileContent = this.readFile(filePath);
|
|
172
|
+
if(!fileContent){
|
|
173
|
+
this.error = {message: 'Can not read data or empty file.', filePath};
|
|
174
|
+
return false;
|
|
175
|
+
}
|
|
176
|
+
return fileContent;
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
readFile(filePath)
|
|
180
|
+
{
|
|
181
|
+
if(!filePath){
|
|
182
|
+
this.error = {message: 'Missing data file.', filePath};
|
|
183
|
+
return false;
|
|
184
|
+
}
|
|
185
|
+
return fs.readFileSync(filePath, {encoding: this.encoding, flag: 'r'});
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
async updateFileContents(filePath, contents)
|
|
189
|
+
{
|
|
190
|
+
return fs.writeFileSync(fs.openSync(filePath, 'w+'), contents);
|
|
191
|
+
}
|
|
192
|
+
|
|
193
|
+
writeFile(fileName, content)
|
|
194
|
+
{
|
|
195
|
+
try {
|
|
196
|
+
fs.writeFileSync(fileName, content, this.encoding);
|
|
197
|
+
return true;
|
|
198
|
+
} catch (error) {
|
|
199
|
+
this.error = {message: 'Error saving the file.', fileName, error};
|
|
200
|
+
}
|
|
201
|
+
return false;
|
|
202
|
+
}
|
|
203
|
+
|
|
204
|
+
}
|
|
205
|
+
|
|
206
|
+
module.exports.FileHandler = new FileHandler();
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
/**
|
|
2
|
+
*
|
|
3
|
+
* Reldens - UploaderFactory
|
|
4
|
+
*
|
|
5
|
+
*/
|
|
6
|
+
|
|
7
|
+
const multer = require('multer');
|
|
8
|
+
const { FileHandler } = require('./file-handler');
|
|
9
|
+
|
|
10
|
+
class UploaderFactory
|
|
11
|
+
{
|
|
12
|
+
|
|
13
|
+
constructor(props)
|
|
14
|
+
{
|
|
15
|
+
this.mimeTypes = props.mimeTypes;
|
|
16
|
+
this.error = {message: ''};
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
createUploader(fields, buckets, allowedFileTypes)
|
|
20
|
+
{
|
|
21
|
+
let storage = multer.diskStorage({
|
|
22
|
+
destination: (req, file, cb) => {
|
|
23
|
+
cb(null, buckets[file.fieldname]);
|
|
24
|
+
},
|
|
25
|
+
filename: (req,file,cb) => {
|
|
26
|
+
cb(null, file.originalname);
|
|
27
|
+
}
|
|
28
|
+
})
|
|
29
|
+
return multer({
|
|
30
|
+
storage,
|
|
31
|
+
fileFilter: (req, file, cb) => {
|
|
32
|
+
return this.checkFileType(file, allowedFileTypes[file.fieldname], cb);
|
|
33
|
+
}
|
|
34
|
+
}).fields(fields);
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
checkFileType(file, allowedFileTypes, cb)
|
|
38
|
+
{
|
|
39
|
+
if(!allowedFileTypes){
|
|
40
|
+
return cb(null, true);
|
|
41
|
+
}
|
|
42
|
+
let allowedFileTypeCheck = this.convertToRegex(allowedFileTypes);
|
|
43
|
+
if(!allowedFileTypeCheck){
|
|
44
|
+
this.error = {message: 'File type could not be converted to regex.', allowedFileTypes};
|
|
45
|
+
return cb(null, false);
|
|
46
|
+
}
|
|
47
|
+
let extension = allowedFileTypeCheck.test(FileHandler.extension(file.originalname).toLowerCase());
|
|
48
|
+
let mimeType = allowedFileTypeCheck.test(file.mimetype);
|
|
49
|
+
if(mimeType && extension){
|
|
50
|
+
return cb(null, true);
|
|
51
|
+
}
|
|
52
|
+
this.error = {message: 'File type not supported.', extension, mimeType, allowedFileTypes};
|
|
53
|
+
return cb(null, false);
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
convertToRegex(key)
|
|
57
|
+
{
|
|
58
|
+
if(!this.mimeTypes[key]){
|
|
59
|
+
return false;
|
|
60
|
+
}
|
|
61
|
+
let types = this.mimeTypes[key].map(type => type.split('/').pop().replace('+', '\\+'));
|
|
62
|
+
return new RegExp(types.join('|'));
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
module.exports.UploaderFactory = UploaderFactory;
|
package/package.json
ADDED
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@reldens/server-utils",
|
|
3
|
+
"scope": "@reldens",
|
|
4
|
+
"version": "0.1.0",
|
|
5
|
+
"description": "Reldens - Server Utils",
|
|
6
|
+
"author": "Damian A. Pastorini",
|
|
7
|
+
"license": "MIT",
|
|
8
|
+
"homepage": "https://github.com/damian-pastorini/reldens-server-utils",
|
|
9
|
+
"source": true,
|
|
10
|
+
"main": "index.js",
|
|
11
|
+
"repository": {
|
|
12
|
+
"type": "git",
|
|
13
|
+
"url": "https://github.com/damian-pastorini/reldens-server-utils.git"
|
|
14
|
+
},
|
|
15
|
+
"keywords": [
|
|
16
|
+
"reldens",
|
|
17
|
+
"utils",
|
|
18
|
+
"shortcuts",
|
|
19
|
+
"system",
|
|
20
|
+
"game",
|
|
21
|
+
"mmorpg",
|
|
22
|
+
"rpg",
|
|
23
|
+
"dwd",
|
|
24
|
+
"colyseus",
|
|
25
|
+
"phaser",
|
|
26
|
+
"parcel",
|
|
27
|
+
"nodejs",
|
|
28
|
+
"mmo",
|
|
29
|
+
"multiplayer",
|
|
30
|
+
"rol",
|
|
31
|
+
"platform",
|
|
32
|
+
"framework"
|
|
33
|
+
],
|
|
34
|
+
"bugs": {
|
|
35
|
+
"url": "https://github.com/damian-pastorini/reldens-server-utils/issues"
|
|
36
|
+
}
|
|
37
|
+
}
|