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

How to check if IPFS is online #8

Open
micheldejoode opened this issue Mar 12, 2018 · 2 comments
Open

How to check if IPFS is online #8

micheldejoode opened this issue Mar 12, 2018 · 2 comments

Comments

@micheldejoode
Copy link

Hi, thanks for this great library! I have a question, I want to do a check if IPFS is online, before I give a command like "cat". In the full IPFS.js there is ipfs.isOnline, but this is not available in this library. Is there another way to check? Of do I have to just do for example a "cat" command, and see if it gives an error?

@SilentCicero
Copy link
Owner

SilentCicero commented Mar 12, 2018 via email

@micheldejoode
Copy link
Author

Ok thanks, I will look at it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants