Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add utility methods to check if the path exists #37

Closed
sindresorhus opened this issue Apr 19, 2019 · 3 comments · Fixed by #41
Closed

Add utility methods to check if the path exists #37

sindresorhus opened this issue Apr 19, 2019 · 3 comments · Fixed by #41
Labels
enhancement 🎁 Rewarded on Issuehunt This issue has been rewarded on Issuehunt help wanted

Comments

@sindresorhus
Copy link
Owner

sindresorhus commented Apr 19, 2019

Issuehunt badges

This will be useful for #28.

I'm thinking findUp.exists() and findUp.sync.exists().

We already depend on https://github.com/sindresorhus/path-exists further down in the dependency tree, so we can just depend on that here without any added weight.

Should be tested and added to the readme and TS definition.


IssueHunt Summary

tiagodanin tiagodanin has been rewarded.

Sponsors (Total: $60.00)

Tips

@IssueHuntBot
Copy link

@IssueHunt has funded $60.00 to this issue.


@coreyfarrell
Copy link
Contributor

Should this expose locate-path instead of path-exists? I ask since the new version supports checking for specific types of files and path-exists is no longer a dependency (not that it's a large dependency).

@issuehunt-oss issuehunt-oss bot added 🎁 Rewarded on Issuehunt This issue has been rewarded on Issuehunt and removed 💵 Funded on Issuehunt This issue has been funded on Issuehunt labels Jun 17, 2019
@issuehunt-oss
Copy link

issuehunt-oss bot commented Jun 17, 2019

@sindresorhus has rewarded $54.00 to @TiagoDanin. See it on IssueHunt

  • 💰 Total deposit: $60.00
  • 🎉 Repository reward(0%): $0.00
  • 🔧 Service fee(10%): $6.00

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement 🎁 Rewarded on Issuehunt This issue has been rewarded on Issuehunt help wanted
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants