MOON
Server: Apache
System: Linux e2e-78-16.ssdcloudindia.net 3.10.0-1160.45.1.el7.x86_64 #1 SMP Wed Oct 13 17:20:51 UTC 2021 x86_64
User: imensosw (1005)
PHP: 8.0.30
Disabled: exec,passthru,shell_exec,system
Upload Files
File: /home/imensosw/.npm/registry.npmjs.org/pkg-dir/.cache.json
{"_id":"pkg-dir","_rev":"15-e2d8d2d5ba2499d044e341802bba7526","name":"pkg-dir","description":"Find the root directory of a Node.js project or npm package","dist-tags":{"latest":"3.0.0"},"versions":{"1.0.0":{"name":"pkg-dir","version":"1.0.0","description":"Find the root directory of a npm package","license":"MIT","repository":{"type":"git","url":"https://github.com/sindresorhus/pkg-dir"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=0.10.0"},"scripts":{"test":"xo && ava"},"files":["index.js"],"keywords":["package","json","root","npm","entry","find","up","find-up","findup","look-up","look","file","search","match","package","resolve","parent","parents","folder","directory","dir","walk","walking","path"],"dependencies":{"find-up":"^1.0.0"},"devDependencies":{"ava":"*","xo":"*"},"gitHead":"a06a60b1a2cddf2f84912221477311327398da01","bugs":{"url":"https://github.com/sindresorhus/pkg-dir/issues"},"homepage":"https://github.com/sindresorhus/pkg-dir","_id":"pkg-dir@1.0.0","_shasum":"7a4b508a8d5bb2d629d447056ff4e9c9314cf3d4","_from":".","_npmVersion":"2.11.3","_nodeVersion":"0.12.7","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"7a4b508a8d5bb2d629d447056ff4e9c9314cf3d4","tarball":"https://registry.npmjs.org/pkg-dir/-/pkg-dir-1.0.0.tgz"},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"directories":{}},"2.0.0":{"name":"pkg-dir","version":"2.0.0","description":"Find the root directory of a Node.js project or npm package","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/pkg-dir.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=4"},"scripts":{"test":"xo && ava"},"files":["index.js"],"keywords":["package","json","root","npm","entry","find","up","find-up","findup","look-up","look","file","search","match","resolve","parent","parents","folder","directory","dir","walk","walking","path"],"dependencies":{"find-up":"^2.1.0"},"devDependencies":{"ava":"*","xo":"*"},"gitHead":"c18df2945cd928787f3290042a6c69352b4e13a5","bugs":{"url":"https://github.com/sindresorhus/pkg-dir/issues"},"homepage":"https://github.com/sindresorhus/pkg-dir#readme","_id":"pkg-dir@2.0.0","_shasum":"f6d5d1109e19d63edf428e0bd57e12777615334b","_from":".","_npmVersion":"2.15.11","_nodeVersion":"4.7.3","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"f6d5d1109e19d63edf428e0bd57e12777615334b","tarball":"https://registry.npmjs.org/pkg-dir/-/pkg-dir-2.0.0.tgz"},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/pkg-dir-2.0.0.tgz_1493912348467_0.855934705818072"},"directories":{}},"3.0.0":{"name":"pkg-dir","version":"3.0.0","description":"Find the root directory of a Node.js project or npm package","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/pkg-dir.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=6"},"scripts":{"test":"xo && ava"},"files":["index.js"],"keywords":["package","json","root","npm","entry","find","up","find-up","findup","look-up","look","file","search","match","resolve","parent","parents","folder","directory","dir","walk","walking","path"],"dependencies":{"find-up":"^3.0.0"},"devDependencies":{"ava":"*","xo":"*"},"gitHead":"bf7429aa96375d76455826a333f1f7f4da150805","bugs":{"url":"https://github.com/sindresorhus/pkg-dir/issues"},"homepage":"https://github.com/sindresorhus/pkg-dir#readme","_id":"pkg-dir@3.0.0","_npmVersion":"5.6.0","_nodeVersion":"8.11.2","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"integrity":"sha512-/E57AYkoeQ25qkxMj5PBOVgF8Kiu/h7cYS30Z5+R7WaiCCBfLq58ZI/dSeaEKb9WVJV5n/03QwrN3IeWIFllvw==","shasum":"2749020f239ed990881b1f71210d51eb6523bea3","tarball":"https://registry.npmjs.org/pkg-dir/-/pkg-dir-3.0.0.tgz","fileCount":4,"unpackedSize":3421,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbJ5rHCRA9TVsSAnZWagAAdbIQAKIgZ2BqfviuK3Pg7GWM\nv12xcztijs0OdD/Gaf5yAvI9ixCAMkSTmzuRB3VHBG5NbGf8/2rB2dX39SWM\nEPL01r0I8zxvZs/N+nUVGT1TA1O6Y2gYFT6LMDEdCBVunKy9Sbe6IpwJOAHz\nRuSDCz08e9VqwGhmmwJIEZPwW+UwymjqlOsq14DkP7nw96ZtVkJ9xWd38d4M\nEyDGnKzCpPnNuZs5kuPzt7tbLCOlqepe/HmH+zIuxt7UiRvtzZxYTc7Na90Y\niTJIneWW/TkMsgfAjpxbcs6sdbZhlvmpKKRZN3Q3YnaXjugwcJA8WlbJPe38\n911s8inJ57QhIbzI6CotAEHgJWuw6e532v4rSxdauU72f11ZGcNu4dna8ICg\nbteYEHLgNVZdLTBRbhn731/kPymmdwqhxAK3CDacj9slWMDGdArWmWh5SlLr\nduxllM82kRUr544f7Pl1WxHrCJZBVzXNCOLoOJF6b1uI0u081SGjnKWt+w7F\nMYRPkkP5O3rRQ4zxNZV/7q/Tsrzu8hplQA2nPDQ3i1Jny88g7DhKob5PZGyw\nor7E5SvJq6KR3wTxNq4E+hkmtm6IzLwsaluTWXC8NdNd+7JbIFBsL5uxm/Li\n6G1rkF+tk5cBFguEBE5rwyx5jDa9o9AdqA6x6CjvACh5+7c9vvcsSbL4OlOp\n0Ija\r\n=n5cf\r\n-----END PGP SIGNATURE-----\r\n"},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/pkg-dir_3.0.0_1529322182903_0.9901723746601805"}}},"readme":"# pkg-dir [![Build Status](https://travis-ci.org/sindresorhus/pkg-dir.svg?branch=master)](https://travis-ci.org/sindresorhus/pkg-dir)\n\n> Find the root directory of a Node.js project or npm package\n\n\n## Install\n\n```\n$ npm install pkg-dir\n```\n\n\n## Usage\n\n```\n/\n└── Users\n    └── sindresorhus\n        └── foo\n            ├── package.json\n            └── bar\n                ├── baz\n                └── example.js\n```\n\n```js\n// example.js\nconst pkgDir = require('pkg-dir');\n\n(async () => {\n\tconst rootDir = await pkgDir(__dirname);\n\n\tconsole.log(rootDir);\n\t//=> '/Users/sindresorhus/foo'\n})();\n```\n\n\n## API\n\n### pkgDir([cwd])\n\nReturns a `Promise` for either the project root path or `null` if it couldn't be found.\n\n### pkgDir.sync([cwd])\n\nReturns the project root path or `null`.\n\n#### cwd\n\nType: `string`<br>\nDefault: `process.cwd()`\n\nDirectory to start from.\n\n\n## Related\n\n- [pkg-dir-cli](https://github.com/sindresorhus/pkg-dir-cli) - CLI for this module\n- [pkg-up](https://github.com/sindresorhus/pkg-up) - Find the closest package.json file\n- [find-up](https://github.com/sindresorhus/find-up) - Find a file by walking up parent directories\n\n\n## License\n\nMIT © [Sindre Sorhus](https://sindresorhus.com)\n","maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"time":{"modified":"2018-06-18T11:43:05.850Z","created":"2015-09-01T07:59:42.497Z","1.0.0":"2015-09-01T07:59:42.497Z","2.0.0":"2017-05-04T15:39:08.692Z","3.0.0":"2018-06-18T11:43:02.957Z"},"homepage":"https://github.com/sindresorhus/pkg-dir#readme","keywords":["package","json","root","npm","entry","find","up","find-up","findup","look-up","look","file","search","match","resolve","parent","parents","folder","directory","dir","walk","walking","path"],"repository":{"type":"git","url":"git+https://github.com/sindresorhus/pkg-dir.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"bugs":{"url":"https://github.com/sindresorhus/pkg-dir/issues"},"license":"MIT","readmeFilename":"readme.md","users":{"recursion_excursion":true,"ahmed-dinar":true,"rocket0191":true,"hugojosefson":true,"alexreg90":true,"alexreg":true,"drewigg":true,"dwqs":true},"_attachments":{},"_etag":"W/\"dfca55dc62adcf503382163abc0303ba\"","_lastModified":"Mon, 18 Jun 2018 11:43:07 GMT","_cached":true}