go-ipfs-wrapper
This helps to execute go-ipfs in javascript.
Install
This is available through npm.
npm install go-ipfs-wrapper --save
Usage
To execute go-ipfs,
; ; ipfs.on'start',console.log'go-ipfs is started!';ipfs.on'error',console.errorerr;ipfs.on'exit',console.log`exit go-ipfs with code ` ipfs.run;
To interact with go-ipfs, use js-ipfs-api. Even you already use js-ipfs module, you can easily change to go-ipfs since the interface for interacting with go-ipfs or js-ipfs in javascript is the same.
;; ; ipfs.on'start',;
License
MIT