Skip to content
This repository has been archived by the owner on May 7, 2024. It is now read-only.

docs: add fetch-file-from-kubo example #12

Merged
merged 16 commits into from
Oct 18, 2022
Merged

docs: add fetch-file-from-kubo example #12

merged 16 commits into from
Oct 18, 2022

Conversation

MarcoPolo
Copy link
Contributor

Add example code to connect to Kubo and fetch a block over bitswap.

@achingbrain achingbrain changed the title Add fetch-file-from-kubo example docs: add fetch-file-from-kubo example Oct 14, 2022
@achingbrain
Copy link
Member

This looks helpful, I wonder if a test could be added in the same way we test the js-ipfs-examples repo - see this one for a really simple one that tests a vite app.

examples/fetch-file-from-kubo/.gitignore Show resolved Hide resolved
examples/fetch-file-from-kubo/package.json Outdated Show resolved Hide resolved
examples/fetch-file-from-kubo/tsconfig.json Show resolved Hide resolved
examples/fetch-file-from-kubo/package.json Outdated Show resolved Hide resolved
examples/fetch-file-from-kubo/src/libp2p.ts Outdated Show resolved Hide resolved
MarcoPolo and others added 2 commits October 17, 2022 11:52
Co-authored-by: Alex Potsides <alex@achingbrain.net>
Co-authored-by: Alex Potsides <alex@achingbrain.net>
@MarcoPolo MarcoPolo merged commit 4a8f2f3 into main Oct 18, 2022
@MarcoPolo MarcoPolo deleted the marco/examples branch October 18, 2022 13:15
github-actions bot pushed a commit that referenced this pull request Oct 18, 2022
## [1.0.3](v1.0.2...v1.0.3) (2022-10-18)

### Documentation

* add fetch-file-from-kubo example ([#12](#12)) ([4a8f2f3](4a8f2f3))
@github-actions
Copy link

🎉 This PR is included in version 1.0.3 🎉

The release is available on:

Your semantic-release bot 📦🚀

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

Successfully merging this pull request may close these issues.

2 participants