One Hat Cyber Team
Your IP :
216.73.216.203
Server IP :
162.240.179.46
Server :
Linux vps-14493116.nutrivittasaude.com.br 5.14.0-611.49.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Tue Apr 21 16:39:08 EDT 2026 x86_64
Server Software :
Apache
PHP Version :
8.2.31
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
lib
/
node_modules
/
pm2
/
node_modules
/
vizion
/
lib
/
View File Name :
helper.js
function trimNewLine(input) { return typeof(input) === 'string' ? input.replace(/\n/g, '') : input; } function get(object, path) { const pathArray = path.split('.'); let result = object; while (result != null && pathArray.length) { const pathItem = pathArray.shift(); if (pathItem in result) { result = result[pathItem]; } else { return undefined; } } return result; } function last(array) { var length = array == null ? 0 : array.length; return length ? array[length - 1] : undefined; } module.exports = { get: get, last: last, trimNewLine: trimNewLine, };