{"_id":"new-find-package-json","_rev":"4-13601558f3e42e3bd2a23a347b6aafb9","name":"new-find-package-json","dist-tags":{"latest":"2.0.0"},"versions":{"1.0.0":{"name":"new-find-package-json","version":"1.0.0","description":"Find the an package.json in the path provided upwards","main":"lib/index.js","types":"lib/index.d.ts","engines":{"node":">=12.22.0"},"scripts":{"build":"tsc -p tsconfig.build.json","build:tests":"tsc -p tsconfig.json","lint":"eslint -c ./.eslintrc.js './**/*.{js,ts}'","test":"jest","test:watch":"jest --watchAll","test:coverage":"jest --collectCoverage","test:watchCoverage":"jest --collectCoverage --watchAll","watch":"tsc -w -p tsconfig.json","prepare":"husky install"},"repository":{"type":"git","url":"git+https://github.com/hasezoey/new-find-package-json.git"},"author":{"name":"hasezoey","email":"hasezoey@gmail.com","url":"https://github.com/hasezoey"},"contributors":[{"name":"hasezoey","email":"hasezoey@gmail.com"}],"license":"MIT","devDependencies":{"@commitlint/cli":"^12.1.4","@commitlint/config-conventional":"^12.1.4","@semantic-release/changelog":"^5.0.1","@semantic-release/commit-analyzer":"^8.0.1","@semantic-release/git":"^9.0.0","@semantic-release/github":"^7.2.3","@semantic-release/npm":"^7.1.3","@semantic-release/release-notes-generator":"^9.0.3","@types/debug":"^4.1.6","@types/jest":"^26.0.23","@types/lodash":"^4.14.170","@types/node":"~10.17.60","@types/tmp":"^0.2.1","@typescript-eslint/eslint-plugin":"^4.28.1","@typescript-eslint/parser":"^4.28.1","commitlint":"^12.1.4","eslint":"^7.29.0","eslint-config-prettier":"^8.3.0","eslint-plugin-prettier":"^3.4.0","husky":"^7.0.0","jest":"^27.0.6","lint-staged":"^11.0.0","prettier":"^2.3.2","semantic-release":"^17.4.4","tmp":"^0.2.1","ts-jest":"^27.0.3","typescript":"^4.3.5"},"dependencies":{"debug":"^4.3.2","tslib":"^2.3.0"},"publishConfig":{"access":"public"},"keywords":["package.json","json","find-package-json","directory","package-json","read-package-json"],"bugs":{"url":"https://github.com/hasezoey/new-find-package-json/issues"},"gitHead":"e5eb551ac5cd54871d804d1b7f12edb1868ab0c7","homepage":"https://github.com/hasezoey/new-find-package-json#readme","_id":"new-find-package-json@1.0.0","_nodeVersion":"12.22.1","_npmVersion":"7.19.1","dist":{"integrity":"sha512-FmxrWLe+CvP5bXFnqEpvut9gWMEDEJqFV8eqITiEkfIZiqyTAR/LO8nNX2s3J6ABdlY3hwJr5m3YIWA7H+houA==","shasum":"a7b763c27e3954b99466aaf394ba1761f3a8effa","tarball":"https://registry.npmjs.org/new-find-package-json/-/new-find-package-json-1.0.0.tgz","fileCount":5,"unpackedSize":9259,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg4yBgCRA9TVsSAnZWagAA3OkP/RDIhg4zOj5VoFjJ38oM\nfM4ncoB2RMFRw6fWYnEl6+jJA8xHjndE4LZ6S/kSet2YPYfllYvSI5bzv1sf\nd3vfYTnQihgzJ1fBauFyMSX/4GZToAAIyohldXCcYh87oM8YyV2CBDa1smQc\n+daR+P2P7VTPFWpHF/w+jOuGU1MNCIz5Js5fMRxtxWsCsdioh8CEnnrMVZAQ\nvfxgP1QXErqu+eoOb8fgS2DhqufBKAQwfkwNtkVlyXYqhk9SNVmyB8dcqYNh\n+ur8/xTm/vWV8yx2G8WXimtYehV1ZxeY42AzSQvPyc11lexERAychRODIC6m\nMTbmCw0Ocv04PDDAuOg1zobJpKhxmmYYFOXJmdzImG/zdXhozeZK61AHRyfn\n2Dry+gO5Fnj8KxGpdG/MIcHEmgcZQnRVxTZUk5jvXuZWRbEcF8DOe3VCS1BU\nEyvWuAPjTraSlcP1OTCyaS1LHvDkogd0en0246pJw28lLRNNC9goNtqvf4N+\nNXn0mGx3vMNUl/WVCA37XA1lQmjeCUf3Xt9v+uMVG8RDo0bgKSWf5phH4jPX\nSD7NklG9O7QOb6kfKMFHlVCAD7o2QyeJfj2zLJsVHW4lMTSUG3p5TTVhhzDO\njsjJ1k0LlMosF6wkXV0oC3GHTuP/nyuQPje8OfOocGNgkrE6cZD7z0eYjjRb\nBx5e\r\n=ycSj\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDb24/gCaFjyIeU6ZkATY/HyZEJjyorv/EZDisXUUU5yAIhAPewRGbtV1Ug/TJ2Lnwrgt1HZSilN1xpMfBIdzlguK2m"}]},"_npmUser":{"name":"hasezoey","email":"hasezoey@gmail.com"},"directories":{},"maintainers":[{"name":"hasezoey","email":"hasezoey@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/new-find-package-json_1.0.0_1625497695701_0.6160635803520913"},"_hasShrinkwrap":false},"1.1.0":{"name":"new-find-package-json","version":"1.1.0","description":"Find the an package.json in the path provided upwards","main":"lib/index.js","types":"lib/index.d.ts","engines":{"node":">=12.22.0"},"scripts":{"build":"tsc -p tsconfig.build.json","build:tests":"tsc -p tsconfig.json","lint":"eslint -c ./.eslintrc.js './**/*.{js,ts}'","test":"jest","test:watch":"jest --watchAll","test:coverage":"jest --collectCoverage","test:watchCoverage":"jest --collectCoverage --watchAll","watch":"tsc -w -p tsconfig.json","prepare":"husky install"},"repository":{"type":"git","url":"git+https://github.com/hasezoey/new-find-package-json.git"},"author":{"name":"hasezoey","email":"hasezoey@gmail.com","url":"https://github.com/hasezoey"},"contributors":[{"name":"hasezoey","email":"hasezoey@gmail.com"}],"license":"MIT","devDependencies":{"@commitlint/cli":"^12.1.4","@commitlint/config-conventional":"^12.1.4","@semantic-release/changelog":"^5.0.1","@semantic-release/commit-analyzer":"^8.0.1","@semantic-release/git":"^9.0.0","@semantic-release/github":"^7.2.3","@semantic-release/npm":"^7.1.3","@semantic-release/release-notes-generator":"^9.0.3","@types/debug":"^4.1.6","@types/jest":"^26.0.23","@types/lodash":"^4.14.170","@types/node":"~10.17.60","@types/tmp":"^0.2.1","@typescript-eslint/eslint-plugin":"^4.28.1","@typescript-eslint/parser":"^4.28.1","commitlint":"^12.1.4","eslint":"^7.29.0","eslint-config-prettier":"^8.3.0","eslint-plugin-prettier":"^3.4.0","husky":"^7.0.0","jest":"^27.0.6","lint-staged":"^11.0.0","prettier":"^2.3.2","semantic-release":"^17.4.4","tmp":"^0.2.1","ts-jest":"^27.0.3","typescript":"^4.3.5"},"dependencies":{"debug":"^4.3.2","tslib":"^2.3.0"},"publishConfig":{"access":"public"},"keywords":["package.json","json","find-package-json","directory","package-json","read-package-json"],"bugs":{"url":"https://github.com/hasezoey/new-find-package-json/issues"},"gitHead":"331e73a9d92ad61931fb58529ecb957fd293f9ee","homepage":"https://github.com/hasezoey/new-find-package-json#readme","_id":"new-find-package-json@1.1.0","_nodeVersion":"12.22.1","_npmVersion":"7.19.1","dist":{"integrity":"sha512-KOH3BNZcTKPzEkaJgG2iSUaurxKmefqRKmCOYH+8xqJytNIgjqU4J88BHfK+gy/UlEzlhccLyuJDJAcCgexSwA==","shasum":"053e006b17f409b9a816d5bcf0ee2b90a50326a3","tarball":"https://registry.npmjs.org/new-find-package-json/-/new-find-package-json-1.1.0.tgz","fileCount":5,"unpackedSize":13657,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg4yayCRA9TVsSAnZWagAA8MkP/0qbCHg8P2BwUyNUMGWr\nPQeFqQgg59m2QgUntg5W6+DmK/kltd8XfKyvY75XJDRwJ5lmdF4Gl9b3Bg2z\nQFp2akrbNYoLnWjWy3eoiFvZpchMa0Ic75ZiG+gV40DjyvGCCaPimGOkUw3+\nSxySa+Zc6/JVGMg3k9KQ0371eyRAJQLrw4/FlZsLYQ/o9gO9/10AA4DTvpFD\nDUuTv75/fxpUowMR4gqUbv1NMZzqdpZHD+/5WS2lScTmo6Rblt4axx3Bf6fd\n/cq/YxkYK0N1DebdVd9hh56hQfyEsLpS+IvXGgsdjoFkTaY46eV7DUTZBg1m\noM6W7Qk9X0jUmfMYIpznYJFhzwgpwwB4SW8fVBtbaXvbWXkqyBatqr1Eo+0f\n7xU8Dd5/Q4zk5C91KE2tjPl7NJ1NOqBhXiRlaOPOJt4bZRcueX21yfgADCt3\n2SrqU6sQEyJUwJaz/CwjnaHQPUz/NiP4U0eEIoB/OupWU7sPT/rvgMcsnqTa\nQYe7OSRem2u2qTR82TNmSiC7BC1jbQUQonCGryLOWc+eksXsaiCTCkd4SVBn\n1qgrcafUo83uB9j3gfl52puvLHiarPQFKBh403dx53CddsftbPkSvddROTjw\nLXo96e+Ypzq+xHjlgFFjdJ/57s8Qg7upr4Se3x2j89I2YBDjluF1GiK9FcrJ\nAFAR\r\n=MFpv\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD0X9PJbaShT9wqJ0/OPmBPQvUQT0VXtr/B/UPN1aG1aQIhAMCktsed5otqVXDmdqGq9/PNRPnMrCfbeYVEG8LMy0zM"}]},"_npmUser":{"name":"hasezoey","email":"hasezoey@gmail.com"},"directories":{},"maintainers":[{"name":"hasezoey","email":"hasezoey@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/new-find-package-json_1.1.0_1625499313979_0.4728178063436761"},"_hasShrinkwrap":false},"1.2.0":{"name":"new-find-package-json","version":"1.2.0","description":"Find the an package.json in the path provided upwards","main":"lib/index.js","types":"lib/index.d.ts","engines":{"node":">=12.22.0"},"scripts":{"build":"tsc -p tsconfig.build.json","build:tests":"tsc -p tsconfig.json","lint":"eslint -c ./.eslintrc.js './**/*.{js,ts}'","test":"jest","test:watch":"jest --watchAll","test:coverage":"jest --collectCoverage","test:watchCoverage":"jest --collectCoverage --watchAll","watch":"tsc -w -p tsconfig.json","prepare":"husky install"},"repository":{"type":"git","url":"git+https://github.com/hasezoey/new-find-package-json.git"},"author":{"name":"hasezoey","email":"hasezoey@gmail.com","url":"https://github.com/hasezoey"},"contributors":[{"name":"hasezoey","email":"hasezoey@gmail.com"}],"license":"MIT","devDependencies":{"@commitlint/cli":"^16.3.0","@commitlint/config-conventional":"^16.2.4","@semantic-release/changelog":"^5.0.1","@semantic-release/commit-analyzer":"^8.0.1","@semantic-release/git":"^9.0.1","@semantic-release/github":"^7.2.3","@semantic-release/npm":"^7.1.3","@semantic-release/release-notes-generator":"^9.0.3","@types/debug":"^4.1.7","@types/jest":"^27.5.1","@types/node":"~10.17.60","@types/tmp":"^0.2.3","@typescript-eslint/eslint-plugin":"^5.26.0","@typescript-eslint/parser":"^5.26.0","commitlint":"^16.3.0","eslint":"^8.16.0","eslint-config-prettier":"^8.5.0","eslint-plugin-prettier":"^4.0.0","husky":"^7.0.4","jest":"^28.1.0","lint-staged":"^11.2.6","prettier":"^2.6.2","semantic-release":"^17.4.7","tmp":"^0.2.1","ts-jest":"^28.0.3","typescript":"~4.4.4"},"dependencies":{"debug":"^4.3.4","tslib":"^2.4.0"},"publishConfig":{"access":"public"},"keywords":["package.json","json","find-package-json","directory","package-json","read-package-json"],"bugs":{"url":"https://github.com/hasezoey/new-find-package-json/issues"},"gitHead":"c1c4c9cd02043ddc8add573ee49e5901fca572e9","homepage":"https://github.com/hasezoey/new-find-package-json#readme","_id":"new-find-package-json@1.2.0","_nodeVersion":"12.22.12","_npmVersion":"7.24.2","dist":{"integrity":"sha512-Z4v/wBxApGh1cCGEhNmq4p8wjDvM6R6vEuYzlAhzOlXBKLJfjyMvwd+ZHR9fyYKVvXfEn4Z3YX6MD470PxpVbQ==","shasum":"a2c0684c6539941a711d810acc5c3e9f076a7426","tarball":"https://registry.npmjs.org/new-find-package-json/-/new-find-package-json-1.2.0.tgz","fileCount":5,"unpackedSize":13821,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCID27ZnLWCu2ofGtaybX3IsrWsV6I3iCgWYRJpYQhs/q6AiEApxwEH8rkDnp4d0Hjk1UjYPvjLwELnFyI+XdhOFuCi2Y="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJijUoDACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqW+g//eqsBqCjYtETeu8kOZc1pnrtiCMtmVZuW2XRWhQTrI3Ubhc16\r\npQAx40BWtdIYlhcxVjHovuj1WfsyXQyoRSBE1wqpWgyI+gTGtGHV/gnuyLWA\r\n5tOidaWPf6ngjSli1Xh3fkuXBD9s07St7F5M0guqQAqBQn11wHFKgsuXJJqh\r\nzDLzpAB7RjioDhL6SdLnMW74oBsOA7FjSyi7VG5BYRhznjnT4kqWV6gyUoG3\r\nlpB0HNgQjpD0E/IlMIwFU0XGk2ZH1rKgWTwAO+CzDMxUpTlD472yZJpDROYP\r\nlorzWK1IHaXRuj0lURl64HYnrj1W2KEu3x2fffSnnh8N1w6ErO8GPOSYfmgL\r\nW2lTtEm3s6ZzIZOiprlOO8MnPPZfrnSb4efk/4UhgoLmWDmozaHtImzSFTDk\r\nqdkVk+tTkCpnJ/Z0e/EV1aHdQ9D0olY+4X3X8Nvs76Hks5dyyhsdTNbkNyKN\r\n4llnkaIys5t0gEI2H4eojHrOhlXYfhVUnQNdRSVrTIZaKmbicpqKzyEfFJIm\r\nBPGIvu3+Gfd+MF5sXnCeXt+Pwps7iS2ksswC142ahOQWDJPZmmWMF22F2pH9\r\n0uRTulPm2prppU6+GPVt+f3bYxcenZPMX46HoURukhKE2mTfirhEn5WLoNg8\r\nzrRY1brklVIWyFhfaEReP60lsWg1LoYCNgc=\r\n=F9uO\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"hasezoey","email":"hasezoey@gmail.com"},"directories":{},"maintainers":[{"name":"hasezoey","email":"hasezoey@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/new-find-package-json_1.2.0_1653426691061_0.46642325604647494"},"_hasShrinkwrap":false},"2.0.0":{"name":"new-find-package-json","version":"2.0.0","description":"Find the an package.json in the path provided upwards","main":"lib/index.js","types":"lib/index.d.ts","engines":{"node":">=12.22.0"},"scripts":{"build":"tsc -p tsconfig.build.json","build:tests":"tsc -p tsconfig.json","lint":"eslint -c ./.eslintrc.js './**/*.{js,ts}'","test":"jest","test:watch":"jest --watchAll","test:coverage":"jest --collectCoverage","test:watchCoverage":"jest --collectCoverage --watchAll","watch":"tsc -w -p tsconfig.json","prepare":"husky install"},"repository":{"type":"git","url":"git+https://github.com/hasezoey/new-find-package-json.git"},"author":{"name":"hasezoey","email":"hasezoey@gmail.com","url":"https://github.com/hasezoey"},"contributors":[{"name":"hasezoey","email":"hasezoey@gmail.com"}],"license":"MIT","devDependencies":{"@commitlint/cli":"^16.3.0","@commitlint/config-conventional":"^16.2.4","@semantic-release/changelog":"^5.0.1","@semantic-release/commit-analyzer":"^8.0.1","@semantic-release/git":"^9.0.1","@semantic-release/github":"^7.2.3","@semantic-release/npm":"^7.1.3","@semantic-release/release-notes-generator":"^9.0.3","@types/debug":"^4.1.7","@types/jest":"^27.5.1","@types/node":"~10.17.60","@types/tmp":"^0.2.3","@typescript-eslint/eslint-plugin":"^5.26.0","@typescript-eslint/parser":"^5.26.0","commitlint":"^16.3.0","eslint":"^8.16.0","eslint-config-prettier":"^8.5.0","eslint-plugin-prettier":"^4.0.0","husky":"^7.0.4","jest":"^28.1.0","lint-staged":"^11.2.6","prettier":"^2.6.2","semantic-release":"^17.4.7","tmp":"^0.2.1","ts-jest":"^28.0.3","typescript":"~4.4.4"},"dependencies":{"debug":"^4.3.4"},"publishConfig":{"access":"public"},"keywords":["package.json","json","find-package-json","directory","package-json","read-package-json"],"bugs":{"url":"https://github.com/hasezoey/new-find-package-json/issues"},"gitHead":"4ecf5aaf40b3c918c7cca8a025b92194c39080cd","homepage":"https://github.com/hasezoey/new-find-package-json#readme","_id":"new-find-package-json@2.0.0","_nodeVersion":"12.22.12","_npmVersion":"7.24.2","dist":{"integrity":"sha512-lDcBsjBSMlj3LXH2v/FW3txlh2pYTjmbOXPYJD93HI5EwuLzI11tdHSIpUMmfq/IOsldj4Ps8M8flhm+pCK4Ew==","shasum":"96553638781db35061f351e8ccb4d07126b6407d","tarball":"https://registry.npmjs.org/new-find-package-json/-/new-find-package-json-2.0.0.tgz","fileCount":5,"unpackedSize":13416,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCUp3EeR/8XSiD2F2f93TkbQ95nVl0kdgv+OBqiErcRsAIhALTK9veYDBf55efLy+vjWk5qtKqSg3pUG8O2T/15A0lW"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJijU3oACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmqt6w/+KY2un+KSxsERrTCtWWNSDeztA8WmnbXRgcD8UWvlBoiVlqHA\r\nCFeMzRMsLy5oMeTvtweFN0RDmidM0H+ZDf4qwqBE0P3twn7QycvPpSdAqNVk\r\njzIKxvtYnvT5RbDj1FCK/5d1UsiIFkQBu8ws8MGTSr2+EJvLLWSXDgDVbZvG\r\n3m91cNIpfw5otg1m6qQ+5l1qtOxU0iKBn/c0gRUnUo6wmOonfk8YG7Ot/gfV\r\nUjy0mKcEWdwdMuMYUVy7mJaRSe8d8JlQYStpmMwbqbhos3e+qMS1FnbsuGXh\r\n7mE2MG6Eosk/rDF+/bHFlhmxSTtCCXEM0sjD62WsZVN8teXLtp+J84j9fojy\r\nv8yFtGRdUaeaL02Og33RohoNxYB91Wtbx4lKRGgo96b/uY9rHkTpIiM3UmGS\r\njGtEOvcgnHMdBPco/7hjpCMFukS3IyPtp8Er+3AMHJqY+0/KzyjY2TGSpjr0\r\nf1ey2m+b+mKYe6B7TG6jFIiw8vv7c4IOLw3b2XeqUhRZyb8/05myZUPZitkV\r\nviMrx99rDkEBUTlVIEXwkP6whq+XeBG3iWG8NZ9l7H11XGDJ2Dti46icfTWr\r\nFRITQ96S14nNn1jFHRxD+Es3tOdZZzPY1yQV4x7R8pXUjS1pSK3BkQ7VdN10\r\n37GQBRVM2WQ7dgD9xHbWRlAUSrF19KP4dzc=\r\n=j5uy\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"hasezoey","email":"hasezoey@gmail.com"},"directories":{},"maintainers":[{"name":"hasezoey","email":"hasezoey@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/new-find-package-json_2.0.0_1653427688258_0.14806106430205146"},"_hasShrinkwrap":false}},"time":{"created":"2021-07-05T15:08:15.659Z","1.0.0":"2021-07-05T15:08:15.875Z","modified":"2022-05-24T21:28:08.599Z","1.1.0":"2021-07-05T15:35:14.164Z","1.2.0":"2022-05-24T21:11:31.209Z","2.0.0":"2022-05-24T21:28:08.508Z"},"maintainers":[{"name":"hasezoey","email":"hasezoey@gmail.com"}],"description":"Find the an package.json in the path provided upwards","homepage":"https://github.com/hasezoey/new-find-package-json#readme","keywords":["package.json","json","find-package-json","directory","package-json","read-package-json"],"repository":{"type":"git","url":"git+https://github.com/hasezoey/new-find-package-json.git"},"contributors":[{"name":"hasezoey","email":"hasezoey@gmail.com"}],"author":{"name":"hasezoey","email":"hasezoey@gmail.com","url":"https://github.com/hasezoey"},"bugs":{"url":"https://github.com/hasezoey/new-find-package-json/issues"},"license":"MIT","readme":"# new-find-package-json\n\nInspired by [`find-package-json`](https://github.com/3rd-Eden/find-package-json)\n\nThis package can find (by default) the nearest `package.json` (upwards).\n\n## Usage\n\nSync:\n\n```ts\nconst findFileFrom = process.cwd();\nfor (const file of findSync(findFileFrom)) {\n  console.log(\"found file:\", file);\n}\n```\n\nAsync/await (Promises):\n\n```ts\nconst findFileFrom = process.cwd();\nfor await (const file of findAsync(findFileFrom)) {\n  console.log(\"found file:\", file);\n}\n```\n\nNote: it is important to not forget to use `for await..of` instead of just `for..of` for `findAsync`\n\n### Options\n\nOptions for `findSync` & `findAsync`:\n\n| Index | Name | Type | Default | Description |\n| :---: | :---: | :---: | :---: | :---: |\n| 0 | `input` | `string` | none (required) | The path to search from |\n| 1 | `base` | `string` | `process.cwd()` | The path to use as an absolute point if `input` is not absolute |\n| 2 | `fileName` | `string` | `package.json` | The Filename to search for |\n\n`.next` will return an object with `value` and `done`, where value is the absolute path to the file found and `undefined` if `done` is `true`\n","readmeFilename":"README.md"}