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 : 18.221.40.13
Domains :
Cant Read [ /etc/named.conf ]
User : web
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
home /
www /
wb /
node_modules /
path-is-absolute /
Delete
Unzip
Name
Size
Permission
Date
Action
index.js
611
B
-rw-rw-r--
2022-08-30 11:49
license
1.09
KB
-rw-rw-r--
2022-08-30 11:49
package.json
733
B
-rw-rw-r--
2022-08-30 11:49
readme.md
1.13
KB
-rw-rw-r--
2022-08-30 11:49
Save
Rename
# path-is-absolute [](https://travis-ci.org/sindresorhus/path-is-absolute) > Node.js 0.12 [`path.isAbsolute()`](http://nodejs.org/api/path.html#path_path_isabsolute_path) [ponyfill](https://ponyfill.com) ## Install ``` $ npm install --save path-is-absolute ``` ## Usage ```js const pathIsAbsolute = require('path-is-absolute'); // Running on Linux pathIsAbsolute('/home/foo'); //=> true pathIsAbsolute('C:/Users/foo'); //=> false // Running on Windows pathIsAbsolute('C:/Users/foo'); //=> true pathIsAbsolute('/home/foo'); //=> false // Running on any OS pathIsAbsolute.posix('/home/foo'); //=> true pathIsAbsolute.posix('C:/Users/foo'); //=> false pathIsAbsolute.win32('C:/Users/foo'); //=> true pathIsAbsolute.win32('/home/foo'); //=> false ``` ## API See the [`path.isAbsolute()` docs](http://nodejs.org/api/path.html#path_path_isabsolute_path). ### pathIsAbsolute(path) ### pathIsAbsolute.posix(path) POSIX specific version. ### pathIsAbsolute.win32(path) Windows specific version. ## License MIT © [Sindre Sorhus](https://sindresorhus.com)