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.117.197.188
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 /
pkg-dir /
Delete
Unzip
Name
Size
Permission
Date
Action
index.d.ts
1.04
KB
-rw-rw-r--
2022-08-30 11:49
index.js
452
B
-rw-rw-r--
2022-08-30 11:49
license
1.08
KB
-rw-rw-r--
2022-08-30 11:49
package.json
841
B
-rw-rw-r--
2022-08-30 11:49
readme.md
1.25
KB
-rw-rw-r--
2022-08-30 11:49
Save
Rename
declare const pkgDir: { /** Find the root directory of a Node.js project or npm package. @param cwd - Directory to start from. Default: `process.cwd()`. @returns The project root path or `undefined` if it couldn't be found. @example ``` // / // └── Users // └── sindresorhus // └── foo // ├── package.json // └── bar // ├── baz // └── example.js // example.js import pkgDir = require('pkg-dir'); (async () => { const rootDir = await pkgDir(__dirname); console.log(rootDir); //=> '/Users/sindresorhus/foo' })(); ``` */ (cwd?: string): Promise<string | undefined>; /** Synchronously find the root directory of a Node.js project or npm package. @param cwd - Directory to start from. Default: `process.cwd()`. @returns The project root path or `undefined` if it couldn't be found. */ sync(cwd?: string): string | undefined; // TODO: Remove this for the next major release default: typeof pkgDir; }; export = pkgDir;