Linux iad1-shared-b7-18 6.6.49-grsec-jammy+ #10 SMP Thu Sep 12 23:23:08 UTC 2024 x86_64
Apache
: 67.205.6.31 | : 216.73.216.13
Cant Read [ /etc/named.conf ]
8.2.29
fernandoquevedo
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
README
+ Create Folder
+ Create File
/
usr /
share /
nodejs /
yargs-parser /
build /
lib /
[ HOME SHELL ]
Name
Size
Permission
Action
index.d.ts
310
B
-rw-r--r--
index.js
2.16
KB
-rw-r--r--
string-utils.d.ts
311
B
-rw-r--r--
string-utils.js
2.04
KB
-rw-r--r--
tokenize-arg-string.d.ts
168
B
-rw-r--r--
tokenize-arg-string.js
1.07
KB
-rw-r--r--
yargs-parser-types.d.ts
8.17
KB
-rw-r--r--
yargs-parser-types.js
425
B
-rw-r--r--
yargs-parser.d.ts
352
B
-rw-r--r--
yargs-parser.js
45.71
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : string-utils.js
/** * @license * Copyright (c) 2016, Contributors * SPDX-License-Identifier: ISC */ export function camelCase(str) { // Handle the case where an argument is provided as camel case, e.g., fooBar. // by ensuring that the string isn't already mixed case: const isCamelCase = str !== str.toLowerCase() && str !== str.toUpperCase(); if (!isCamelCase) { str = str.toLowerCase(); } if (str.indexOf('-') === -1 && str.indexOf('_') === -1) { return str; } else { let camelcase = ''; let nextChrUpper = false; const leadingHyphens = str.match(/^-+/); for (let i = leadingHyphens ? leadingHyphens[0].length : 0; i < str.length; i++) { let chr = str.charAt(i); if (nextChrUpper) { nextChrUpper = false; chr = chr.toUpperCase(); } if (i !== 0 && (chr === '-' || chr === '_')) { nextChrUpper = true; } else if (chr !== '-' && chr !== '_') { camelcase += chr; } } return camelcase; } } export function decamelize(str, joinString) { const lowercase = str.toLowerCase(); joinString = joinString || '-'; let notCamelcase = ''; for (let i = 0; i < str.length; i++) { const chrLower = lowercase.charAt(i); const chrString = str.charAt(i); if (chrLower !== chrString && i > 0) { notCamelcase += `${joinString}${lowercase.charAt(i)}`; } else { notCamelcase += chrString; } } return notCamelcase; } export function looksLikeNumber(x) { if (x === null || x === undefined) return false; // if loaded from config, may already be a number. if (typeof x === 'number') return true; // hexadecimal. if (/^0x[0-9a-f]+$/i.test(x)) return true; // don't treat 0123 as a number; as it drops the leading '0'. if (/^0[^.]/.test(x)) return false; return /^[-]?(?:\d+(?:\.\d*)?|\.\d+)(e[-+]?\d+)?$/.test(x); }
Close