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.147.103.159
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-type /
Delete
Unzip
Name
Size
Permission
Date
Action
index.d.ts
1.27
KB
-rw-rw-r--
2022-08-30 11:49
index.js
1.15
KB
-rw-rw-r--
2022-08-30 11:49
license
1.08
KB
-rw-rw-r--
2022-08-30 11:49
package.json
714
B
-rw-rw-r--
2022-08-30 11:49
readme.md
1.09
KB
-rw-rw-r--
2022-08-30 11:49
Save
Rename
# path-type [](https://travis-ci.org/sindresorhus/path-type) > Check if a path is a file, directory, or symlink ## Install ``` $ npm install path-type ``` ## Usage ```js const {isFile} = require('path-type'); (async () => { console.log(await isFile('package.json')); //=> true })(); ``` ## API ### isFile(path) Check whether the passed `path` is a file. Returns a `Promise<boolean>`. #### path Type: `string` The path to check. ### isDirectory(path) Check whether the passed `path` is a directory. Returns a `Promise<boolean>`. ### isSymlink(path) Check whether the passed `path` is a symlink. Returns a `Promise<boolean>`. ### isFileSync(path) Synchronously check whether the passed `path` is a file. Returns a `boolean`. ### isDirectorySync(path) Synchronously check whether the passed `path` is a directory. Returns a `boolean`. ### isSymlinkSync(path) Synchronously check whether the passed `path` is a symlink. Returns a `boolean`. ## License MIT © [Sindre Sorhus](https://sindresorhus.com)