{"_id":"@stdlib/fs-resolve-parent-path","_rev":"4679210","name":"@stdlib/fs-resolve-parent-path","description":"Resolve a path by walking parent directories.","dist-tags":{"latest":"0.2.3"},"maintainers":[{"name":"kgryte","email":"kgryte@gmail.com"},{"name":"planeshifter","email":"pgb@andrew.cmu.edu"},{"name":"rreusser","email":"rsreusser@gmail.com"},{"name":"stdlib-bot","email":""}],"time":{"modified":"2026-04-11T00:29:43.000Z","created":"2021-06-14T17:24:54.043Z","0.2.3":"2026-02-07T21:02:45.618Z","0.2.2":"2024-07-27T03:13:28.739Z","0.2.1":"2024-02-22T01:32:38.891Z","0.2.0":"2024-02-14T04:16:51.592Z","0.1.1":"2023-10-03T23:58:14.021Z","0.1.0":"2023-09-22T22:20:47.641Z","0.0.8":"2022-02-16T19:26:34.388Z","0.0.7":"2021-08-23T02:16:06.240Z","0.0.6":"2021-07-09T23:12:02.813Z","0.0.5":"2021-07-06T23:52:39.683Z","0.0.4":"2021-06-27T22:11:45.448Z","0.0.3":"2021-06-16T04:03:06.706Z","0.0.2":"2021-06-15T14:49:38.723Z","0.0.1":"2021-06-14T17:24:54.043Z"},"users":{},"author":{"name":"The Stdlib Authors","url":"https://github.com/stdlib-js/stdlib/graphs/contributors"},"repository":{"type":"git","url":"git://github.com/stdlib-js/fs-resolve-parent-path.git"},"versions":{"0.2.3":{"name":"@stdlib/fs-resolve-parent-path","version":"0.2.3","description":"Resolve a path by walking parent directories.","license":"Apache-2.0","author":{"name":"The Stdlib Authors","url":"https://github.com/stdlib-js/stdlib/graphs/contributors"},"contributors":[{"name":"The Stdlib Authors","url":"https://github.com/stdlib-js/stdlib/graphs/contributors"}],"main":"./lib","directories":{"doc":"./docs","lib":"./lib","dist":"./dist"},"types":"./docs/types","scripts":{},"homepage":"https://stdlib.io","repository":{"type":"git","url":"git://github.com/stdlib-js/fs-resolve-parent-path.git"},"bugs":{"url":"https://github.com/stdlib-js/stdlib/issues"},"dependencies":{"@stdlib/assert-has-own-property":"^0.2.3","@stdlib/assert-is-function":"^0.2.3","@stdlib/assert-is-plain-object":"^0.2.3","@stdlib/assert-is-string":"^0.2.3","@stdlib/fs-exists":"^0.2.3","@stdlib/process-cwd":"^0.2.3","@stdlib/string-format":"^0.2.3","@stdlib/utils-define-nonenumerable-read-only-property":"^0.2.3","@stdlib/error-tools-fmtprodmsg":"^0.2.3"},"devDependencies":{},"engines":{"node":">=0.10.0","npm":">2.7.0"},"os":["aix","darwin","freebsd","linux","macos","openbsd","sunos","win32","windows"],"keywords":["stdlib","stdfs","fs","resolve","parent","path","async","sync","file","directory","dir","find","up","findup","find-up","upsearch","search","lookup","look-up","locate","walk","filesystem"],"funding":{"type":"opencollective","url":"https://opencollective.com/stdlib"},"_id":"@stdlib/fs-resolve-parent-path@0.2.3","gitHead":"65ac870bcc9363ee25cdde72514d9e0783b5395e","_nodeVersion":"20.20.0","_npmVersion":"10.8.2","dist":{"shasum":"b001218db97dee8a5676dd767beb395da98b19bc","size":11560,"noattachment":false,"key":"/@stdlib/fs-resolve-parent-path/-/@stdlib/fs-resolve-parent-path-0.2.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/@stdlib/fs-resolve-parent-path/download/@stdlib/fs-resolve-parent-path-0.2.3.tgz"},"_npmUser":{"name":"stdlib-bot","email":"kgryte+stdlibbot@gmail.com"},"maintainers":[{"name":"kgryte","email":"kgryte@gmail.com"},{"name":"planeshifter","email":"pgb@andrew.cmu.edu"},{"name":"rreusser","email":"rsreusser@gmail.com"},{"name":"stdlib-bot","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/fs-resolve-parent-path_0.2.3_1770498165428_0.006867897505058007"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2026-02-07T21:02:45.618Z","publish_time":1770498165618,"_source_registry_name":"default","_cnpm_publish_time":1770498165618},"0.2.2":{"name":"@stdlib/fs-resolve-parent-path","version":"0.2.2","description":"Resolve a path by walking parent directories.","license":"Apache-2.0","author":{"name":"The Stdlib Authors","url":"https://github.com/stdlib-js/stdlib/graphs/contributors"},"contributors":[{"name":"The Stdlib Authors","url":"https://github.com/stdlib-js/stdlib/graphs/contributors"}],"main":"./lib","directories":{"doc":"./docs","lib":"./lib","dist":"./dist"},"types":"./docs/types","scripts":{},"homepage":"https://stdlib.io","repository":{"type":"git","url":"git://github.com/stdlib-js/fs-resolve-parent-path.git"},"bugs":{"url":"https://github.com/stdlib-js/stdlib/issues"},"dependencies":{"@stdlib/assert-has-own-property":"^0.2.2","@stdlib/assert-is-function":"^0.2.2","@stdlib/assert-is-plain-object":"^0.2.2","@stdlib/assert-is-string":"^0.2.2","@stdlib/fs-exists":"^0.2.2","@stdlib/process-cwd":"^0.2.2","@stdlib/string-format":"^0.2.2","@stdlib/utils-define-nonenumerable-read-only-property":"^0.2.2","@stdlib/error-tools-fmtprodmsg":"^0.2.2"},"devDependencies":{},"engines":{"node":">=0.10.0","npm":">2.7.0"},"os":["aix","darwin","freebsd","linux","macos","openbsd","sunos","win32","windows"],"keywords":["stdlib","stdfs","fs","resolve","parent","path","async","sync","file","directory","dir","find","up","findup","find-up","upsearch","search","lookup","look-up","locate","walk","filesystem"],"funding":{"type":"opencollective","url":"https://opencollective.com/stdlib"},"gitHead":"33e8edbac6d7d96a3152c652d61ff6aea90af713","_id":"@stdlib/fs-resolve-parent-path@0.2.2","_nodeVersion":"16.20.2","_npmVersion":"8.19.4","dist":{"shasum":"434fa93c067894fea7632aa4b93fba41d7a58cf5","size":11513,"noattachment":false,"key":"/@stdlib/fs-resolve-parent-path/-/@stdlib/fs-resolve-parent-path-0.2.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/@stdlib/fs-resolve-parent-path/download/@stdlib/fs-resolve-parent-path-0.2.2.tgz"},"_npmUser":{"name":"stdlib-bot","email":"kgryte+stdlibbot@gmail.com"},"maintainers":[{"name":"kgryte","email":"kgryte@gmail.com"},{"name":"planeshifter","email":"pgb@andrew.cmu.edu"},{"name":"rreusser","email":"rsreusser@gmail.com"},{"name":"stdlib-bot","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/fs-resolve-parent-path_0.2.2_1722050008573_0.17158943142741223"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2024-07-27T03:13:28.739Z","publish_time":1722050008739,"_source_registry_name":"default","_cnpm_publish_time":1722050008739},"0.2.1":{"name":"@stdlib/fs-resolve-parent-path","version":"0.2.1","description":"Resolve a path by walking parent directories.","license":"Apache-2.0","author":{"name":"The Stdlib Authors","url":"https://github.com/stdlib-js/stdlib/graphs/contributors"},"contributors":[{"name":"The Stdlib Authors","url":"https://github.com/stdlib-js/stdlib/graphs/contributors"}],"main":"./lib","directories":{"doc":"./docs","lib":"./lib","dist":"./dist"},"types":"./docs/types","scripts":{},"homepage":"https://stdlib.io","repository":{"type":"git","url":"git://github.com/stdlib-js/fs-resolve-parent-path.git"},"bugs":{"url":"https://github.com/stdlib-js/stdlib/issues"},"dependencies":{"@stdlib/assert-has-own-property":"^0.2.1","@stdlib/assert-is-function":"^0.2.1","@stdlib/assert-is-plain-object":"^0.2.1","@stdlib/assert-is-string":"^0.2.1","@stdlib/fs-exists":"^0.2.1","@stdlib/process-cwd":"^0.2.1","@stdlib/string-format":"^0.2.1","@stdlib/utils-define-nonenumerable-read-only-property":"^0.2.1"},"devDependencies":{},"engines":{"node":">=0.10.0","npm":">2.7.0"},"os":["aix","darwin","freebsd","linux","macos","openbsd","sunos","win32","windows"],"keywords":["stdlib","stdfs","fs","resolve","parent","path","async","sync","file","directory","dir","find","up","findup","find-up","upsearch","search","lookup","look-up","locate","walk","filesystem"],"funding":{"type":"opencollective","url":"https://opencollective.com/stdlib"},"gitHead":"39b81766b9d8a5e89ba4a26e5ea07f6413b46973","_id":"@stdlib/fs-resolve-parent-path@0.2.1","_nodeVersion":"16.20.2","_npmVersion":"8.19.4","dist":{"shasum":"7c236a0f93ca8ca14456d72a87fec178486a4829","size":11511,"noattachment":false,"key":"/@stdlib/fs-resolve-parent-path/-/@stdlib/fs-resolve-parent-path-0.2.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/@stdlib/fs-resolve-parent-path/download/@stdlib/fs-resolve-parent-path-0.2.1.tgz"},"_npmUser":{"name":"stdlib-bot","email":"kgryte+stdlibbot@gmail.com"},"maintainers":[{"name":"kgryte","email":"kgryte@gmail.com"},{"name":"planeshifter","email":"pgb@andrew.cmu.edu"},{"name":"rreusser","email":"rsreusser@gmail.com"},{"name":"stdlib-bot","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/fs-resolve-parent-path_0.2.1_1708565558692_0.38099843951809254"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2024-02-22T01:32:38.891Z","publish_time":1708565558891,"_source_registry_name":"default","_cnpm_publish_time":1708565558891},"0.2.0":{"name":"@stdlib/fs-resolve-parent-path","version":"0.2.0","description":"Resolve a path by walking parent directories.","license":"Apache-2.0","author":{"name":"The Stdlib Authors","url":"https://github.com/stdlib-js/stdlib/graphs/contributors"},"contributors":[{"name":"The Stdlib Authors","url":"https://github.com/stdlib-js/stdlib/graphs/contributors"}],"main":"./lib","directories":{"benchmark":"./benchmark","doc":"./docs","example":"./examples","lib":"./lib","test":"./test"},"types":"./docs/types","scripts":{"test":"make test","test-cov":"make test-cov","examples":"make examples","benchmark":"make benchmark"},"homepage":"https://stdlib.io","repository":{"type":"git","url":"git://github.com/stdlib-js/fs-resolve-parent-path.git"},"bugs":{"url":"https://github.com/stdlib-js/stdlib/issues"},"dependencies":{"@stdlib/assert-has-own-property":"^0.1.1","@stdlib/assert-is-function":"^0.2.0","@stdlib/assert-is-plain-object":"^0.2.0","@stdlib/assert-is-string":"^0.2.0","@stdlib/fs-exists":"^0.2.0","@stdlib/process-cwd":"^0.2.0","@stdlib/string-format":"^0.2.0","@stdlib/utils-define-nonenumerable-read-only-property":"^0.2.0"},"devDependencies":{"tape":"git+https://github.com/kgryte/tape.git#fix/globby","proxyquire":"^2.0.0","istanbul":"^0.4.1","tap-min":"git+https://github.com/Planeshifter/tap-min.git"},"engines":{"node":">=0.10.0","npm":">2.7.0"},"os":["aix","darwin","freebsd","linux","macos","openbsd","sunos","win32","windows"],"keywords":["stdlib","stdfs","fs","resolve","parent","path","async","sync","file","directory","dir","find","up","findup","find-up","upsearch","search","lookup","look-up","locate","walk","filesystem"],"funding":{"type":"opencollective","url":"https://opencollective.com/stdlib"},"gitHead":"7137673f0798ef13d7c9fd7becf78e557b1d583b","_id":"@stdlib/fs-resolve-parent-path@0.2.0","_nodeVersion":"16.20.2","_npmVersion":"8.19.4","dist":{"shasum":"40cd8521ecc6efff7595df302d30e394b0564b30","size":11636,"noattachment":false,"key":"/@stdlib/fs-resolve-parent-path/-/@stdlib/fs-resolve-parent-path-0.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@stdlib/fs-resolve-parent-path/download/@stdlib/fs-resolve-parent-path-0.2.0.tgz"},"_npmUser":{"name":"stdlib-bot","email":"kgryte+stdlibbot@gmail.com"},"maintainers":[{"name":"kgryte","email":"kgryte@gmail.com"},{"name":"planeshifter","email":"pgb@andrew.cmu.edu"},{"name":"rreusser","email":"rsreusser@gmail.com"},{"name":"stdlib-bot","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/fs-resolve-parent-path_0.2.0_1707884211448_0.9020341765593656"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2024-02-14T04:16:51.592Z","publish_time":1707884211592,"_source_registry_name":"default","_cnpm_publish_time":1707884211592},"0.1.1":{"name":"@stdlib/fs-resolve-parent-path","version":"0.1.1","description":"Resolve a path by walking parent directories.","license":"Apache-2.0","author":{"name":"The Stdlib Authors","url":"https://github.com/stdlib-js/stdlib/graphs/contributors"},"contributors":[{"name":"The Stdlib Authors","url":"https://github.com/stdlib-js/stdlib/graphs/contributors"}],"main":"./lib","directories":{"benchmark":"./benchmark","doc":"./docs","example":"./examples","lib":"./lib","test":"./test"},"types":"./docs/types","scripts":{"test":"make test","test-cov":"make test-cov","examples":"make examples","benchmark":"make benchmark"},"homepage":"https://stdlib.io","repository":{"type":"git","url":"git://github.com/stdlib-js/fs-resolve-parent-path.git"},"bugs":{"url":"https://github.com/stdlib-js/stdlib/issues"},"dependencies":{"@stdlib/assert-has-own-property":"^0.1.1","@stdlib/assert-is-function":"^0.1.1","@stdlib/assert-is-plain-object":"^0.1.1","@stdlib/assert-is-string":"^0.1.1","@stdlib/fs-exists":"^0.1.1","@stdlib/process-cwd":"^0.1.1","@stdlib/string-format":"^0.1.1","@stdlib/utils-define-nonenumerable-read-only-property":"^0.1.1"},"devDependencies":{"tape":"git+https://github.com/kgryte/tape.git#fix/globby","proxyquire":"^2.0.0","istanbul":"^0.4.1","tap-min":"git+https://github.com/Planeshifter/tap-min.git"},"engines":{"node":">=0.10.0","npm":">2.7.0"},"os":["aix","darwin","freebsd","linux","macos","openbsd","sunos","win32","windows"],"keywords":["stdlib","stdfs","fs","resolve","parent","path","async","sync","file","directory","dir","find","up","findup","find-up","upsearch","search","lookup","look-up","locate","walk","filesystem"],"funding":{"type":"opencollective","url":"https://opencollective.com/stdlib"},"gitHead":"836b37cf688bfa381fcb3cb3a2dd327f0a94ad19","_id":"@stdlib/fs-resolve-parent-path@0.1.1","_nodeVersion":"16.20.2","_npmVersion":"8.19.4","dist":{"shasum":"76c97a5fe0820d908d0aed7a53827ef6f317c18d","size":11754,"noattachment":false,"key":"/@stdlib/fs-resolve-parent-path/-/@stdlib/fs-resolve-parent-path-0.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/@stdlib/fs-resolve-parent-path/download/@stdlib/fs-resolve-parent-path-0.1.1.tgz"},"_npmUser":{"name":"stdlib-bot","email":"kgryte+stdlibbot@gmail.com"},"maintainers":[{"name":"kgryte","email":"kgryte@gmail.com"},{"name":"planeshifter","email":"pgb@andrew.cmu.edu"},{"name":"rreusser","email":"rsreusser@gmail.com"},{"name":"stdlib-bot","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/fs-resolve-parent-path_0.1.1_1696377493157_0.9696948501102483"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-10-03T23:58:14.021Z","publish_time":1696377494021,"_source_registry_name":"default","_cnpm_publish_time":1696377494021},"0.1.0":{"name":"@stdlib/fs-resolve-parent-path","version":"0.1.0","description":"Resolve a path by walking parent directories.","license":"Apache-2.0","author":{"name":"The Stdlib Authors","url":"https://github.com/stdlib-js/stdlib/graphs/contributors"},"contributors":[{"name":"The Stdlib Authors","url":"https://github.com/stdlib-js/stdlib/graphs/contributors"}],"main":"./lib","directories":{"benchmark":"./benchmark","doc":"./docs","example":"./examples","lib":"./lib","test":"./test"},"types":"./docs/types","scripts":{"test":"make test","test-cov":"make test-cov","examples":"make examples","benchmark":"make benchmark"},"homepage":"https://stdlib.io","repository":{"type":"git","url":"git://github.com/stdlib-js/fs-resolve-parent-path.git"},"bugs":{"url":"https://github.com/stdlib-js/stdlib/issues"},"dependencies":{"@stdlib/assert-has-own-property":"^0.1.0","@stdlib/assert-is-function":"^0.1.0","@stdlib/assert-is-plain-object":"^0.1.0","@stdlib/assert-is-string":"^0.1.0","@stdlib/fs-exists":"^0.1.0","@stdlib/process-cwd":"^0.1.0","@stdlib/string-format":"^0.1.0","@stdlib/utils-define-nonenumerable-read-only-property":"^0.1.0"},"devDependencies":{"tape":"git+https://github.com/kgryte/tape.git#fix/globby","proxyquire":"^2.0.0","istanbul":"^0.4.1","tap-min":"git+https://github.com/Planeshifter/tap-min.git"},"engines":{"node":">=0.10.0","npm":">2.7.0"},"os":["aix","darwin","freebsd","linux","macos","openbsd","sunos","win32","windows"],"keywords":["stdlib","stdfs","fs","resolve","parent","path","async","sync","file","directory","dir","find","up","findup","find-up","upsearch","search","lookup","look-up","locate","walk","filesystem"],"funding":{"type":"opencollective","url":"https://opencollective.com/stdlib"},"gitHead":"41f86d99cbb03d63f33b26b5a608ebc8703e045f","_id":"@stdlib/fs-resolve-parent-path@0.1.0","_nodeVersion":"16.20.2","_npmVersion":"8.19.4","dist":{"shasum":"c42a93a46624009417e5b2b15ab667a7c37e447b","size":11753,"noattachment":false,"key":"/@stdlib/fs-resolve-parent-path/-/@stdlib/fs-resolve-parent-path-0.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@stdlib/fs-resolve-parent-path/download/@stdlib/fs-resolve-parent-path-0.1.0.tgz"},"_npmUser":{"name":"stdlib-bot","email":"kgryte+stdlibbot@gmail.com"},"maintainers":[{"name":"kgryte","email":"kgryte@gmail.com"},{"name":"planeshifter","email":"pgb@andrew.cmu.edu"},{"name":"rreusser","email":"rsreusser@gmail.com"},{"name":"stdlib-bot","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/fs-resolve-parent-path_0.1.0_1695421247463_0.8025060967700957"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-09-22T22:20:47.641Z","publish_time":1695421247641,"_source_registry_name":"default","_cnpm_publish_time":1695421247641},"0.0.8":{"name":"@stdlib/fs-resolve-parent-path","version":"0.0.8","description":"Resolve a path by walking parent directories.","license":"Apache-2.0","author":{"name":"The Stdlib Authors","url":"https://github.com/stdlib-js/stdlib/graphs/contributors"},"contributors":[{"name":"The Stdlib Authors","url":"https://github.com/stdlib-js/stdlib/graphs/contributors"}],"bin":{"resolve-parent-path":"bin/cli"},"main":"./lib","directories":{"benchmark":"./benchmark","doc":"./docs","example":"./examples","lib":"./lib","test":"./test"},"types":"./docs/types","scripts":{"test":"make test","test-cov":"make test-cov","examples":"make examples","benchmark":"make benchmark"},"homepage":"https://stdlib.io","repository":{"type":"git","url":"git://github.com/stdlib-js/fs-resolve-parent-path.git"},"bugs":{"url":"https://github.com/stdlib-js/stdlib/issues"},"dependencies":{"@stdlib/assert-has-own-property":"^0.0.x","@stdlib/assert-is-function":"^0.0.x","@stdlib/assert-is-plain-object":"^0.0.x","@stdlib/assert-is-string":"^0.0.x","@stdlib/cli-ctor":"^0.0.x","@stdlib/fs-exists":"^0.0.x","@stdlib/fs-read-file":"^0.0.x","@stdlib/process-cwd":"^0.0.x","@stdlib/utils-define-nonenumerable-read-only-property":"^0.0.x"},"devDependencies":{"@stdlib/assert-is-absolute-path":"^0.0.x","@stdlib/assert-is-browser":"^0.0.x","@stdlib/assert-is-windows":"^0.0.x","@stdlib/bench":"^0.0.x","@stdlib/process-exec-path":"^0.0.x","@stdlib/string-replace":"^0.0.x","@stdlib/utils-noop":"^0.0.x","tape":"git+https://github.com/kgryte/tape.git#fix/globby","proxyquire":"^2.0.0","istanbul":"^0.4.1","tap-spec":"5.x.x"},"engines":{"node":">=0.10.0","npm":">2.7.0"},"os":["aix","darwin","freebsd","linux","macos","openbsd","sunos","win32","windows"],"keywords":["stdlib","stdfs","fs","resolve","parent","path","async","sync","file","directory","dir","find","up","findup","find-up","upsearch","search","lookup","look-up","locate","walk","filesystem"],"funding":{"type":"patreon","url":"https://www.patreon.com/athan"},"gitHead":"3d2404008b48ff14d340275a8a2a5c01b8bda2de","_id":"@stdlib/fs-resolve-parent-path@0.0.8","_nodeVersion":"16.13.2","_npmVersion":"8.1.2","dist":{"shasum":"628119952dfaae78afe3916dca856408a4f5c1eb","size":12779,"noattachment":false,"key":"/@stdlib/fs-resolve-parent-path/-/@stdlib/fs-resolve-parent-path-0.0.8.tgz","tarball":"http://registry.cnpm.dingdandao.com/@stdlib/fs-resolve-parent-path/download/@stdlib/fs-resolve-parent-path-0.0.8.tgz"},"_npmUser":{"name":"stdlib-bot","email":"kgryte@gmail.com"},"maintainers":[{"name":"kgryte","email":"kgryte@gmail.com"},{"name":"planeshifter","email":"pgb@andrew.cmu.edu"},{"name":"rreusser","email":"rsreusser@gmail.com"},{"name":"stdlib-bot","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/fs-resolve-parent-path_0.0.8_1645039594247_0.8473764047602246"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-02-16T19:26:43.139Z","publish_time":1645039594388,"_cnpm_publish_time":1645039594388},"0.0.7":{"name":"@stdlib/fs-resolve-parent-path","version":"0.0.7","description":"Resolve a path by walking parent directories.","license":"Apache-2.0","author":{"name":"The Stdlib Authors","url":"https://github.com/stdlib-js/stdlib/graphs/contributors"},"contributors":[{"name":"The Stdlib Authors","url":"https://github.com/stdlib-js/stdlib/graphs/contributors"}],"bin":{"resolve-parent-path":"bin/cli"},"main":"./lib","directories":{"benchmark":"./benchmark","doc":"./docs","example":"./examples","lib":"./lib","test":"./test"},"types":"./docs/types","scripts":{"test":"make test","test-cov":"make test-cov","examples":"make examples","benchmark":"make benchmark"},"homepage":"https://stdlib.io","repository":{"type":"git","url":"git://github.com/stdlib-js/fs-resolve-parent-path.git"},"bugs":{"url":"https://github.com/stdlib-js/stdlib/issues"},"dependencies":{"@stdlib/assert-has-own-property":"^0.0.x","@stdlib/assert-is-function":"^0.0.x","@stdlib/assert-is-plain-object":"^0.0.x","@stdlib/assert-is-string":"^0.0.x","@stdlib/cli-ctor":"^0.0.x","@stdlib/fs-exists":"^0.0.x","@stdlib/fs-read-file":"^0.0.x","@stdlib/process-cwd":"^0.0.x","@stdlib/utils-define-nonenumerable-read-only-property":"^0.0.x"},"devDependencies":{"@stdlib/assert-is-absolute-path":"^0.0.x","@stdlib/assert-is-browser":"^0.0.x","@stdlib/assert-is-windows":"^0.0.x","@stdlib/bench":"^0.0.x","@stdlib/process-exec-path":"^0.0.x","@stdlib/string-replace":"^0.0.x","@stdlib/utils-noop":"^0.0.x","tape":"git+https://github.com/kgryte/tape.git#fix/globby","proxyquire":"^2.0.0","istanbul":"^0.4.1","tap-spec":"5.x.x"},"engines":{"node":">=0.10.0","npm":">2.7.0"},"os":["aix","darwin","freebsd","linux","macos","openbsd","sunos","win32","windows"],"keywords":["stdlib","stdfs","fs","resolve","parent","path","async","sync","file","directory","dir","find","up","findup","find-up","upsearch","search","lookup","look-up","locate","walk","filesystem"],"funding":{"type":"patreon","url":"https://www.patreon.com/athan"},"gitHead":"8271bbb35fdffaba21a59f7d4834a3952d31894f","_id":"@stdlib/fs-resolve-parent-path@0.0.7","_nodeVersion":"16.7.0","_npmVersion":"7.20.3","dist":{"shasum":"bfb71406b5a2f62db3b11627c89ab93c05362ec0","size":12499,"noattachment":false,"key":"/@stdlib/fs-resolve-parent-path/-/@stdlib/fs-resolve-parent-path-0.0.7.tgz","tarball":"http://registry.cnpm.dingdandao.com/@stdlib/fs-resolve-parent-path/download/@stdlib/fs-resolve-parent-path-0.0.7.tgz"},"_npmUser":{"name":"stdlib-bot","email":"kgryte@gmail.com"},"maintainers":[{"name":"kgryte","email":"kgryte@gmail.com"},{"name":"planeshifter","email":"pgb@andrew.cmu.edu"},{"name":"rreusser","email":"rsreusser@gmail.com"},{"name":"stdlib-bot","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/fs-resolve-parent-path_0.0.7_1629684966053_0.8660551715432583"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2021-12-19T02:14:07.738Z","publish_time":1629684966240,"_cnpm_publish_time":1629684966240},"0.0.6":{"name":"@stdlib/fs-resolve-parent-path","version":"0.0.6","description":"Resolve a path by walking parent directories.","license":"Apache-2.0","author":{"name":"The Stdlib Authors","url":"https://github.com/stdlib-js/stdlib/graphs/contributors"},"contributors":[{"name":"The Stdlib Authors","url":"https://github.com/stdlib-js/stdlib/graphs/contributors"}],"bin":{"resolve-parent-path":"bin/cli"},"main":"./lib","directories":{"benchmark":"./benchmark","bin":"./bin","doc":"./docs","example":"./examples","lib":"./lib","test":"./test"},"types":"./docs/types","scripts":{"test":"make test","test-cov":"make test-cov","examples":"make examples","benchmark":"make benchmark"},"homepage":"https://stdlib.io","repository":{"type":"git","url":"git://github.com/stdlib-js/fs-resolve-parent-path.git"},"bugs":{"url":"https://github.com/stdlib-js/stdlib/issues"},"dependencies":{"@stdlib/assert-has-own-property":"^0.0.x","@stdlib/assert-is-function":"^0.0.x","@stdlib/assert-is-plain-object":"^0.0.x","@stdlib/assert-is-string":"^0.0.x","@stdlib/cli-ctor":"^0.0.x","@stdlib/fs-exists":"^0.0.x","@stdlib/fs-read-file":"^0.0.x","@stdlib/process-cwd":"^0.0.x","@stdlib/utils-define-nonenumerable-read-only-property":"^0.0.x"},"devDependencies":{"@stdlib/assert-is-absolute-path":"^0.0.x","@stdlib/assert-is-browser":"^0.0.x","@stdlib/assert-is-windows":"^0.0.x","@stdlib/bench":"^0.0.x","@stdlib/process-exec-path":"^0.0.x","@stdlib/string-replace":"^0.0.x","@stdlib/utils-noop":"^0.0.x","tape":"git+https://github.com/kgryte/tape.git#fix/globby","proxyquire":"^2.0.0","istanbul":"^0.4.1","tap-spec":"5.x.x"},"engines":{"node":">=0.10.0","npm":">2.7.0"},"os":["aix","darwin","freebsd","linux","macos","openbsd","sunos","win32","windows"],"keywords":["stdlib","stdfs","fs","resolve","parent","path","async","sync","file","directory","dir","find","up","findup","find-up","upsearch","search","lookup","look-up","locate","walk","filesystem"],"funding":{"type":"patreon","url":"https://www.patreon.com/athan"},"gitHead":"07eb3f2b8fd47c804f52e6d99dc36396bd17c1da","_id":"@stdlib/fs-resolve-parent-path@0.0.6","_nodeVersion":"15.14.0","_npmVersion":"7.7.6","dist":{"shasum":"7d99f9c06fcb9dbb805af336ff05b26a32e5ff6b","size":12597,"noattachment":false,"key":"/@stdlib/fs-resolve-parent-path/-/@stdlib/fs-resolve-parent-path-0.0.6.tgz","tarball":"http://registry.cnpm.dingdandao.com/@stdlib/fs-resolve-parent-path/download/@stdlib/fs-resolve-parent-path-0.0.6.tgz"},"_npmUser":{"name":"stdlib-bot","email":"kgryte@gmail.com"},"maintainers":[{"name":"kgryte","email":"kgryte@gmail.com"},{"name":"planeshifter","email":"pgb@andrew.cmu.edu"},{"name":"rreusser","email":"rsreusser@gmail.com"},{"name":"stdlib-bot","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/fs-resolve-parent-path_0.0.6_1625872322597_0.11716849620193548"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2021-12-19T02:14:06.088Z","publish_time":1625872322813,"_cnpm_publish_time":1625872322813},"0.0.5":{"name":"@stdlib/fs-resolve-parent-path","version":"0.0.5","description":"Resolve a path by walking parent directories.","license":"Apache-2.0","author":{"name":"The Stdlib Authors","url":"https://github.com/stdlib-js/stdlib/graphs/contributors"},"contributors":[{"name":"The Stdlib Authors","url":"https://github.com/stdlib-js/stdlib/graphs/contributors"}],"bin":{"resolve-parent-path":"bin/cli"},"main":"./lib","directories":{"benchmark":"./benchmark","bin":"./bin","doc":"./docs","example":"./examples","lib":"./lib","test":"./test"},"types":"./docs/types","scripts":{"test":"make test","test-cov":"make test-cov","examples":"make examples","benchmark":"make benchmark"},"homepage":"https://stdlib.io","repository":{"type":"git","url":"git://github.com/stdlib-js/fs-resolve-parent-path.git"},"bugs":{"url":"https://github.com/stdlib-js/stdlib/issues"},"dependencies":{"@stdlib/assert-has-own-property":"^0.0.x","@stdlib/assert-is-function":"^0.0.x","@stdlib/assert-is-plain-object":"^0.0.x","@stdlib/assert-is-string":"^0.0.x","@stdlib/cli-ctor":"^0.0.x","@stdlib/fs-exists":"^0.0.x","@stdlib/fs-read-file":"^0.0.x","@stdlib/process-cwd":"^0.0.x","@stdlib/utils-define-nonenumerable-read-only-property":"^0.0.x"},"devDependencies":{"@stdlib/assert-is-absolute-path":"^0.0.x","@stdlib/assert-is-browser":"^0.0.x","@stdlib/assert-is-windows":"^0.0.x","@stdlib/bench":"^0.0.x","@stdlib/process-exec-path":"^0.0.x","@stdlib/string-replace":"^0.0.x","@stdlib/utils-noop":"^0.0.x","tape":"git+https://github.com/kgryte/tape.git#fix/globby","proxyquire":"^2.0.0","istanbul":"^0.4.1","tap-spec":"5.x.x"},"engines":{"node":">=0.10.0","npm":">2.7.0"},"os":["aix","darwin","freebsd","linux","macos","openbsd","sunos","win32","windows"],"keywords":["stdlib","stdfs","fs","resolve","parent","path","async","sync","file","directory","dir","find","up","findup","find-up","upsearch","search","lookup","look-up","locate","walk","filesystem"],"funding":{"type":"patreon","url":"https://www.patreon.com/athan"},"gitHead":"d5b2979e8ac90c1018620de81cbbcfcab0ff5b5d","_id":"@stdlib/fs-resolve-parent-path@0.0.5","_nodeVersion":"15.14.0","_npmVersion":"7.7.6","dist":{"shasum":"5dd57fec255105e36e1f58ee60cead70da4aa5da","size":12597,"noattachment":false,"key":"/@stdlib/fs-resolve-parent-path/-/@stdlib/fs-resolve-parent-path-0.0.5.tgz","tarball":"http://registry.cnpm.dingdandao.com/@stdlib/fs-resolve-parent-path/download/@stdlib/fs-resolve-parent-path-0.0.5.tgz"},"_npmUser":{"name":"stdlib-bot","email":"kgryte@gmail.com"},"maintainers":[{"name":"kgryte","email":"kgryte@gmail.com"},{"name":"planeshifter","email":"pgb@andrew.cmu.edu"},{"name":"rreusser","email":"rsreusser@gmail.com"},{"name":"stdlib-bot","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/fs-resolve-parent-path_0.0.5_1625615559532_0.9942392205720598"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2021-12-19T02:14:04.435Z","publish_time":1625615559683,"_cnpm_publish_time":1625615559683},"0.0.4":{"name":"@stdlib/fs-resolve-parent-path","version":"0.0.4","description":"Resolve a path by walking parent directories.","license":"Apache-2.0","author":{"name":"The Stdlib Authors","url":"https://github.com/stdlib-js/stdlib/graphs/contributors"},"contributors":[{"name":"The Stdlib Authors","url":"https://github.com/stdlib-js/stdlib/graphs/contributors"}],"bin":{"resolve-parent-path":"bin/cli"},"main":"./lib","directories":{"benchmark":"./benchmark","bin":"./bin","doc":"./docs","example":"./examples","lib":"./lib","test":"./test"},"types":"./docs/types","scripts":{"test":"make test","test-cov":"make test-cov","examples":"make examples","benchmark":"make benchmark"},"homepage":"https://stdlib.io","repository":{"type":"git","url":"git://github.com/stdlib-js/fs-resolve-parent-path.git"},"bugs":{"url":"https://github.com/stdlib-js/stdlib/issues"},"dependencies":{"@stdlib/assert-has-own-property":"^0.0.x","@stdlib/assert-is-function":"^0.0.x","@stdlib/assert-is-plain-object":"^0.0.x","@stdlib/assert-is-string":"^0.0.x","@stdlib/cli":"^0.0.x","@stdlib/fs-exists":"^0.0.x","@stdlib/fs-read-file":"^0.0.x","@stdlib/process-cwd":"^0.0.x","@stdlib/utils-define-nonenumerable-read-only-property":"^0.0.x"},"devDependencies":{"@stdlib/assert-is-absolute-path":"^0.0.x","@stdlib/assert-is-browser":"^0.0.x","@stdlib/assert-is-windows":"^0.0.x","@stdlib/bench":"^0.0.x","@stdlib/process-exec-path":"^0.0.x","@stdlib/string-replace":"^0.0.x","@stdlib/utils-noop":"^0.0.x","tape":"git+https://github.com/kgryte/tape.git#fix/globby","proxyquire":"^2.0.0","istanbul":"^0.4.1","tap-spec":"5.x.x"},"engines":{"node":">=0.10.0","npm":">2.7.0"},"os":["aix","darwin","freebsd","linux","macos","openbsd","sunos","win32","windows"],"keywords":["stdlib","stdfs","fs","resolve","parent","path","async","sync","file","directory","dir","find","up","findup","find-up","upsearch","search","lookup","look-up","locate","walk","filesystem"],"funding":{"type":"patreon","url":"https://www.patreon.com/athan"},"gitHead":"b2d9e129054d160bc74e48b864f2ab68dc58d8bd","_id":"@stdlib/fs-resolve-parent-path@0.0.4","_nodeVersion":"15.14.0","_npmVersion":"7.7.6","dist":{"shasum":"1d97715f6c1fa39292d2d18f13a1251a1d7b8b42","size":12593,"noattachment":false,"key":"/@stdlib/fs-resolve-parent-path/-/@stdlib/fs-resolve-parent-path-0.0.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/@stdlib/fs-resolve-parent-path/download/@stdlib/fs-resolve-parent-path-0.0.4.tgz"},"_npmUser":{"name":"stdlib-bot","email":"kgryte@gmail.com"},"maintainers":[{"name":"kgryte","email":"kgryte@gmail.com"},{"name":"planeshifter","email":"pgb@andrew.cmu.edu"},{"name":"rreusser","email":"rsreusser@gmail.com"},{"name":"stdlib-bot","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/fs-resolve-parent-path_0.0.4_1624831905337_0.9831603657329953"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2021-12-19T02:14:02.811Z","publish_time":1624831905448,"_cnpm_publish_time":1624831905448},"0.0.3":{"name":"@stdlib/fs-resolve-parent-path","version":"0.0.3","description":"Resolve a path by walking parent directories.","license":"Apache-2.0","author":{"name":"The Stdlib Authors","url":"https://github.com/stdlib-js/stdlib/graphs/contributors"},"contributors":[{"name":"The Stdlib Authors","url":"https://github.com/stdlib-js/stdlib/graphs/contributors"}],"bin":{"resolve-parent-path":"bin/cli"},"main":"./lib","directories":{"benchmark":"./benchmark","bin":"./bin","doc":"./docs","example":"./examples","lib":"./lib","test":"./test"},"types":"./docs/types","scripts":{"test":"make test","test-cov":"make test-cov","examples":"make examples","benchmark":"make benchmark"},"homepage":"https://github.com/stdlib-js/stdlib","repository":{"type":"git","url":"git://github.com/stdlib-js/fs-resolve-parent-path.git"},"bugs":{"url":"https://github.com/stdlib-js/stdlib/issues"},"dependencies":{"@stdlib/assert-has-own-property":"^0.0.x","@stdlib/assert-is-function":"^0.0.x","@stdlib/assert-is-plain-object":"^0.0.x","@stdlib/assert-is-string":"^0.0.x","@stdlib/cli":"^0.0.x","@stdlib/fs-exists":"^0.0.x","@stdlib/fs-read-file":"^0.0.x","@stdlib/process-cwd":"^0.0.x","@stdlib/utils-define-nonenumerable-read-only-property":"^0.0.x"},"devDependencies":{"@stdlib/assert-is-absolute-path":"^0.0.x","@stdlib/assert-is-browser":"^0.0.x","@stdlib/assert-is-windows":"^0.0.x","@stdlib/bench":"^0.0.x","@stdlib/process-exec-path":"^0.0.x","@stdlib/string-replace":"^0.0.x","@stdlib/utils-noop":"^0.0.x","tape":"git+https://github.com/kgryte/tape.git#fix/globby","proxyquire":"^2.0.0","istanbul":"^0.4.1","tap-spec":"5.x.x"},"engines":{"node":">=0.10.0","npm":">2.7.0"},"os":["aix","darwin","freebsd","linux","macos","openbsd","sunos","win32","windows"],"keywords":["stdlib","stdfs","fs","resolve","parent","path","async","sync","file","directory","dir","find","up","findup","find-up","upsearch","search","lookup","look-up","locate","walk","filesystem"],"funding":{"type":"patreon","url":"https://www.patreon.com/athan"},"gitHead":"691472c8990c816bb571cacfb1071ba198a26ce5","_id":"@stdlib/fs-resolve-parent-path@0.0.3","_nodeVersion":"15.14.0","_npmVersion":"7.7.6","dist":{"shasum":"26c94024f2658142f74c2176e760f4be5d05c531","size":12531,"noattachment":false,"key":"/@stdlib/fs-resolve-parent-path/-/@stdlib/fs-resolve-parent-path-0.0.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/@stdlib/fs-resolve-parent-path/download/@stdlib/fs-resolve-parent-path-0.0.3.tgz"},"_npmUser":{"name":"stdlib-bot","email":"kgryte@gmail.com"},"maintainers":[{"name":"kgryte","email":"kgryte@gmail.com"},{"name":"planeshifter","email":"pgb@andrew.cmu.edu"},{"name":"rreusser","email":"rsreusser@gmail.com"},{"name":"stdlib-bot","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/fs-resolve-parent-path_0.0.3_1623816186569_0.06462804539584033"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2021-12-19T02:14:01.133Z","publish_time":1623816186706,"_cnpm_publish_time":1623816186706},"0.0.2":{"name":"@stdlib/fs-resolve-parent-path","version":"0.0.2","description":"Resolve a path by walking parent directories.","license":"Apache-2.0","author":{"name":"The Stdlib Authors","url":"https://github.com/stdlib-js/stdlib/graphs/contributors"},"contributors":[{"name":"The Stdlib Authors","url":"https://github.com/stdlib-js/stdlib/graphs/contributors"}],"bin":{"resolve-parent-path":"bin/cli"},"main":"./lib","directories":{"benchmark":"./benchmark","bin":"./bin","doc":"./docs","example":"./examples","lib":"./lib","test":"./test"},"types":"./docs/types","scripts":{"test":"make test","test-cov":"make test-cov","examples":"make examples","benchmark":"make benchmark"},"homepage":"https://github.com/stdlib-js/stdlib","repository":{"type":"git","url":"git://github.com/stdlib-js/fs-resolve-parent-path.git"},"bugs":{"url":"https://github.com/stdlib-js/stdlib/issues"},"dependencies":{"@stdlib/assert-has-own-property":"^0.0.x","@stdlib/assert-is-function":"^0.0.x","@stdlib/assert-is-plain-object":"^0.0.x","@stdlib/assert-is-string":"^0.0.x","@stdlib/cli":"^0.0.x","@stdlib/fs-exists":"^0.0.x","@stdlib/fs-read-file":"^0.0.x","@stdlib/process-cwd":"^0.0.x","@stdlib/utils-define-nonenumerable-read-only-property":"^0.0.x"},"devDependencies":{"@stdlib/assert-is-absolute-path":"^0.0.x","@stdlib/assert-is-browser":"^0.0.x","@stdlib/assert-is-windows":"^0.0.x","@stdlib/bench":"^0.0.x","@stdlib/process-exec-path":"^0.0.x","@stdlib/string-replace":"^0.0.x","@stdlib/utils-noop":"^0.0.x","tape":"git+https://github.com/kgryte/tape.git#fix/globby","istanbul":"^0.4.1","tap-spec":"5.x.x"},"engines":{"node":">=0.10.0","npm":">2.7.0"},"os":["aix","darwin","freebsd","linux","macos","openbsd","sunos","win32","windows"],"keywords":["stdlib","stdfs","fs","resolve","parent","path","async","sync","file","directory","dir","find","up","findup","find-up","upsearch","search","lookup","look-up","locate","walk","filesystem"],"funding":{"type":"patreon","url":"https://www.patreon.com/athan"},"gitHead":"89c8d57672ee3203d3d13ae795ef6d3413d70bfd","_id":"@stdlib/fs-resolve-parent-path@0.0.2","_nodeVersion":"15.14.0","_npmVersion":"7.7.6","dist":{"shasum":"50640a6f7785e95b2a38cc995dd02c0cef03b889","size":15108,"noattachment":false,"key":"/@stdlib/fs-resolve-parent-path/-/@stdlib/fs-resolve-parent-path-0.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/@stdlib/fs-resolve-parent-path/download/@stdlib/fs-resolve-parent-path-0.0.2.tgz"},"_npmUser":{"name":"stdlib-bot","email":"kgryte@gmail.com"},"maintainers":[{"name":"kgryte","email":"kgryte@gmail.com"},{"name":"planeshifter","email":"pgb@andrew.cmu.edu"},{"name":"rreusser","email":"rsreusser@gmail.com"},{"name":"stdlib-bot","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/fs-resolve-parent-path_0.0.2_1623768578518_0.6639491346057951"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2021-12-19T02:13:59.495Z","publish_time":1623768578723,"_cnpm_publish_time":1623768578723},"0.0.1":{"name":"@stdlib/fs-resolve-parent-path","version":"0.0.1","description":"Resolve a path by walking parent directories.","license":"Apache-2.0","author":{"name":"The Stdlib Authors","url":"https://github.com/stdlib-js/stdlib/graphs/contributors"},"contributors":[{"name":"The Stdlib Authors","url":"https://github.com/stdlib-js/stdlib/graphs/contributors"}],"bin":{"resolve-parent-path":"bin/cli"},"main":"./lib","directories":{"benchmark":"./benchmark","bin":"./bin","doc":"./docs","example":"./examples","lib":"./lib","test":"./test"},"types":"./docs/types","scripts":{"test":"make test","test-cov":"make test-cov","examples":"make examples"},"homepage":"https://github.com/stdlib-js/stdlib","repository":{"type":"git","url":"git://github.com/stdlib-js/fs-resolve-parent-path.git"},"bugs":{"url":"https://github.com/stdlib-js/stdlib/issues"},"dependencies":{"@stdlib/assert-has-own-property":"^0.0.x","@stdlib/assert-is-function":"^0.0.x","@stdlib/assert-is-plain-object":"^0.0.x","@stdlib/assert-is-string":"^0.0.x","@stdlib/cli":"^0.0.x","@stdlib/fs-exists":"^0.0.x","@stdlib/fs-read-file":"^0.0.x","@stdlib/process-cwd":"^0.0.x","@stdlib/utils-define-nonenumerable-read-only-property":"^0.0.x"},"devDependencies":{"@stdlib/assert-is-absolute-path":"^0.0.x","@stdlib/assert-is-browser":"^0.0.x","@stdlib/assert-is-windows":"^0.0.x","@stdlib/bench":"^0.0.x","@stdlib/process-exec-path":"^0.0.x","@stdlib/string-replace":"^0.0.x","@stdlib/utils-noop":"^0.0.x","tape":"git+https://github.com/kgryte/tape.git#fix/globby","istanbul":"^0.4.1","tap-spec":"5.x.x"},"engines":{"node":">=0.10.0","npm":">2.7.0"},"os":["aix","darwin","freebsd","linux","macos","openbsd","sunos","win32","windows"],"keywords":["stdlib","stdfs","fs","resolve","parent","path","async","sync","file","directory","dir","find","up","findup","find-up","upsearch","search","lookup","look-up","locate","walk","filesystem"],"funding":{"type":"patreon","url":"https://www.patreon.com/athan"},"gitHead":"a9dc5d0ff67444bba1edfc0974861e538163c726","_id":"@stdlib/fs-resolve-parent-path@0.0.1","_nodeVersion":"14.17.0","_npmVersion":"6.14.13","dist":{"shasum":"38a5d604c5077e5e61fdb9219131e64195600c31","size":15170,"noattachment":false,"key":"/@stdlib/fs-resolve-parent-path/-/@stdlib/fs-resolve-parent-path-0.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/@stdlib/fs-resolve-parent-path/download/@stdlib/fs-resolve-parent-path-0.0.1.tgz"},"_npmUser":{"name":"stdlib-bot","email":"kgryte@gmail.com"},"maintainers":[{"name":"kgryte","email":"kgryte@gmail.com"},{"name":"planeshifter","email":"pgb@andrew.cmu.edu"},{"name":"rreusser","email":"rsreusser@gmail.com"},{"name":"stdlib-bot","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/fs-resolve-parent-path_0.0.1_1623691493621_0.2757314327453311"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2021-12-19T02:13:57.864Z","publish_time":1623691494043,"_cnpm_publish_time":1623691494043}},"readme":"<!--\n\n@license Apache-2.0\n\nCopyright (c) 2018 The Stdlib Authors.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n   http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\n-->\n\n\n<details>\n  <summary>\n    About stdlib...\n  </summary>\n  <p>We believe in a future in which the web is a preferred environment for numerical computation. To help realize this future, we've built stdlib. stdlib is a standard library, with an emphasis on numerical and scientific computation, written in JavaScript (and C) for execution in browsers and in Node.js.</p>\n  <p>The library is fully decomposable, being architected in such a way that you can swap out and mix and match APIs and functionality to cater to your exact preferences and use cases.</p>\n  <p>When you use stdlib, you can be absolutely certain that you are using the most thorough, rigorous, well-written, studied, documented, tested, measured, and high-quality code out there.</p>\n  <p>To join us in bringing numerical computing to the web, get started by checking us out on <a href=\"https://github.com/stdlib-js/stdlib\">GitHub</a>, and please consider <a href=\"https://opencollective.com/stdlib\">financially supporting stdlib</a>. We greatly appreciate your continued support!</p>\n</details>\n\n# Resolve Parent Path\n\n[![NPM version][npm-image]][npm-url] [![Build Status][test-image]][test-url] [![Coverage Status][coverage-image]][coverage-url] <!-- [![dependencies][dependencies-image]][dependencies-url] -->\n\n> Resolve a path by walking parent directories.\n\n<section class=\"installation\">\n\n## Installation\n\n```bash\nnpm install @stdlib/fs-resolve-parent-path\n```\n\n</section>\n\n<section class=\"usage\">\n\n## Usage\n\n```javascript\nvar resolveParentPath = require( '@stdlib/fs-resolve-parent-path' );\n```\n\n<a name=\"resolve-parent-path\"></a>\n\n#### resolveParentPath( path\\[, options], clbk )\n\nAsynchronously resolves a path by walking parent directories.\n\n```javascript\nresolveParentPath( 'package.json', onPath );\n\nfunction onPath( error, path ) {\n    if ( error ) {\n        throw error;\n    }\n    console.log( path );\n    // => '...'\n}\n```\n\nThe function accepts the following `options`:\n\n-   **dir**: base directory from which to begin walking. May be either an absolute path or a path relative to the current working directory.\n\nBy default, the function begins walking from the current working directory. To specify an alternative directory, set the `dir` option.\n\n```javascript\nvar opts = {\n    'dir': __dirname\n};\nresolveParentPath( 'package.json', opts, onPath );\n\nfunction onPath( error, path ) {\n    if ( error ) {\n        throw error;\n    }\n    console.log( path );\n    // => '...'\n}\n```\n\n#### resolveParentPath.sync( path\\[, options] )\n\nSynchronously resolves a path by walking parent directories.\n\n```javascript\nvar path = resolveParentPath.sync( 'package.json' );\n// returns '...'\n```\n\nThe function accepts the same `options` as [`resolveParentPath()`](#resolve-parent-path).\n\n</section>\n\n<!-- /.usage -->\n\n<section class=\"notes\">\n\n## Notes\n\n-   If unable to resolve a path, both functions return `null`.\n-   This implementation is **not** similar in functionality to core [`path.resolve`][node-core-path-resolve]. The latter performs string manipulation to generate a full path. This implementation walks parent directories to perform a **search**, thereby touching the file system. Accordingly, this implementation resolves a _real_ absolute file path and is intended for use when a target's location in a parent directory is unknown relative to a child directory; e.g., when wanting to find a package root from deep within a package directory.\n\n</section>\n\n<!-- /.notes -->\n\n<section class=\"examples\">\n\n## Examples\n\n<!-- eslint no-undef: \"error\" -->\n\n```javascript\nvar resolveParentPath = require( '@stdlib/fs-resolve-parent-path' );\n\nvar opts = {\n    'dir': __dirname\n};\n\n/* Sync */\n\nvar out = resolveParentPath.sync( 'package.json', opts );\n// returns '...'\n\nout = resolveParentPath.sync( 'non_existent_basename' );\n// returns null\n\n/* Async */\n\nresolveParentPath( 'package.json', opts, onPath );\nresolveParentPath( './../non_existent_path', onPath );\n\nfunction onPath( error, path ) {\n    if ( error ) {\n        throw error;\n    }\n    console.log( path );\n}\n```\n\n</section>\n\n<!-- /.examples -->\n\n\n\n<!-- Section for related `stdlib` packages. Do not manually edit this section, as it is automatically populated. -->\n\n<section class=\"related\">\n\n## See Also\n\n-   <span class=\"package-name\">[`@stdlib/fs-resolve-parent-path-cli`][@stdlib/fs-resolve-parent-path-cli]</span><span class=\"delimiter\">: </span><span class=\"description\">CLI package for use as a command-line utility.</span>\n-   <span class=\"package-name\">[`@stdlib/fs-resolve-parent-path-by`][@stdlib/fs/resolve-parent-path-by]</span><span class=\"delimiter\">: </span><span class=\"description\">resolve a path according to a predicate function by walking parent directories.</span>\n\n</section>\n\n<!-- /.related -->\n\n<!-- Section for all links. Make sure to keep an empty line after the `section` element and another before the `/section` close. -->\n\n\n<section class=\"main-repo\" >\n\n* * *\n\n## Notice\n\nThis package is part of [stdlib][stdlib], a standard library for JavaScript and Node.js, with an emphasis on numerical and scientific computing. The library provides a collection of robust, high performance libraries for mathematics, statistics, streams, utilities, and more.\n\nFor more information on the project, filing bug reports and feature requests, and guidance on how to develop [stdlib][stdlib], see the main project [repository][stdlib].\n\n#### Community\n\n[![Chat][chat-image]][chat-url]\n\n---\n\n## License\n\nSee [LICENSE][stdlib-license].\n\n\n## Copyright\n\nCopyright &copy; 2016-2026. The Stdlib [Authors][stdlib-authors].\n\n</section>\n\n<!-- /.stdlib -->\n\n<!-- Section for all links. Make sure to keep an empty line after the `section` element and another before the `/section` close. -->\n\n<section class=\"links\">\n\n[@stdlib/fs-resolve-parent-path-cli]: https://www.npmjs.com/package/@stdlib/fs-resolve-parent-path-cli\n\n[npm-image]: http://img.shields.io/npm/v/@stdlib/fs-resolve-parent-path.svg\n[npm-url]: https://npmjs.org/package/@stdlib/fs-resolve-parent-path\n\n[test-image]: https://github.com/stdlib-js/fs-resolve-parent-path/actions/workflows/test.yml/badge.svg?branch=v0.2.3\n[test-url]: https://github.com/stdlib-js/fs-resolve-parent-path/actions/workflows/test.yml?query=branch:v0.2.3\n\n[coverage-image]: https://img.shields.io/codecov/c/github/stdlib-js/fs-resolve-parent-path/main.svg\n[coverage-url]: https://codecov.io/github/stdlib-js/fs-resolve-parent-path?branch=main\n\n<!--\n\n[dependencies-image]: https://img.shields.io/david/stdlib-js/fs-resolve-parent-path.svg\n[dependencies-url]: https://david-dm.org/stdlib-js/fs-resolve-parent-path/main\n\n-->\n\n[chat-image]: https://img.shields.io/badge/zulip-join_chat-brightgreen.svg\n[chat-url]: https://stdlib.zulipchat.com\n\n[stdlib]: https://github.com/stdlib-js/stdlib\n\n[stdlib-authors]: https://github.com/stdlib-js/stdlib/graphs/contributors\n\n[cli-section]: https://github.com/stdlib-js/fs-resolve-parent-path#cli\n[cli-url]: https://github.com/stdlib-js/fs-resolve-parent-path/tree/cli\n[@stdlib/fs-resolve-parent-path]: https://github.com/stdlib-js/fs-resolve-parent-path/tree/main\n\n[umd]: https://github.com/umdjs/umd\n[es-module]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Modules\n\n[deno-url]: https://github.com/stdlib-js/fs-resolve-parent-path/tree/deno\n[deno-readme]: https://github.com/stdlib-js/fs-resolve-parent-path/blob/deno/README.md\n[umd-url]: https://github.com/stdlib-js/fs-resolve-parent-path/tree/umd\n[umd-readme]: https://github.com/stdlib-js/fs-resolve-parent-path/blob/umd/README.md\n[esm-url]: https://github.com/stdlib-js/fs-resolve-parent-path/tree/esm\n[esm-readme]: https://github.com/stdlib-js/fs-resolve-parent-path/blob/esm/README.md\n[branches-url]: https://github.com/stdlib-js/fs-resolve-parent-path/blob/main/branches.md\n\n[stdlib-license]: https://raw.githubusercontent.com/stdlib-js/fs-resolve-parent-path/main/LICENSE\n\n[node-core-path-resolve]: https://nodejs.org/api/path.html#path_path_resolve_paths\n\n<!-- <related-links> -->\n\n[@stdlib/fs/resolve-parent-path-by]: https://www.npmjs.com/package/@stdlib/fs-resolve-parent-path-by\n\n<!-- </related-links> -->\n\n</section>\n\n<!-- /.links -->\n","_attachments":{},"homepage":"https://stdlib.io","bugs":{"url":"https://github.com/stdlib-js/stdlib/issues"},"license":"Apache-2.0"}