{"_id":"pkg-up","_rev":"20-34e35324704230ce94d66227d3d5732a","name":"pkg-up","description":"Find the closest package.json file","dist-tags":{"latest":"5.0.0"},"versions":{"1.0.0":{"name":"pkg-up","version":"1.0.0","description":"Find the closest package.json file","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/pkg-up.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=0.10.0"},"scripts":{"test":"xo && ava"},"files":["index.js"],"keywords":["pkg","package","file","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":"fdbaf6200f31e1e4878c4fc8298966804554cfc4","bugs":{"url":"https://github.com/sindresorhus/pkg-up/issues"},"homepage":"https://github.com/sindresorhus/pkg-up#readme","_id":"pkg-up@1.0.0","_shasum":"3e08fb461525c4421624a33b9f7e6d0af5b05a26","_from":".","_npmVersion":"2.14.3","_nodeVersion":"4.1.0","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"3e08fb461525c4421624a33b9f7e6d0af5b05a26","tarball":"https://registry.npmjs.org/pkg-up/-/pkg-up-1.0.0.tgz","integrity":"sha512-L+d849d9lz20hnRpUnWBRXOh+mAvygQpK7UuXiw+6QbPwL55RVgl+G+V936wCzs/6J7fj0pvgLY9OknZ+FqaNA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD+btSgLEJLbh+DSjoOn3ewB5GIzA9DsnWRBP20WimG+QIgRzY5+AX12cKcPGsgd6JMY6GI8J8C0RdInJXEP92OKw4="}]},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"directories":{}},"2.0.0":{"name":"pkg-up","version":"2.0.0","description":"Find the closest package.json file","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/pkg-up.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=4"},"scripts":{"test":"xo && ava"},"files":["index.js"],"keywords":["pkg","package","file","find","up","find-up","findup","look-up","look","search","match","resolve","parent","parents","folder","directory","dir","walk","walking","path"],"dependencies":{"find-up":"^2.1.0"},"devDependencies":{"ava":"*","xo":"*"},"gitHead":"a3d7ab574308dc311118d360f178f833bb2b693c","bugs":{"url":"https://github.com/sindresorhus/pkg-up/issues"},"homepage":"https://github.com/sindresorhus/pkg-up#readme","_id":"pkg-up@2.0.0","_shasum":"c819ac728059a461cab1c3889a2be3c49a004d7f","_from":".","_npmVersion":"2.15.11","_nodeVersion":"4.7.3","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"c819ac728059a461cab1c3889a2be3c49a004d7f","tarball":"https://registry.npmjs.org/pkg-up/-/pkg-up-2.0.0.tgz","integrity":"sha512-fjAPuiws93rm7mPUu21RdBnkeZNrbfCFCwfAhPWY+rR3zG0ubpe5cEReHOw5fIbfmsxEV/g2kSxGTATY3Bpnwg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC15kmeqwNFkfzynd3vMNxDUGmLisJ+9aiwhCKJkYXmggIhAJekkDfIEJEp8JjTHp+YVUy3K1F3w5sGf5rrJa3KjGzW"}]},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/pkg-up-2.0.0.tgz_1493911467499_0.2755624745041132"},"directories":{}},"3.0.0":{"name":"pkg-up","version":"3.0.0","description":"Find the closest package.json file","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/pkg-up.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=8"},"scripts":{"test":"xo && ava"},"keywords":["pkg","package","file","find","up","find-up","findup","look-up","look","search","match","resolve","parent","parents","folder","directory","dir","walk","walking","path"],"dependencies":{"find-up":"^3.0.0"},"devDependencies":{"ava":"^1.3.1","xo":"^0.24.0"},"gitHead":"f62a81e287243cf4d0ba47049ccdc68467820e65","bugs":{"url":"https://github.com/sindresorhus/pkg-up/issues"},"homepage":"https://github.com/sindresorhus/pkg-up#readme","_id":"pkg-up@3.0.0","_npmVersion":"6.4.1","_nodeVersion":"10.15.1","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"integrity":"sha512-JZNq7+1YrLBearPABHE5XWK+wvUvUz71u/0ZEeUkmVXz5hBYpzTzsIApseSeYQuFyp2o+SaW90Z+uU15O6OZgA==","shasum":"c0caa5c1066ffbd7a1f70ef6a70fe2a6ee6fe009","tarball":"https://registry.npmjs.org/pkg-up/-/pkg-up-3.0.0.tgz","fileCount":4,"unpackedSize":3284,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJck6gjCRA9TVsSAnZWagAAQjEP/jMEldj+zSrXQrJsypVi\nYQRv2zXQXzsZQbr+ysdppOAc4ssaVSbb3eB9i6Fh3oAhVhJi+zRLMx0Rbcgi\nY71nNJHPWV0bL3hCdDDq2mr0euZwItceoRWAMWTQDD/KvUrBQbCZgeufoWmU\nSljk/o9uc4VNjZ4WZdQll5tRWDCx3mT/LV0PhUr/DklotNtrYznQpQzeb+31\n2Ef//vTIDSi2BpKis1R8UMwZVHiTOlpb3VIkQJEJKWxHKLuWL5OghIPieJF5\n3JNcDE1dp/SbT86rJ1EdEsL2cIumZJameaP7ffPi0dxaHzNcUd8SLGpoUwkE\njYOxUlHc6AUCTcyD/ha1rOsuhdEUPyunBj6qchWMmaewKAewCCX19kARiYyG\nljYLaFseTOECHgBoC3qPEEHYR6pyNWcFdBmt2s4aCRDzC3nF6dnwvuPsEMPR\nq9C2ygOSciIPFBs0aTo9CVm6wztt7ZT+5cLWm0ZJQ9Q90OPrxAJ6i4rGKdQy\niLPn1NuZTMobT/b+3Hq3T6ajYzzH1hrB3qLTl94K1ZijENe4IsFkPQTbiyc7\nzsI001afubueRH3BincgFqI2WhbA9jFN2dcWwA2Jvu5FfndFaDU+yM3GDE6d\nwusux7Yc0shz8k1XEdTSLKrttv/QhaymKj+KYjGQR6oWna5FHhWzTtNmXgSj\nm3et\r\n=lnkN\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDYGA6FaxAYEB1upTL2vJrGV0c0TwENjmkzk9jK2jp08AIgJ3Jy4jstaZ7IRWvnHRjkkTcMQeR2xPVcm3VEhltpmlE="}]},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/pkg-up_3.0.0_1553180706636_0.4423074213091289"},"_hasShrinkwrap":false},"3.0.1":{"name":"pkg-up","version":"3.0.1","description":"Find the closest package.json file","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/pkg-up.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=8"},"scripts":{"test":"xo && ava"},"keywords":["pkg","package","file","find","up","find-up","findup","look-up","look","search","match","resolve","parent","parents","folder","directory","dir","walk","walking","path"],"dependencies":{"find-up":"^3.0.0"},"devDependencies":{"ava":"^1.3.1","xo":"^0.24.0"},"gitHead":"4396ac2868d99c880e459a5e875c8afbdd60e8ff","bugs":{"url":"https://github.com/sindresorhus/pkg-up/issues"},"homepage":"https://github.com/sindresorhus/pkg-up#readme","_id":"pkg-up@3.0.1","_nodeVersion":"8.15.0","_npmVersion":"6.9.0","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"integrity":"sha512-M8N4levGL4P4tHD+l9/glzZuRJqDhwnL5hAMoz7dIpgHhw0NmOjrcvF2plRCy/c7hkylftdehtnJZNkkBeKpzQ==","shasum":"91ea5597c5585fe438d32689ac8943f1b5f17900","tarball":"https://registry.npmjs.org/pkg-up/-/pkg-up-3.0.1.tgz","fileCount":4,"unpackedSize":3294,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJclexSCRA9TVsSAnZWagAAZM0P/RaB0LvB2M9+4ylZmdRH\n05mbfRN7n6fU52swOS+BSNOSw7egbbyod0OvQxzVF87uvs6AtSfNsZXunzBn\nli2bm5BmQVa8bN2IKD93zKraEto5WzYqvqKzC4JpYTu9Wad96t8EMqNegtuX\nTlm2Y3Rp8qEL7IzzSKgpSD9pNRQI5YtHpMaLorXctPtZSmZwVc+7S1j1VJ4q\n/KtcX4W77APQltmn5n5tg5P8iMNVGibub6Y5azfccGANSaPPzzEfcDhvp83R\nRYf5KTQSRPGBsTSs8f3fZVXuCBu4Z9ZFQ8qijRGJkxqHX4osnM4oRZ+JP7ov\nU9JO1e2v0PPF2q5PY0jXydN+HKkisFFsOPGd9/JfKJT4ik3nseydkNQdqAbm\nio9vsD21bal1BqPBXJrUrz+XTRgSWiTRS5erd+tafA69V86fAQV8dBdW7gyi\nQkjKxh4UAv1VgwvgwCJJtEgpKsMNX9EWwxSzvpTnStWEaKBR/hSg6TGMtS61\nD7qJqruZuWMw775ICOXZaAI5oAzVDV2eFJAQwDmyYkwkl+ic8uVK/VK7SjgR\nhCcZxMrCpPl/P5WciKJoxOoeTAaSNmPFGx66h4v3xz/klOTbVabqfS+ZOAPi\nkUpPN57ZLWJqa510cvM+ZahdJhxp83+p2pF3XjN5ve+lw1DHucNFKkrrKbvi\nDOkf\r\n=GqP2\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDVvE6oVeQXqR5hejpRilsuIUNxGN28mDuitTpPx/HpNAIgRwfbW59Zd2BQEhBvakrp42Li3+4R3NG8H+K7re374hE="}]},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/pkg-up_3.0.1_1553329234141_0.7432386458725204"},"_hasShrinkwrap":false},"3.1.0":{"name":"pkg-up","version":"3.1.0","description":"Find the closest package.json file","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/pkg-up.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=8"},"scripts":{"test":"xo && ava && tsd"},"keywords":["pkg","package","file","find","up","find-up","findup","look-up","look","search","match","resolve","parent","parents","folder","directory","dir","walk","walking","path"],"dependencies":{"find-up":"^3.0.0"},"devDependencies":{"ava":"^1.4.1","tsd":"^0.7.2","xo":"^0.24.0"},"gitHead":"9166b423d53ffef572eedf7b62926dcc199df0ae","bugs":{"url":"https://github.com/sindresorhus/pkg-up/issues"},"homepage":"https://github.com/sindresorhus/pkg-up#readme","_id":"pkg-up@3.1.0","_nodeVersion":"8.15.0","_npmVersion":"6.9.0","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"integrity":"sha512-nDywThFk1i4BQK4twPQ6TA4RT8bDY96yeuCVBWL3ePARCiEKDRSrNGbFIgUJpLp+XeIR65v8ra7WuJOFUBtkMA==","shasum":"100ec235cc150e4fd42519412596a28512a0def5","tarball":"https://registry.npmjs.org/pkg-up/-/pkg-up-3.1.0.tgz","fileCount":5,"unpackedSize":4250,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJctAJ0CRA9TVsSAnZWagAAKQMQAITgee31cUCObT2tpa8h\nMGzGG26xHpj2XL4Q9aVHU1+8iGwgfuXf/nGhLeEaswpgL3KUVSl/Mxj+NXHW\nv3K4LKvoeoKiTkYiffNXp5FogVB2xlArjgeWjfFWIgmnNrXfn0cP9DJcQDl+\nsYD9D1XQo1RVOtcylkGtkTIcAIixqFTkPgohhDrqexWHr0833K6YDzlx1zfN\n3zrt2FCXALpLzHKagalgJiIqYkFH5ClumIQeQL5POHVcLT8gqpbiyI99uY58\nNJNC/kyU0HCIVpOcl3RRU4A1FYrg9RWawZJ5iFAR5dSObmnMiem6cpY2Sj7b\nWRs0afDq1R8Ci3k2HKVetQ5x+B+4uk0w4l7FPnFf8zv1tKFA4Aqy9UhJaFvO\n2a/Zd/mWwL250EBIrJ+9b96WRW9cE5gY9/yeQFeExA761BbVtNa+dReZiet5\n8h07Td/fGJ+KVzRnWQNFRGp9qAtqeseEsKgbpATwkad7KBylSoMFnphVE51o\n/+g7Qu+qqv3mbbxeJSiqz4Zoc0iK8L3Al/6qyGxVILgP/aXBmzMBvsF/jnAz\ng7e5K7XzXYyqnn9c8in+EcTiRyRdMIRIo40czdiThqZfNpqJx1z1MqVDxt3f\nCP0bJ2zJMEB/XAHA84alq0y2gRHBaQqZaGC8RdFBcl6NVRhvCimlihbt/e5n\nbDSC\r\n=Dz+8\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAu1J3kca0viciORalQ2C7dge2hHnS+NKSdYjCOdo2bAAiAyYDM8xnFMdpe7j/3wZ46mGX3iUunormK+v9+qz3IZwA=="}]},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/pkg-up_3.1.0_1555300979957_0.7882048060432563"},"_hasShrinkwrap":false},"4.0.0":{"name":"pkg-up","version":"4.0.0","description":"Find the closest package.json file","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/pkg-up.git"},"funding":"https://github.com/sponsors/sindresorhus","author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"type":"module","exports":"./index.js","engines":{"node":"^12.20.0 || ^14.13.1 || >=16.0.0"},"scripts":{"test":"xo && ava && tsd"},"keywords":["pkg","package","file","find","up","find-up","findup","look-up","look","search","match","resolve","parent","parents","folder","directory","walk","walking","path"],"dependencies":{"find-up":"^6.2.0"},"devDependencies":{"ava":"^3.15.0","tsd":"^0.18.0","xo":"^0.46.4"},"types":"./index.d.ts","gitHead":"78730d5a721fefbc45c8b4d65bb6679a4fbdcbbb","bugs":{"url":"https://github.com/sindresorhus/pkg-up/issues"},"homepage":"https://github.com/sindresorhus/pkg-up#readme","_id":"pkg-up@4.0.0","_nodeVersion":"12.22.1","_npmVersion":"8.1.0","dist":{"integrity":"sha512-N4zdA4sfOe6yCv+ulPCmpnIBQ5I60xfhDr1otdBBhKte9QtEf3bhfrfkW7dTb+IQ0iEx4ZDzas0kc1o5rdWpYg==","shasum":"b2ca5e845979e31497d81520b621f4cdac2dcd75","tarball":"https://registry.npmjs.org/pkg-up/-/pkg-up-4.0.0.tgz","fileCount":5,"unpackedSize":4497,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh22t8CRA9TVsSAnZWagAA/XgP/jISSEA9HSySxwIyJFuy\nXsH+qtNPdqiJyKhj9fs4Zph6d591IbjQm7pVZuHi/ojoz7JCgR3DGSSiEZvS\nRpD7tg9tM9uNMVqrqznv2tipPvOI8YO0Dg4atb8k492RT0WKxhDmDLuw4hZH\nxnczZY12+cOJBKauY/kmABRTDDOVcuwa/mMF48BblTvPRiZIaTIKOyk/n/EY\nLXPKoXGa4fCWOkPDbtJfBaQ/KWz/Hedqjl68tSe5y9xMR+Bb7KDNYYu/XNDE\nvRdJDXfksBIEAt/L0UpwJzAZfinJxNFI2+AgiT3fvLbHvuoV/pQQJNUACUxv\nVwY/Xy0JfKliyobgmBq5/6YOHfjTVob29PKDPJl1bDT+nY4YoZZBJdIIFzaS\n1uSq7EEUtj9CYGQGik4GWJD/818ebHY6WjOi6b3slYq+gep1Vbs+egBKjD49\n61b9dluE1OB14cYi3Nuf4W2mGhHJBu2DRoY2LRxTx2bz9ZmkRWW885CFZMv+\ntRNFcpRDhCYhyCVS+18mecbyAX+QxH3jxogbZuxtfjmEEhxRts2E+F0rMEzI\n6fF7jCjcASzO+i00Q41gTT2BwDPjCQJj62uhQKO+88Nm5lYx2ghpzoU2Db6y\n74bj+lksHcSXcnsZzLXiS6kJdDG6uqbkWlynyv+H1yxTRW9ZCqaSW9GHCqfr\n8rrI\r\n=S4k1\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCvbx+x/F+Pu68WqCCCv7v8iLTxTKaubs7rTt03aoXItgIgbkDkjyWEOqdtKW7RtIIe+VDd3JSqHH81kqAIuJb5if8="}]},"_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"directories":{},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/pkg-up_4.0.0_1636034894298_0.37791111314856773"},"_hasShrinkwrap":false},"5.0.0":{"name":"pkg-up","version":"5.0.0","description":"Find the closest package.json file","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/pkg-up.git"},"funding":"https://github.com/sponsors/sindresorhus","author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"type":"module","exports":"./index.js","engines":{"node":"^12.20.0 || ^14.13.1 || >=16.0.0"},"scripts":{"test":"xo && ava && tsd"},"keywords":["pkg","package","file","find","up","find-up","findup","look-up","look","search","match","resolve","parent","parents","folder","directory","walk","walking","path"],"dependencies":{"find-up":"^6.2.0"},"devDependencies":{"ava":"^3.15.0","tsd":"^0.18.0","xo":"^0.46.4"},"types":"./index.d.ts","gitHead":"78730d5a721fefbc45c8b4d65bb6679a4fbdcbbb","bugs":{"url":"https://github.com/sindresorhus/pkg-up/issues"},"homepage":"https://github.com/sindresorhus/pkg-up#readme","_id":"pkg-up@5.0.0","_nodeVersion":"18.18.2","_npmVersion":"9.2.0","dist":{"integrity":"sha512-NbJJ+WABU/AKhl3ooFwMc3+dQi0StEYrFj1g+D7BlaE07pL98rBLP21XMfNyGlckzHOt4onU5OuLE1GNkQqVsA==","shasum":"43fed23f28a60f669d6ebf5ed408187478733b53","tarball":"https://registry.npmjs.org/pkg-up/-/pkg-up-5.0.0.tgz","fileCount":5,"unpackedSize":4497,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCcUinLfP5xUaR2HoTIjdNBA+x+LC0Sy04hjNY3W5Vv8QIgGeF4ozn+85ou+pFkAKgakI2zSCcSrwaNuQf37r9/HcY="}]},"_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"directories":{},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/pkg-up_5.0.0_1699089340372_0.29585655048766446"},"_hasShrinkwrap":false,"deprecated":"Renamed to package-up"}},"readme":"# pkg-up\n\n> Find the closest package.json file\n\n## Install\n\n```sh\nnpm install pkg-up\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\nimport {pkgUp} from 'pkg-up';\n\nconsole.log(await pkgUp());\n//=> '/Users/sindresorhus/foo/package.json'\n```\n\n## API\n\n### pkgUp(options?)\n\nReturns a `Promise<string>` for the file path, or `Promise<undefined>` if it could not be found.\n\n### pkgUpSync(options?)\n\nReturns the file path, or `undefined` if it could not be found.\n\n#### options\n\nType: `object`\n\n#### cwd\n\nType: `string`\\\nDefault: `process.cwd()`\n\nThe directory to start from.\n\n## Related\n\n- [read-pkg-up](https://github.com/sindresorhus/read-pkg-up) - Read the closest package.json file\n- [pkg-dir](https://github.com/sindresorhus/pkg-dir) - Find the root directory of an npm package\n- [find-up](https://github.com/sindresorhus/find-up) - Find a file by walking up parent directories\n","maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"time":{"modified":"2023-11-04T09:16:15.694Z","created":"2015-09-21T10:17:20.550Z","1.0.0":"2015-09-21T10:17:20.550Z","2.0.0":"2017-05-04T15:24:27.726Z","3.0.0":"2019-03-21T15:05:06.794Z","3.0.1":"2019-03-23T08:20:34.257Z","3.1.0":"2019-04-15T04:03:00.078Z","4.0.0":"2021-11-04T14:08:14.404Z","5.0.0":"2023-11-04T09:15:40.635Z"},"homepage":"https://github.com/sindresorhus/pkg-up#readme","keywords":["pkg","package","file","find","up","find-up","findup","look-up","look","search","match","resolve","parent","parents","folder","directory","walk","walking","path"],"repository":{"type":"git","url":"git+https://github.com/sindresorhus/pkg-up.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"bugs":{"url":"https://github.com/sindresorhus/pkg-up/issues"},"license":"MIT","readmeFilename":"readme.md","users":{"huhgawz":true,"alexreg90":true,"alexreg":true,"mysticatea":true,"drewigg":true,"dwqs":true,"arcticicestudio":true,"flumpus-dev":true}}