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

feat: Expose ipfs utils and add an example on how to run ipfs in the browser #525

Closed
wants to merge 1 commit into from

Commits on Dec 19, 2016

  1. Expose Buffer on ipfs objects, add examples

    This lets you construct a Buffer even in browser code that doesn't have access to the Node Buffer global, so that you can pass it back to IPFS API calls that want a Buffer.
    
    Add some usage documentation
    
    Mentions the `ipfs.Buffer` field you can use to stamp out `Buffer`s so you can actually insert stuff given just an `IPFS` instance and no Node.js APIs in scope.
    
    Also add examples for using IPFS in browser with a script tag, and for using libp2p-webrtc-star.
    interfect committed Dec 19, 2016
    Configuration menu
    Copy the full SHA
    ff2069a View commit details
    Browse the repository at this point in the history