A test suite and interface you can use to implement a IPFS core interface.
github.com/ipfs/js-ipfs/tree/master/packages/interface-ipfs-core
ipfs/js-ipfs