Linux premium71.web-hosting.com 4.18.0-513.11.1.lve.el8.x86_64 #1 SMP Thu Jan 18 16:21:02 UTC 2024 x86_64
LiteSpeed
Server IP : 198.187.29.8 & Your IP : 3.145.82.96
Domains :
Cant Read [ /etc/named.conf ]
User : cleahvkv
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
lib /
node_modules /
npm /
node_modules /
gauge /
Delete
Unzip
Name
Size
Permission
Date
Action
node_modules
[ DIR ]
drwxr-xr-x
2024-03-03 22:36
CHANGELOG.md
6.23
KB
-rw-r--r--
2021-03-10 14:36
LICENSE
751
B
-rw-r--r--
2021-03-10 14:36
README.md
14.72
KB
-rw-r--r--
2021-03-10 14:36
base-theme.js
395
B
-rw-r--r--
2021-03-10 14:36
error.js
616
B
-rw-r--r--
2021-03-10 14:36
has-color.js
292
B
-rw-r--r--
2021-03-10 14:36
index.js
6.83
KB
-rw-r--r--
2021-03-10 14:36
package.json
2.13
KB
-rw-r--r--
2021-03-10 14:36
plumbing.js
1.24
KB
-rw-r--r--
2021-03-10 14:36
process.js
89
B
-rw-r--r--
2021-03-10 14:36
progress-bar.js
998
B
-rw-r--r--
2021-03-10 14:36
render-template.js
5.6
KB
-rw-r--r--
2021-03-10 14:36
set-immediate.js
139
B
-rw-r--r--
2021-03-10 14:36
set-interval.js
93
B
-rw-r--r--
2021-03-10 14:36
spin.js
105
B
-rw-r--r--
2021-03-10 14:36
template-item.js
1.86
KB
-rw-r--r--
2021-03-10 14:36
theme-set.js
3.61
KB
-rw-r--r--
2021-03-10 14:36
themes.js
1.51
KB
-rw-r--r--
2021-03-10 14:36
wide-truncate.js
828
B
-rw-r--r--
2021-03-10 14:36
Save
Rename
'use strict' var stringWidth = require('string-width') var stripAnsi = require('strip-ansi') module.exports = wideTruncate function wideTruncate (str, target) { if (stringWidth(str) === 0) return str if (target <= 0) return '' if (stringWidth(str) <= target) return str // We compute the number of bytes of ansi sequences here and add // that to our initial truncation to ensure that we don't slice one // that we want to keep in half. var noAnsi = stripAnsi(str) var ansiSize = str.length + noAnsi.length var truncated = str.slice(0, target + ansiSize) // we have to shrink the result to account for our ansi sequence buffer // (if an ansi sequence was truncated) and double width characters. while (stringWidth(truncated) > target) { truncated = truncated.slice(0, -1) } return truncated }