Linux unitednationsplay.com 3.10.0-1160.45.1.el7.x86_64 #1 SMP Wed Oct 13 17:20:51 UTC 2021 x86_64
nginx/1.20.1
Server IP : 188.130.139.92 & Your IP : 3.149.27.125
Domains :
Cant Read [ /etc/named.conf ]
User : web
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
home /
www /
unp_probe /
node_modules /
align-text /
Delete
Unzip
Name
Size
Permission
Date
Action
node_modules
[ DIR ]
drwxr-xr-x
2021-02-04 21:24
LICENSE
1.06
KB
-rw-r--r--
2016-02-02 01:50
README.md
5.38
KB
-rw-r--r--
2016-02-02 01:50
index.js
1.21
KB
-rw-r--r--
2016-02-02 01:50
package.json
1.7
KB
-rw-r--r--
2021-02-04 21:24
Save
Rename
/*! * align-text <https://github.com/jonschlinkert/align-text> * * Copyright (c) 2015, Jon Schlinkert. * Licensed under the MIT License. */ 'use strict'; var typeOf = require('kind-of'); var repeat = require('repeat-string'); var longest = require('longest'); module.exports = function alignText(val, fn) { var lines, type = typeOf(val); if (type === 'array') { lines = val; } else if (type === 'string') { lines = val.split(/(?:\r\n|\n)/); } else { throw new TypeError('align-text expects a string or array.'); } var fnType = typeOf(fn); var len = lines.length; var max = longest(lines); var res = [], i = 0; while (len--) { var line = String(lines[i++]); var diff; if (fnType === 'function') { diff = fn(line.length, max.length, line, lines, i); } else if (fnType === 'number') { diff = fn; } else { diff = max.length - line.length; } if (typeOf(diff) === 'number') { res.push(repeat(' ', diff) + line); } else if (typeOf(diff) === 'object') { var result = repeat(diff.character || ' ', diff.indent || 0); res.push((diff.prefix || '') + result + line); } } if (type === 'array') return res; return res.join('\n'); };