3.0.1 • Published 6 months ago
@libp2p/http-fetch v3.0.1
@libp2p/http-fetch
libp2p-compatible implementation of the fetch API
About
This is an implementation of the fetch API that uses libp2p streams as the underlying transport layer, instead of a TCP socket.
Install
$ npm i @libp2p/http-fetchBrowser <script> tag
Loading this module through a script tag will make its exports available as Libp2pHttpFetch in the global namespace.
<script src="https://unpkg.com/@libp2p/http-fetch/dist/index.min.js"></script>API Docs
License
Licensed under either of
- Apache 2.0, (LICENSE-APACHE / http://www.apache.org/licenses/LICENSE-2.0)
- MIT (LICENSE-MIT / http://opensource.org/licenses/MIT)
Contribution
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.