First Commit of new way of building the Platform

This commit is contained in:
Luis Fernando Molina committed 2020-01-28 17:27:23 +01:00
1 parent e48cf0dae5
commit 40e60b42cc
4616 files changed
+713402

No files matched your search

+28
View File
@@ -0,0 +1,28 @@
'use strict';
/* ------------------------------------------------------------------------ */
const { unCamelCase } = require ('./functions/string')
const unCamelCasePropertyNames = x => {
for (const k in x) x[unCamelCase (k)] = x[k] // camel_case_method = camelCaseMethod
return x
}
/* ------------------------------------------------------------------------ */
module.exports = unCamelCasePropertyNames (Object.assign ({}
, require ('./functions/platform')
, require ('./functions/generic')
, require ('./functions/string')
, require ('./functions/type')
, require ('./functions/number')
, require ('./functions/encode')
, require ('./functions/crypto')
, require ('./functions/time')
, require ('./functions/throttle')
, require ('./functions/misc')
))
/* ------------------------------------------------------------------------ */